API

IP Geolocation now on dedicated domain

Since our geolocation database and API became very popular recently, I decided to put all the tools on a new domain :

ipinfodb.com

Also, the forums are now with PHPBB which is much much better than drupal forums module on blogama.org ;)

Feel free to post your comments about the new site in the ipinfodb forums, negative or positive!

Online fraud detection API

I created a small API for an e-store I manage (Portafixe.com) that calculate the distance between the shipping/billing location and the IP location for fraud prevention. Now i'm making it available to the public for free.

Deny or allow countries with Apache htaccess

The following script is using blogama.org IP geolocation API to automatically generate Apache htaccess file to deny or allow specific countries. You can put this script under crontab and the htaccess rules will be automatically updated. Also, it can update multiple htaccess files.

Blocking IP address of any country with iptables

In this howto, I will show you how to automatically create iptables rules to block all connection from one country or more. The blocklist is created with an API I wrote and you can use wget to update the blocklist monthly.

IP address city geolocation HTTP API

How to use our HTTP API to get ip geolocation information such as country, city, region, zipcode (US-CA), latitude and longitude. We offer 2 type of output, xml and CVS.