0PricingLogin
Linux Networking & TCP/IP for Developers · Lesson

Packet Capture with Wireshark/tcpdump

Learn to capture and analyze network packets using `tcpdump` on the command line and Wireshark for graphical analysis.

What is Packet Capture?

Packet capture is like taking a snapshot of all the network data flowing in and out of your device. It's a powerful technique for understanding network behavior and troubleshooting issues.

You can see the raw "packets" of information, including their source, destination, and the data they carry. This helps diagnose slow connections, find security problems, or debug network applications.

Introducing `tcpdump`

tcpdump is a command-line utility for capturing and analyzing network traffic. It's pre-installed on most Linux systems, making it a go-to tool for quick network inspections.

It works by "sniffing" packets directly from your network interface. You can view them in real-time or save them for later analysis.

All lessons in this course

  1. Packet Capture with Wireshark/tcpdump
  2. Network Performance Tools
  3. Linux Firewall (Netfilter/iptables)
  4. DNS Diagnostics with dig and nslookup
← Back to Linux Networking & TCP/IP for Developers