IP geolocation
From thelinuxwiki
primary source for IP address data
wikipedia - Geolocation software
Maxmind Allocation of IP Addresses by Country
ip2location.com
USD $49.00 / Year * FOR SINGLE SERVER
IP-Country Database database table structure
ip_from INT(10) First IP address in netblock. ip_to INT(10) Last IP address in netblock. country_code CHAR(2) Two-character country code based on ISO 3166. country_name VARCHAR(64) Country name based on ISO 3166.
Concern, The DB stucture is first / last IP in netblock. They are IP ranges, which are not efficient for firewalls. If the "netblocks" and be converted to network objects with a mask, then it could be efficiently used in firewall rules.