python win32 and COM? for internet monitoring

Matthew Thorley ruach at chpc.utah.edu
Tue Nov 22 11:59:23 EST 2005


Greetings, I have a question I hope some one with more back ground can 
give me a little help with.

I want to write a simple internet monitoring script for windows that 
watches out bound http traffic and keeps a list of all the site visited.

I am thinking that I might be able to use pywin32 and COM to listen on 
open ports (e.g. 80) and watch for http headers. But I'm not sure if 
there is a better way to do it.

I would eventualy like to port this to Mac and Linux, but I figured that 
networking was at a low enough that I would have to do it differently 
for each OS.

Could some one please tell me if I'm way off and point me in the right 
direction?

Thanks very much
--Matthew



More information about the Python-list mailing list