Main Page | Data Structures | File List | Data Fields | Globals

IP-GEO (libipg)

1.0

Overview

IP-GEO is a simple C library designed to perform geo-targeting of IPv4 addresses. It allows the application programmer to add geo-targeting functionality to his or her network and network security tools. For example, a simple traceroute client (included in the libipg distribution) was written using libnet, libpcap, and libipg:

Sample libipg application

[rounder:Projects/libipg/sample] root# ./trig -ien0 -Crs 4.2.2.2 ../../IP-COUNTRY-REGION-CITY-ISP-FULL/IP-COUNTRY-REGION-CITY-ISP.CSV Trig 1.0 [geo-targeting traceroute scanner] 01: 10.50.144.1 - - PRIVATE IP ADDRESS LAN 02: 10.50.2.1 - - PRIVATE IP ADDRESS LAN 03: 12.124.32.37 US - AT&T WORLDNET SERVICES 04: 12.123.12.190 US NEW YORK AT&T WORLDNET SERVICES 05: 12.122.11.77 US NEW JERSEY AT&T WORLDNET SERVICES 06: 12.123.13.190 US NEW YORK AT&T WORLDNET SERVICES 07: 192.205.32.206 US TENNESSEE AT&T BELL LABORATORIES 08: 209.244.3.137 US - LEVEL 3 COMMUNICATIONS INC 09: 64.159.4.74 US CALIFORNIA LEVEL 3 COMMUNICATIONS INC 10: 4.24.9.142 EG AL QAHIRAH GENUITY 11: 4.2.2.2 US RHODE ISLAND GENUITY
IP-GEO is built on top of the IP2LOCATION database which is sold seperately (sorry).

Disclaimer

We're still in beta mode.
Generated on Wed Dec 31 12:06:49 2003 for libipg by doxygen 1.3.4