[ipv6calc] support of GeoIP implemented

Peter Bieringer pb at bieringer.de
Mon Aug 7 20:46:08 CEST 2006


Hi,

as result of a rainy Sunday afternoon, ipv6calc got now also GeoIP support.

Unfortunately, GeoIP still doesn't support in their databases, but
anyway, for IPv4 it's working (like IP2Location).

here an example:

$ ./ipv6calc/ipv6calc -m -i 195.**** -g /path/to/GeoLiteCity.dat
IPV4=195.*****
IPV4_REGISTRY=RIPENCC
GEOIP_COUNTRY_SHORT=DE
GEOIP_REGION=02
GEOIP_CITY=Muenchen
GEOIP_LATITUDE=48.150002
GEOIP_LONGITUDE=11.583300
GEOIP_DMACODE=0
GEOIP_AREACODE=0
GEOIP_DATABASE_INFO=GEO-533LITE 20060801 Build 1 Copyright (c) 2006
MaxMind LLC All Rights Reserved���
IPV6CALC_NAME=ipv6calc
IPV6CALC_VERSION=0.61.0cvs
IPV6CALC_COPYRIGHT="(P) & (C) 2001-2006 by Peter Bieringer <pb (at)
bieringer.de>"

ipv6calcweb.cgi was also extended.

Currently, the changes are only in CVS, but I plan to release 0.61.0 in
a week or so.


Like IP2Location support it can be enabled using
	configure --enable-geoip

Happy testing.

	Peter
-- 
Dr. Peter Bieringer                     http://www.bieringer.de/pb/
GPG/PGP Key 0x958F422D                       mailto:pb at bieringer.de
Deep Space 6 Co-Founder and Core Member  http://www.deepspace6.net/



More information about the ipv6calc mailing list