Groups | Blog | Home
all groups > dotnet sdk > july 2005 >

dotnet sdk : Capturing all Http traffic


Rick Strahl [MVP]
7/10/2005 4:45:44 PM

I have an application that needs to capture all Http traffic on a specified
port. Basically I need to script various requests and I would like to
capture the raw request data that fires off requests.

I've been searching around and found a few source code Proxy implementations
that 'sort of' let you do this. But after installing and tweaking the code
on these I found that the ones I tried are flakey and don't work
consistently with requests getting dropped and the proxy failing after a
while.

Does anybody have any suggestions for a tool (commercial or otherwise) that
can provide this functionality for a re-distributable application?

What I need is essnetially this:

Specify a port and IP to listen on
Capture all outbound traffic on this port (inbound would be nice, but not
necesasry)
Preferrably it should work with SSL

I know there are a numbe of tools I can use as standalone apps including
Fiddler, but I need something that I can build into my app...

I suppose I can do this myself, but I'd rather not re-invent the wheel
especially given that this is a bit off my speciality <g>...

Any ideas?

TIA,

+++ Rick ---

--

Rick Strahl
West Wind Technologies
www.west-wind.com
www.west-wind.com/weblog

Joerg Jooss
7/12/2005 1:58:43 PM
[quoted text, click to view]

What you need sounds a lot like WinPCap/Ethereal to me, but I guess you
won't want to build that into your managed code application ;-)

Cheers,
--
http://www.joergjooss.de
AddThis Social Bookmark Button