20 Feb
2003
20 Feb
'03
12:04 p.m.
Careful. Many whoisds don't appreciate automated queries & will block YOUR ip address for sometime if you cross their max query rate threshold.
You can use a quick perl wrapper around whois, or you could use this terribly ugly hacked up traceroute-ng that I wrote to do lookups:
http://nms.lcs.mit.edu/software/ron/lookup_as.c
Compile with
gcc -DSTANDALONE=1 lookup_as.c -o lookup_as -lm
And then run. It gets the job done, but it's ugly. :)
-Dave
-- George Bakos Institute for Security Technology Studies Dartmouth College gbakos@ists.dartmouth.edu voice 603-646-0665 fax 603-646-0666 Key fingerprint = D646 8F91 F795 27EC FF8B 8C95 B102 9EB2 081E CB85