owasp-modsecurity / owasp-modsecurity/ModSecurity
Building ModSecurity Dynamic Module: Should I use ./configure --with-pcre2 for libmodsecurity and Nginx Connector?
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 9.8k
- Forks
- 1.8k
- Avg merge
- 2h 46m
- Merged PRs (30d)
- 1
Description
I am building the Modsecurity module dynamically against Nginx v1.27.2 Mainline, on Ubuntu 22.04. The Ubuntu 22.04 instructions HERE: say to use the configure flag --with-pcre2.
Are these old Instructions?
-
Should I be using the
--with-pcre2configure flag when building LibModsecurity v3.0.13 from https://github.com/owasp-modsecurity/ModSecurity ? -
Secondly, should I be using the
--with-pcre2configure flag when building Modsecurity v3.0.13 from https://github.com/owasp-modsecurity/ModSecurity ? -
Lastly, should I be using the
--with-pcre2configure flag when building the Modsecurity Connector Module v1.0.3 from https://github.com/owasp-modsecurity/ModSecurity-nginx ?
I just want to be sure where and when I should be using the --with-pcre2 flags when attempting to build the module dynamically on Ubunut 22.04.
Thanks for the help.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Ubuntu 22.04 compilation recipe linked in the issue and compare its --with-pcre2 guidance with the build instructions for ModSecurity v3.0.13 and the ModSecurity-nginx connector v1.0.3. Check the configure entry points for libmodsecurity and the connector, then document which component uses the flag and update the relevant instructions if they are outdated.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, nginx, ubuntu
- Domain
- build-system, documentation
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100