Name: Anonymous 2010-06-29 3:35
I have 1123629205 bytes of logs on my server.
I was wondering, what would be a decent script to run a rDNS request on each of these IPs, with a 3 second timeout, then sort them into a list of different extensions?
For example, if I want to find where any .gov, .mil, and .edu addresses are connecting to and from, what would be the best way to do this?
My logs are like this:
THEIR.IPv4.IP.HERE MYDOMAIN.TLD [29/Jun/2010:07:30:50 +0000] "GET /somethinglol HTTP/1.1" 301 0 "http://referrer.tld/" "useragent"
Thanks in advance.
I was wondering, what would be a decent script to run a rDNS request on each of these IPs, with a 3 second timeout, then sort them into a list of different extensions?
For example, if I want to find where any .gov, .mil, and .edu addresses are connecting to and from, what would be the best way to do this?
My logs are like this:
THEIR.IPv4.IP.HERE MYDOMAIN.TLD [29/Jun/2010:07:30:50 +0000] "GET /somethinglol HTTP/1.1" 301 0 "http://referrer.tld/" "useragent"
Thanks in advance.