You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+16-6Lines changed: 16 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -75,15 +75,25 @@ Windows build information can be found [here](build/win32/README.md).
75
75
76
76
## Dependencies
77
77
78
-
This library is written in C++ using the C++17 standards. It also uses Flex
79
-
and Yacc to produce the “Sec Rules Language” parser. Other, mandatory dependencies include YAJL, as ModSecurity uses JSON for producing logs and its testing framework, libpcre (not yet mandatory) for processing regular expressions in SecRules, and libXML2 (not yet mandatory) which is used for parsing XML requests.
78
+
This library is written in C++ using the C++17 standard.
80
79
81
-
All others dependencies are related to operators specified within SecRules or configuration directives and may not be required for compilation. A short list of such dependencies is as follows:
80
+
The following dependencies are used to build libModSecurity:
82
81
83
-
* libinjection is needed for the operator @detectXSS and @detectSQL
84
-
* curl is needed for the directive SecRemoteRules.
82
+
* Flex and Yacc to produce the “Sec Rules Language” parser.
83
+
* YAJL, as ModSecurity uses JSON for producing logs and its testing framework.
84
+
* PCRE or PCRE2 for processing regular expressions in SecRules.
85
+
* libinjection for the operators [@detectXSS](../../wiki/Reference-Manual-(v3.x)#detectxss) and [@detectSQL](../../wiki/Reference-Manual-(v3.x)#detectsqli).
If those libraries are missing ModSecurity will be compiled without the support for the operator @detectXSS and the configuration directive SecRemoteRules.
88
+
All others dependencies are related to operators specified within SecRules or configuration directives and may not be required for compilation. If those libraries are missing ModSecurity will be compiled without the support for the associated operator or configuration directive.
89
+
90
+
A short list of such dependencies is as follows:
91
+
92
+
* libXML2 which for parsing XML requests.
93
+
* curl is needed for the directive [SecRemoteRules](../../wiki/Reference-Manual-(v3.x)#user-content-SecRemoteRules).
94
+
* LUA is needed for the directive [SecRuleScript](../../wiki/Reference-Manual-(v3.x)#secrulescript).
95
+
* GeoIP/MaxMind to perform geolocation lookups using operator [geoLookup](../../wiki/Reference-Manual-(v3.x)%29#geolookup)
96
+
* ssdeep is needed for the operator [fuzzyHash](../../wiki/Reference-Manual-(v3.x)%29#fuzzyhash).
0 commit comments