Documentation: Clarify dynamic module ABI compatibility with distribution-patched NGINX packages
Maintainer thường phản hồi trong vòng 1 ngày
@airween đang làm issue này rồi.
Từ ngày 25/11/2026.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Documentation improvement proposal
Hello,
First of all, thank you for maintaining ModSecurity and the NGINX connector.
I recently encountered an ABI compatibility issue while compiling the ModSecurity-nginx dynamic module for a distribution-packaged NGINX installation.
The issue has been resolved, and I would like to suggest a small documentation improvement that could help other administrators avoid similar problems.
Environment
- Ubuntu 26.04.1 LTS (amd64)
- NGINX: 1.28.3-2ubuntu1.14 (Ubuntu package)
- ModSecurity-nginx: v1.0.4
- libmodsecurity: v3.0.17
- OWASP CRS: v4.31.0
- GCC: 15.2.0
Observed behavior
Building the dynamic connector against the original upstream NGINX 1.28.3 sources completed successfully.
The issue was caused by a mismatch between the upstream NGINX headers and the distribution-patched NGINX package.
Rebuilding the connector using the headers and build configuration provided by the exact matching Ubuntu nginx-dev package resolved the problem without changing the connector or libmodsecurity version.
Suggested documentation improvement
The README currently explains that the NGINX source version must match the target NGINX version when building a dynamic module.
It might be helpful to clarify that matching the upstream version number alone does not necessarily guarantee ABI compatibility when using distribution-packaged NGINX binaries.
Suggested wording:
When building a dynamic module for a distribution-packaged NGINX installation, use the corresponding distribution-provided sources or development headers and compatible build configuration. Distribution-specific patches may introduce ABI differences even when the upstream NGINX version number is identical. On Debian and Ubuntu, the matching nginx-dev package may provide the appropriate build environment.
The --with-compat option should not be treated as a guarantee of compatibility across arbitrary changes to internal NGINX structures.
This is intended as a documentation suggestion rather than a bug report against the connector itself.
Thank you!
- Ngôn ngữ chính
- Perl
- Star
- 1.9k
- Fork
- 312
- Merge trung bình
- 2 ngày 22 giờ
- Pull request đã merge (30 ngày)
- 4
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của owasp-modsecurity/ModSecurity-nginx
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
owasp-modsecurity/ModSecurity-nginx#418 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Possible dereference of NullĐang mở:1st_place_medal: good first issue enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
owasp-modsecurity/ModSecurity-nginx#359 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Relative Location response header is seen by the rules, nginx sends it absoluteCó thể đã có người làm @fzipi đã nhận hôm nay. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
owasp-modsecurity/ModSecurity-nginx#422 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Transfer-Encoding and Connection response headers seen by the rules don't match the chunked filter'sCó thể đã có người làm @fzipi đã nhận hôm nay. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 22/100
owasp-modsecurity/ModSecurity-nginx#420 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Connection response header is seen by the rules on HTTP/2 responsesCó thể đã có người làm @fzipi đã nhận hôm nay. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 25/100
owasp-modsecurity/ModSecurity-nginx#415 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của owasp-modsecurity/ModSecurity-nginx
Issue tương tự
-
fix(rodex): sent mail loses the last character of title and bodyCó thể đã có người làm @baphomello đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
inverse-inc/packetfence#9768 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
-
Package Update Update Bot
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
priv-kweihmann/meta-sca#13307 ·