tclgeoip: GeoIP TCL extension
12th September 2006
GeoIP is a technology developed by MaxMind for geographical and organisational lookup of IP addresses and hostnames. Maxmind provides an LGPL licensed API written in C. The API pulls the data from database files. MaxMind gets its income by selling updated at frequent time intervals.
Many packages have been built on top of the C API to allow GeoIP calls from different languages, like PHP (frequently used in CMS’s) and even an Apache module.
I wrote a TCL extension on top of this C API. It has been accepted by MaxMind and is sitting here. It currently compiles without tweaking on Solaris systems. There will be an update soon to make it compile on most other UNIX system automagically.
Note that you need Tcl dev files and the GeoIP C API to compile this.
Posted in Linux, tclgeoip | 2 Comments »