Hi, IP2Location releases a new version of their C-API which supports IPv6. I've updated the API in ipv6calc and after some minor changes, the support is working well. Example: ./ipv6calc -q -i -m --db-ip2location-ipv4 ../databases/IP2Location/IP-COUNTRY-SAMPLE.BIN --db-ip2location-ipv6 ../databases/IP2Location/IPV6-COUNTRY.BIN --db-geoip ../databases/GeoIP/GeoLiteCity.dat 2001:a60:f011::1 Productive IPv6: 2001:a60:f011::1 IPV6=2001:0a60:f011:0000:0000:0000:0000:0001 TYPE=unicast,global-unicast,productive SLA=0000 IPV6_REGISTRY=RIPENCC IID=0000:0000:0000:0001 EUI64_SCOPE=local IP2LOCATION_DATABASE_INFO=url=http://www.ip2location.com date=2006-03-06 entries=5924 apiversion=2.1.0 IP2LOCATION_COUNTRY_SHORT=DE IP2LOCATION_COUNTRY_LONG=GERMANY IP2LOCATION_REGION=This parameter is unavailable for selected data file. Please upgrade the data file. IP2LOCATION_CITY=This parameter is unavailable for selected data file. Please upgrade the data file. IP2LOCATION_ISP=This parameter is unavailable for selected data file. Please upgrade the data file. IP2LOCATION_LATITUDE=0.000000 IP2LOCATION_LONGITUDE=0.000000 IP2LOCATION_DOMAIN=This parameter is unavailable for selected data file. Please upgrade the data file. IP2LOCATION_ZIPCODE=This parameter is unavailable for selected data file. Please upgrade the data file. IPV6CALC_NAME=ipv6calc IPV6CALC_VERSION=0.62.0cvs IPV6CALC_COPYRIGHT="(P) & (C) 2001-2006 by Peter Bieringer <pb (at) bieringer.de>" IPV6CALC_OUTPUT_VERSION=3 As you see, I've renamed the options for the database files. Please run some tests on the current version in CVS, if no problems were reported during next week I will release a new version. Happy testing, Peter -- Dr. Peter Bieringer http://www.bieringer.de/pb/ GPG/PGP Key 0x958F422D mailto:pb@bieringer.de Deep Space 6 Co-Founder and Core Member http://www.deepspace6.net/
participants (1)
-
Peter Bieringer