Re: Country to IP range list
From: Erik Norgaard (norgaard_at_locolomo.org)
Date: 01/10/05
- Previous message: Luis Lopez Sanchez: "RE: Country to IP range list"
- In reply to: Luis Lopez Sanchez: "RE: Country to IP range list"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 10 Jan 2005 11:16:09 +0100 To: Luis Lopez Sanchez <luis.lopez@atosorigin.com>
Luis Lopez Sanchez wrote:
> An interesting link about this issue:
>
> http://software77.net/cgi-bin/ip-country/geo-ip.pl
I took a look at the database, it is generated from the delegation lists
published by the regional registries. It doesn't appear like they have
made an effort to adjoin adjacant ranges assigned to the same country.
Meanwhile, I have made my script available here:
www.daemonsecurity.com/src/ip-rules.pl
which adjoins ranges from the same country and outputs it nicely in CIDR
format rather than the decimal number representation used at the site
you refer to.
To use the above script, you need to download the delegation lists from
the regional registries, and note that there is no way of creating
country wise rules for ranges assigned directly by IANA.
Cheers, Erik
-- Ph: +34.666334818 web: www.locolomo.org S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt Subject ID: A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9 Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2
- Previous message: Luis Lopez Sanchez: "RE: Country to IP range list"
- In reply to: Luis Lopez Sanchez: "RE: Country to IP range list"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]