tcpdump for Network Debugging

tcpdump for incident response.

Capture

The capture commands are the daily entry point for tcpdump. Pick the right interface, narrow the filter, and write to a file so the analysis happens off the box.

Read

Reading captures pairs tcpdump for quick eyeballing with Wireshark for visual stream reconstruction. Both read the same .pcap; pick the tool that matches the depth of analysis.

Careful in prod

Production captures contain sensitive data. Treat them like database dumps: time-bound, retention-bound, access-controlled.