Djihed Afifi

Archive for the 'tclgeoip' Category

tclgeoip 0.2

15th April 2007

I would like to announce a new version of tclgeoip, the TCL extension for GeoIP.

Amongst the changes in 0.2:

  1. Fixed a segfault when loading databases.
  2. Introduced a new function to check presence of databases (db_avail)
  3. Updated documentation.

Grab the .tar.gz sources here. Also, sources from SVN repository.

A debian package is being cooked.

Posted in Linux, tclgeoip | No Comments »

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 | 3 Comments »