Ben Aitchison wrote: > > For instance, I want to figure out what country an AS number is in, without > doing mass whois querys. > > Like for instance: > % whois -h whois.apnic.net AS9800 > > Will tell me that that AS number is in China. I'd like to be able to (say) > block all of China from accessing my SMTP port for instance. > > I've got a BGP dump of prefixes to AS numbers, so that I can figure out > what IP subnets belong to which AS number.
Heheh, that reminds me of when I wanted to find a way to determine which IP's were local (NZ) and which were international. After Waikato stopped issuing the router dumps, I gave up... :( Adrian