Tcp Dump
Tcp Dump
12/19/2024 1
Tcpdump commands
• 1. Listing possible network interfaces on the system
tcpdump -D
tcpdump -i interface-name
12/19/2024 2
Tcpdump commands
• 3. Capture only N number of packets
• tcpdump -c N
tcpdump -w file.pcap
tcpdump -s 0
12/19/2024 3
Tcpdump commands
• 6. Reading the packets from a saved file
tcpdump -r file.pcap
12/19/2024 4
# tcpdump -i eth0 src 192.168.0.2
12/19/2024 7
TCPDUMP with NETCAT
Open one more linux terminal