Skip to content

Files

Latest commit

9fac62d · Jan 3, 2025

History

History
15 lines (8 loc) · 502 Bytes

tcp_dump.md

File metadata and controls

15 lines (8 loc) · 502 Bytes

tcpdump

tcpdump -i INTERFACE // Captures packets on a specific network interface

tcpdump -w FILE // Writes captured packets to a file

tcpdump -r FILE // Reads captured packets from a file

tcpdump -c COUNT // Captures a specific number of packets

tcpdump -n // Don’t resolve IP addresses

tcpdump -nn // Don’t resolve IP addresses and don’t resolve protocol numbers

tcpdump -v // Verbose display; verbosity can be increased with -vv and -vvv