tcpdump
Tcpdump is an open source command-line tool for monitoring (sniffing) network traffic. Tcpdump works by capturing and displaying packet headers and matching them against a set of criteria. It understands boolean search operators and can use host names, IP addresses, network names, and protocols as arguments.