Capturing and Inspecting Traffic with tcpdump
Round out your networking and security toolkit by capturing live packets and applying filters with tcpdump to diagnose connectivity and security issues.
Seeing the Wire
Diagnostics like ping and dig tell you whether something works, but sometimes you need to see the actual packets. tcpdump captures network traffic in real time.
Listing Interfaces
First find which interface to listen on with -D. Common names are eth0, wlan0, or en0.
sudo tcpdump -DAll lessons in this course
- Network Diagnostics: `traceroute`, `nslookup`, `dig`
- Firewall Management: `ufw`, `firewalld`, `iptables`
- Secure Shell Key Management
- Capturing and Inspecting Traffic with tcpdump