Capture on interface
Capture all traffic on eth0 without DNS resolution
tcpdump -i eth0 -n
- tool
- tcpdump18 commands
More tcpdump commands
-
tcpdump -i eth0 -w /tmp/capture.pcapSave raw packets to PCAP file for Wireshark analysis
-
tcpdump -r /tmp/capture.pcap -n | head -50Replay and display packets from a saved PCAP file
-
tcpdump -i any host 10.0.0.5 -nCapture only traffic to/from a specific IP
-
tcpdump -i eth0 port 443 -nCapture HTTPS traffic only
-
tcpdump -i any -n port 53Monitor all DNS lookups on any interface