SharonTools

F5 BIG-IP iRule: GeoLocation and IP Reputation Query

Usage:
http://IP_VIRT/geo?{IPv4_TO_TEST | IPv6_TO_TEST}

Examples:
http://10.100.115.102/geo?8.8.8.8
http://10.100.115.102/geo?199.19.105.220
http://10.100.115.102/geo?2a02:DB8::45

Results:

 

 

 

Code:
https://gist.github.com/ArtiomL/4437466

 

Could not embed GitHub Gist 4437466: Not Found

 

Raw:
https://gist.githubusercontent.com/ArtiomL/4437466/raw/c01eb326566314609e44b3268f4cfe4fcd8ac690/irule_GEO_QUERY.tcl

 

 

 

 

 

 

Exit mobile version