Go to file
2016-02-24 19:17:40 +01:00
data Add force_ip_data rule to data Makefile 2016-02-24 19:17:40 +01:00
src Rework Makefile dependencies 2016-02-24 19:17:40 +01:00
tests Add coherency tests 2016-02-24 19:17:40 +01:00
LICENCE Add Licence information 2016-02-17 18:15:04 +01:00
Makefile Add close_socket fucntions and rise the scope for mutex for accessing s_last_thread 2016-02-04 20:39:50 +01:00
README Add more seccomp syscalls 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 !!!

It supports bot IPv4 and IPv6 requests.

Be careful : the result is only the assigned IP by a regional regulator, but the end user
may be located in another country. It's the case for ISP that rents IP to differents countries.
iptogeo does not plan to replace big commercial Geo databases on this point.

Two mode are available : server mode which listen for queries on default port 53333 and
interactive mode allowing command line queries.

To compile it :

    make data src

Makefile flags :
  * DEBUG=1 to compile in debug mode
  * USE_SECCOMP=1 to compile with seccomp support

More information can be found at http://indefero.soutade.fr/p/iptogeo