Update README
This commit is contained in:
parent
d9c104c731
commit
13ef026003
9
README
9
README
|
@ -3,13 +3,14 @@ It's based on data provided by AFRINIC, ARIN, APNIC, LACNIC and RIPENCC organisa
|
||||||
|
|
||||||
!!! These data are updated every day, so iptogeo must be recompiled every day to be up to date !!!
|
!!! 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
|
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.
|
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.
|
interactive mode allowing command line queries.
|
||||||
|
|
||||||
To compile it :
|
To compile it :
|
||||||
|
@ -18,6 +19,6 @@ To compile it :
|
||||||
|
|
||||||
Makefile flags :
|
Makefile flags :
|
||||||
* DEBUG=1 to compile in debug mode
|
* 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
|
More information can be found at http://indefero.soutade.fr/p/iptogeo
|
||||||
|
|
|
@ -194,13 +194,6 @@ def get_interval(root, intervals, level):
|
||||||
new_intervals.append(ip)
|
new_intervals.append(ip)
|
||||||
return new_intervals
|
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):
|
def print_interval(interval):
|
||||||
p = '['
|
p = '['
|
||||||
for i in interval:
|
for i in interval:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user