Sniffing HTTP traffic
March 30, 2005 12:09 PM
Subscribe
What is the easiest way, in Windows, to sniff the HTTP (and HTTPS) requests and responses back from the server for an application that won't let you tell it to use a proxy?
I have an application that makes HTTP requests and I'd like to find out what they are and what the responses are.
Normally, I'd run HTTPSniffer, a Perl application which acts as a proxy. I'd change the target applications proxy settings to 127.0.0.1:8080 and then all requests and responses would get passed back and forth through this application.
However this target application doesn't allow you to set the proxy and attempts to connect directly to the internet.
This has caused problems. I can't create a proxy locally because when I set Windows (dial-up) proxy settings, it catches the request from the application, passes it to my proxy which promptly attempts to make a connection to the outside world (to pass it on) only to have its own connection caught by Windows and passed back to itself. A loop which means that it ends up crashing.
I've tried setting the Windows proxy to 10.6.26.1 (my network IP) instead of 127.0.0.1 and making the Windows proxy settings ignore connections to the other, but that doesn't work. I've tried it the other way around too, but to no avail.
Is there some simple (and free) application I can install that can do this all easily for me? Or do you know of some way I can find out what this application sends and receives?
posted by ralawrence to computers & internet (9 comments total)
posted by revgeorge at 12:39 PM on March 30, 2005