On Sat, Sep 27, 2008 at 11:20 PM, xbmuncher <[EMAIL PROTECTED]> wrote:
> How can I monitor the HTTP connections my windows xp system makes with
> python?
>
> I'm running a program that makes requests to websites over HTTP, I know this
> by using a program like wireshark. I'd basically like to have a python
> program know when this other program makes these requests and be able to
> save the request data, so I know what it is requesting (to what website).
> Kind of like a mini- wireshark like program but only for HTTP requests.

Why not just set up wireshark with a filter for HTTP requests?
http://www.wireshark.org/docs/wsug_html_chunked/ChCapCaptureFilterSection.html

You could also use a proxy server to log the traffic; several Python
proxy servers are listed here:
http://www.xhaus.com/alan/python/proxies.html

Kent
_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to