We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4
TCP DUMP
29 April 2022 Knowledge Resource Centre 1
1. Capture Packets from Specific Interface tcpdump -i eth0
2. Capture Only N Number of Packets
tcpdump -c 5 -i eth0
3. Print Captured Packets in ASCII
tcpdump -A -i eth0
4. Display Available Interfaces
tcpdump -D
29 April 2022 Knowledge Resource Centre 2
5. Display Captured Packets in HEX and ASCII tcpdump -XX -i eth0 6. Capture and Save Packets in a File tcpdump -w 0001.pcap -i eth0 7. Read Captured Packets File tcpdump -r 0001.pcap 8. Capture Packet from Specific Port tcpdump -i eth0 port 22 9. Capture Packets from source IP tcpdump -i eth0 src 192.168.0.2 10. Capture Packets from destination IP tcpdump -i eth0 dst 50.116.66.139