[COLUG] Blocking Korean IPs

Chesley A Windon windon at windon.net
Wed Dec 1 16:20:13 EST 2004


On Wed, 1 Dec 2004, Aaron Howard wrote:

> Someone had asked how to determine what IP ranges belonged to what
> region.  I'll put a disclaimer on this: I consider myself
> fair-to-middlin' at this stuff.  There are probably much better ways to
> do this that I just don't know about.

Why not use the IANA published list? Make a local copy and grep out all of 
the APNIC allocated IP space. Actually, this should be fairly trivial to 
automate so that you're always running with a pseudo-current list. You 
shouldn't have to update your list but once every quarter, if that.

IPv4
http://www.iana.org/assignments/ipv4-address-space

IPv6
http://www.iana.org/assignments/ipv6-address-space

Chesley



More information about the colug mailing list