Wireshark is a program for capturing and analyzing network traffic.
Wireshark is a network protocol analyzer for Unix and Windows.
Wireshark is a network packet analyzer, known previously as Ethereal. It lets you examine the network traffic flowing into and out of your Windows or Unix machine. Network professionals use Wireshark to troubleshoot networking problems, but it is also an excellent way to learn exactly how the network protocols work.
Source: Wireshark Quick-Start Guide
Homepage: http://www.wireshark.org/
Ubuntu package: wireshark