Free Newsletters

   All InfoWorld Newsletters
Strategic Developer | Martin Heller » Wireshark

July 23, 2007 | Comments: (0)

Wireshark

WiresharkWhen I needed a Network Protocol Analyzer last week, I realized that I had recently uninstalled one (I think it was NetSniffer), in a fit of tidiness. It was several years old, and I hadn't used it in over a year, so it seemed reasonable to nuke it at the time. I should have known that deleting it would be the computer equivalent of putting my snow boots away in early spring.

I tried using Fiddler2 to capture Web service traffic, but it couldn't: Fiddler hooks into WinInet, but Microsoft's implementation of Web services in C# and C++ works at a lower level. I thought of the open source Ethereal project, but the latest release was over a year old.

Dave Methvin pointed me at Wireshark, which is the current name for Ethereal: it was renamed in May 2006. Wireshark did indeed show me the Web service traffic I needed to monitor, along with a whole bunch of other network traffic that I didn't care about.

Wireshark depends on the WinPcap driver on Windows. On Linux, where Wireshark comes as a standard package, it hooks into the system drivers. Wireshark isn't the easiest software in the world to learn or use, but it works nicely, and the price is right.

Posted by Martin Heller on July 23, 2007 07:50 AM


RATE THIS ARTICLE:





 

  •  
  • COMMENTS




Wireshark indeed does show you ALL the traffic on the wire, including, for example, all the layer Microsoft proprietary SMB traffic, DNS and DHCP traffic. However, it's easy to filter out everything but what you want to see. For example, if you just want to see HTTP traffic between client and server to examine SOAP payloads, that takes all of about 10 seconds to type in something easy like (in the filter form right on the page shown above)
ip.src == xx.xx.xx.xxx or ip.dst == yy.yy.yy.yyy where x is the IP of the client and y is the IP of the server.

Posted by: toneloc at July 28, 2007 07:38 AM

Technology White Papers

 

InfoWorld Technology Marketplace

» Technology White Papers Library

Technology White Papers by Topic

Technology White Papers E-mail Alert

Find out when the latest white paper is available:
 
 
» BUY A LINK NOW

Sponsored Technology Links