Documentation: Clarify dynamic module ABI compatibility with distribution-patched NGINX packages
I maintainer di solito rispondono entro 1 giorno
@airween ci sta già lavorando.
Dal 25/11/2026.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
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!
- Lingua principale
- Perl
- Stelle
- 1.9k
- Fork
- 312
- Merge medio
- 2g 22h
- PR unite (30g)
- 4
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di owasp-modsecurity/ModSecurity-nginx
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
owasp-modsecurity/ModSecurity-nginx#418 ·
I maintainer di solito rispondono entro 1 giorno
-
Possible dereference of NullAperta:1st_place_medal: good first issue enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
owasp-modsecurity/ModSecurity-nginx#359 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Relative Location response header is seen by the rules, nginx sends it absoluteForse già presa @fzipi l’ha presa oggi. Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
owasp-modsecurity/ModSecurity-nginx#422 ·
I maintainer di solito rispondono entro 1 giorno
-
Transfer-Encoding and Connection response headers seen by the rules don't match the chunked filter'sForse già presa @fzipi l’ha presa oggi. Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 22/100
owasp-modsecurity/ModSecurity-nginx#420 ·
I maintainer di solito rispondono entro 1 giorno
-
Connection response header is seen by the rules on HTTP/2 responsesForse già presa @fzipi l’ha presa oggi. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 25/100
owasp-modsecurity/ModSecurity-nginx#415 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di owasp-modsecurity/ModSecurity-nginx
Issue simili
-
fix(rodex): sent mail loses the last character of title and bodyForse già presa @baphomello l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
inverse-inc/packetfence#9768 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
metacpan/metacpan-api#1534 ·