tcpdump is a common packet analyzer that runs under the command line. It allows the user to capture and display network traffic including TCP/IP packets.
tcpdump
tcpdump -i en0
tcpdump -n -i en0
tcpdump 'port 80 or 443'
tcpdump dst 8.8.8.8
Wireshark
ngrep
dSniff
Advertising: