1 | iptogeo allows to know which country has a specific IP.␊ |
2 | It's based on data provided by AFRINIC, ARIN, APNIC, LACNIC and RIPENCC organisation.␊ |
3 | ␊ |
4 | !!! These data are updated every day, so iptogeo must be recompiled every day to be up to date !!!␊ |
5 | ␊ |
6 | It supports both IPv4 and IPv6 requests.␊ |
7 | ␊ |
8 | Be careful : the result is only the assigned IP by a regional regulator, but the end user␊ |
9 | may be located in another country. It's the case for ISP that rents IP to differents countries␊ |
10 | or for VPN services.␊ |
11 | iptogeo does not plan to replace big commercial Geo databases on this point.␊ |
12 | ␊ |
13 | Two mode are available : server mode which listen for queries on default port 53333, and␊ |
14 | interactive mode allowing command line queries.␊ |
15 | ␊ |
16 | To compile it :␊ |
17 | ␊ |
18 | make data src␊ |
19 | ␊ |
20 | Makefile flags :␊ |
21 | * DEBUG=1 to compile in debug mode␊ |
22 | * USE_SECCOMP=1 to compile with seccomp support (must be installed)␊ |
23 | ␊ |
24 | More information can be found at http://indefero.soutade.fr/p/iptogeo␊ |