sneak preview - support for db-ip.com datafiles added
Hi, today I finished implementation of support of db-ip.com datafiles. Now 3 location data providers are supported: - IP2Location - GeoIP - db-ip.com While first 2 supplies an API (library) and related datafiles, db-ip.com only provide CSV files ipv6calc contains a tool to generate local Berkeley DB files from that data. check: - README.BUILDING-DBIP - tools/DBIP-update.sh - tools/DBIP-generate-db.pl if everything is working well, following should show up on capability check (aka -vv) $ ipv6calc -vv ipv6calc: version 0.98.0alpha2 GeoIP GeoIPv6 IP2Location IP2Location6 DBIPv4 DBIPv6 DB_AS_REG DB_IPV4_REG DB_IPV6_REG DB_IPV4_AS DB_IPV6_AS DB_IPV4_CC DB_IPV6_CC DB_CC_REG DB_IEEE ANON_ZEROISE ANON_ANONYMIZE ANON_KEEP-TYPE-ASN-CC Capabilities: IP2Location(dyn-load) GeoIP(dyn-load) DBIP DB_AS_REG(BuiltIn) DB_CC_REG(BuiltIn) DB_IPV4_REG(BuiltIn) DB_IPV6_REG(BuiltIn) DB_IEEE(BuiltIn) ... DBIP: features: 0x03000f00 DBIP: info of available databases in directory: /usr/share/DBIP DBIP: IPv4 Country : /usr/share/DBIP/ipv6calc-dbip-country-ipv4.db (DBIP-Country 20140801 Copyright (c) 2014 db-ip.com All Rights Reserved) DBIP: IPv6 Country : /usr/share/DBIP/ipv6calc-dbip-country-ipv6.db (DBIP-Country 20140801 Copyright (c) 2014 db-ip.com All Rights Reserved) DBIP: IPv4 City : /usr/share/DBIP/ipv6calc-dbip-city-ipv4.db (DBIP-City 20140801 Copyright (c) 2014 db-ip.com All Rights Reserved) DBIP: IPv6 City : /usr/share/DBIP/ipv6calc-dbip-city-ipv6.db (DBIP-City 20140801 Copyright (c) 2014 db-ip.com All Rights Reserved) ... Example: http://ip.bieringer.de/ BTW: this support introduced now a generic Berkeley DB support, so next implementation task is the capability to optional replace BuiltIn database contents with newer data from external file and related download and generation tools. Hope this helps, Peter
Am 31.08.2014 18:43, schrieb Peter Bieringer:
Hi,
today I finished implementation of support of db-ip.com datafiles.
Forgot to add: sneak preview is available via CVS (self-compile) or as RPMs for RedHat and Clones and Fedora here: epel5 http://koji.fedoraproject.org/koji/taskinfo?taskID=7496624 epel6 http://koji.fedoraproject.org/koji/taskinfo?taskID=7496628 epel7 http://koji.fedoraproject.org/koji/taskinfo?taskID=7496632 Fedora 19: http://koji.fedoraproject.org/koji/taskinfo?taskID=7496635 Fedora 20 http://koji.fedoraproject.org/koji/taskinfo?taskID=7496647 Fedora 21 http://koji.fedoraproject.org/koji/taskinfo?taskID=7496667 Hope this helps, Peter
participants (1)
-
Peter Bieringer