In news:1164063783.615429.207170@h54g2000cwb.googlegroups.com,
samalex <samalex.RemoveThis@gmail.com> wrote:
> We run a Citrix server with a web frontend (NFuse), and my boss asked
> if I could get a list of companies and locations for folks who are
> hitting the server. I have a list of about 500 IP addresses, and
> though I can identify blocks as being local ISP's, the other 200+
> aren't as easily recognized. I can do a whois on them and get this
> info, but anyone know of a quicker way or script in Linux or Windows
> that can process all the IP's and give me a list of who each of them
> are?
http://www.jdrowell.com/archives/2000/01/new_home_for_jd.html has a very
useful Perl script called jdresolve that will even recurse into C, B, and A
address spaces when there is no PTR record for an IP address, e.g.:
jdresolve -a -r -n apache.log > apache.log_resolved
and then use any number of freely-available log analyzers to parse the
apache.log_resolved file (or ftp, whatever) and see how many times each
company has "hit" the site. It can maintain a local database to minimize the
amount of DNS queries if optioned.