TCP sniffer

Hello,

Is there any way to look at what is being sent/received over the network by an application? I am building a web service and it's client, and I would like to see exactly what they are sending and receiving over the wire with something outside of visual studio.

Thanks a lot

[299 byte] By [JoaquínRaya] at [2008-2-24]
# 1

You can use any sniffing tool, if your machine is part of a domain in a connected network, you can easily add the component of the Network admin tool that is included in the Windows Server. Else, you can use:
http://www.ethereal.com/
http://www.winpcap.org/windump/default.htm

You can monitor the network and filter the results according to your needs.

Also, you can enable the tracing of the web service, logging in the web service from the web server "IIS". Many tools you can use it.

Huh, another idea! try to use local proxy. For example, Paros. Try to Google it!

Think of it as you're hacking your web site! lol

GEEK at 2007-9-4 > top of Msdn Tech,.NET Development,Building Development and Diagnostic Tools for .Net...
# 2
Thank you. I hoped there was something more developer-oriented than those, but it's a lot of help anyways. Have fun!
JoaquínRaya at 2007-9-4 > top of Msdn Tech,.NET Development,Building Development and Diagnostic Tools for .Net...
# 3

Microsoft also has a tool called Network Monitor. It used to ship as part of Systems Management Server and a non-promiscuous-mode (can only capture traffic to and from the local machine) shipped with Windows Server 2003, as the previous post mentions. The team has recently released version 3.0. It's available at https://connect.microsoft.com/site/sitehome.aspx?SiteID=216.

Kind Regards,
Jon Langdon

JonLangdon-MSFT at 2007-9-4 > top of Msdn Tech,.NET Development,Building Development and Diagnostic Tools for .Net...
# 4

The development method for such cases depends on you. You can dump all incoming/outgoing data to a log file "or Windows Event Viewer if you like". Not this only, you can use the Microsoft Enterprise Library (v2.0) Logging Block which i admit that it is very practical and helpful. It has a configurable log levels, centralized logging, and easily you can request tracing for web services.

You can download it from here:

http://www.microsoft.com/downloads/details.aspx?FamilyId=24F61845-E56C-42D6-BBD5-29F0D5CD7F65&displaylang=en

Take your first step to go through it right here:

http://www.codeproject.com/dotnet/GetStartedLoggingBlock.asp?df=100&forumid=135788&exp=0&select=1016071

Using both methods from both sides is the best thing to go with!

GEEK at 2007-9-4 > top of Msdn Tech,.NET Development,Building Development and Diagnostic Tools for .Net...

.NET Development

Site Classified