Monitoring outgoing web requests

Paul Rubin http
Fri May 30 15:32:20 EDT 2003


"Chris Rennert" <Chris.Rennert at mdi-oshkosh.com> writes:
> I am a network administrator and would like to get into using Python for
> scripting programs that I could use on the job.  One project I would like to
> do is monitor all outgoing web requests (port 80) and record their
> destination address in a text file.
> I don't want someone to feel they have to write it for me I just would like
> to be pointed in the right direction.  I am currently reading through the
> chapter on Socket programming in Programming Python.
> Any help you guys could give me would be greatly appreciated.
> thanks in advance,

Actually Python probably isn't a great choice for this.

Normally you would set up a proxy web server that all your browsers
would be directed through, and then just use the proxy logs.  Squid
(www.squid-cache.org) is the best-known one.




More information about the Python-list mailing list