Security Basics mailing list archives
Re: Country to IP range list
From: Erik Norgaard <norgaard () locolomo org>
Date: Mon, 10 Jan 2005 11:16:09 +0100
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.plwhich 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
Current thread:
- Determining Physical location of machines, (continued)
- Determining Physical location of machines Kevin Willock (Jan 07)
- Re: Determining Physical location of machines (satellites) Michael Puchol (Jan 10)
- RE: Country to IP range list David Gillett (Jan 07)
- Re: Country to IP range list Erik Norgaard (Jan 07)
- Re: Country to IP range list chip (Jan 10)
- RE: Country to IP range list Dennis Cox (Jan 07)
- RE: Country to IP range list Bill Gallagher (Jan 07)
- RE: Country to IP range list Andres Martinez (Jan 07)
- Re: Country to IP range list P. Schmiel (Jan 10)
- RE: Country to IP range list Luis Lopez Sanchez (Jan 10)
- Re: Country to IP range list Erik Norgaard (Jan 10)
- Determining Physical location of machines Kevin Willock (Jan 07)