[mod-security-users] GEO:COUNTRY_CODE returns an empty string
Brought to you by:
victorhora,
zimmerletw
|
From: Juan P. T. <jt...@co...> - 2019-03-05 02:01:18
|
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 |