GEO:COUNTRY_CODE returns an empty string
Juan Pablo Tosso <[email protected]>
| Newsgroups | gmane.comp.apache.mod-security.user |
|---|---|
| Message-ID | <CACXkxwUT4WbO8UmGJQ5FXi48Cm903V0vgGd9kzvdBySNE7Yj6A@mail.gmail.com> |
Hello, I have been trying to use geoip without success, I've tried with legacy format and new format, and updated databases. This is the current code: SecGeoLookupDb /mnt/nginx/defaults/geoip/geoip.mmdb SecRule GEO:COUNTRY_CODE "CL" "id:111,deny,log,logdata:'test',phase:1" I'm using modsecurity 3 in it's master branch with the nginx connector (master) and Nginx 1.15.9 I have also tried to print the value with tx but I receive a null value. Thank you _______________________________________________ mod-security-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mod-security-users Commercial ModSecurity Rules and Support from Trustwave's SpiderLabs: http://www.modsecurity.org/projects/commercial/rules/ http://www.modsecurity.org/projects/commercial/support/