The tcpdump command lets you capture network packets on the host it’s run on.
# print out the packets in ASCII on any interface (-i any)
tcpdump -i any -s 0 -A
Comments