IP to Geo

IP to Geo Commit Details

Date:2016-03-02 17:36:24 (4 years 5 months ago)
Author:Grégory Soutadé
Branch:master
Commit:13ef026003ab9ec9e97ff8f8ac46a969ab24c6f3
Parents: d9c104c731142c0347c6c476c3c8599410710ef0
Message:Update README

Changes:
MREADME (2 diffs)
Mdata/build_c_array.py (1 diff)

File differences

README
33
44
55
6
6
77
88
9
9
10
1011
1112
12
13
1314
1415
1516
......
1819
1920
2021
21
22
2223
2324
!!! 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.
It supports both 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.
may be located in another country. It's the case for ISP that rents IP to differents countries
or for VPN services.
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
Two mode are available : server mode which listen for queries on default port 53333, and
interactive mode allowing command line queries.
To compile it :
Makefile flags :
* DEBUG=1 to compile in debug mode
* USE_SECCOMP=1 to compile with seccomp support
* USE_SECCOMP=1 to compile with seccomp support (must be installed)
More information can be found at http://indefero.soutade.fr/p/iptogeo
data/build_c_array.py
194194
195195
196196
197
198
199
200
201
202
203
204197
205198
206199
new_intervals.append(ip)
return new_intervals
# 1.5.0.0
# -> 1.5.0.0 .. 1.5.29.0
# -> 1.5.30.0 .. 1.5.30.128
# -> 1.5.30.129 .. 1.5.31.0
# -> 1.5.32.0 .. 1.5.33.0
# -> 1.6.32.0 .. 1.7.0.0
def print_interval(interval):
p = '['
for i in interval:

Archive Download the corresponding diff file

Branches

Tags