iptogeo/README

25 lines
938 B
Plaintext
Raw Normal View History

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