Packs / tcpdump Recipes
Pack 02
tcpdump Recipes
20 practical commands for capturing and reading network traffic
For cyber students, homelabbers and junior network or security staff who need to capture and read network traffic from the command line. Twenty recipes cover choosing an interface, writing filters that work, watching DNS, ARP, DHCP and new connections, saving and slicing captures, and spotting a port scan. Each recipe ends with the real output it produced on an isolated lab network, with the tcpdump version and test date.

What you get
- tcpdump Recipes PDF: 20 recipes
- One-page tcpdump cheat sheet PDF
- Edition 1
What it covers
- Choose and filter traffic
- Watch key protocols
- Save and slice captures
- Spot scans and suspicious activity
Tested on
- Tool
- tcpdump 4.99.6
- System
- Kali GNU/Linux Rolling
- Lab runs
- 21 and 22 Nov 2026, on an isolated lab network
Only capture on networks you own or have written permission to monitor.

The 20 recipes
Getting started
- 01Find the right interface to capture on
- 02Take a quick first capture
- 03Make the output readable
Filtering what you capture
- 04Capture traffic to or from one host
- 05Capture one port or service
- 06Combine filters without tripping on quoting
- 07Leave out your own SSH session
- 08Capture a whole subnet
Watching specific protocols
- 09Watch DNS lookups
- 10Watch ARP and spot address conflicts
- 11Watch pings and traceroutes
- 12Catch new TCP connections only
- 13See what's inside the packets
- 14Watch DHCP handing out addresses
Saving and reading captures
- 15Save a capture for Wireshark, and read it back
- 16Rotate files on long-running captures
- 17Control how much of each packet you keep
- 18Pull a smaller capture out of a big one
Putting it to work
- 19Capture remotely, watch in local Wireshark
- 20Spot a port scan in captured traffic
Also in a bundle
- Network Toolkit Bundle · 5 packs for US$42
- The Complete Collection · 8 packs for US$55