I have Modsecurity setup on IIS and have setup the Geo Lookup rule, I have downloaded the latest database and specified the following rule
SecGeoLookupDb 'GeoDB\GeoLiteCity.dat'
SecRule REMOTE_ADDR "@geoLookup" "chain,id:22,status:403,drop,msg:'Non-GB or IE IP address'"
SecRule GEO:COUNTRY_CODE "!@pm GB IE" "t:none"
However I always get the error - Geo lookup for "IP:port" failed: No such host is known.
The server allows all traffic to pass.
I have tried this for various different IP addresses across the world and I get the same result. Any ideas on how to resolve this would be appreciated.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi All,
I have Modsecurity setup on IIS and have setup the Geo Lookup rule, I have downloaded the latest database and specified the following rule
SecGeoLookupDb 'GeoDB\GeoLiteCity.dat'
SecRule REMOTE_ADDR "@geoLookup" "chain,id:22,status:403,drop,msg:'Non-GB or IE IP address'"
SecRule GEO:COUNTRY_CODE "!@pm GB IE" "t:none"
However I always get the error - Geo lookup for "IP:port" failed: No such host is known.
The server allows all traffic to pass.
I have tried this for various different IP addresses across the world and I get the same result. Any ideas on how to resolve this would be appreciated.