Skip to content

Tcpdump

tcpdump

The tcpdump command is a packet sniffer and network security tool that captures real-time network packet information. Use the command to analyze traffic, troubleshoot issues, and monitor network security.

tcpdump [options] [filter]

Example

  • Server
tcpdump -i eth0 icmp
  • Client
ping <server_eth0_ip>