Practical Wireshark
/
Part I: Foundations of Capture
Part I: Foundations of Capture
https://leanpub.com/practical-wireshark
Up next
Chapter 1: Your First Capture: Installing Wireshark and Building Your Workspace
In this part
Chapter 1: Your First Capture: Installing Wireshark and Building Your Workspace
Installing Wireshark on Windows, macOS, and Linux
Choosing a capture interface
The three panes
Columns that show what matters
Filtering your first capture
Saving and reopening captures
Configuration profiles
Exercises
Chapter 2: Where to Put the Sniffer: Hubs, SPAN, TAPs, Virtual Switches, and Remote Capture
The capture point decides what you see
Why a laptop on a switch port sees only its own traffic
SPAN and port mirroring
Network TAPs
TAP versus SPAN
Capturing in virtualized and cloud environments
Remote capture over SSH with sshdump
Remote capture with rpcapd
Permission, privacy, and the ethics of passive capture
Exercises
Chapter 3: Capturing the Right Traffic and Saving It Well: Capture Filters, pcapng, dumpcap, and Ring Buffers
A Collection Plan Before a Single Frame
Capture filters vs. display filters
Berkeley Packet Filter syntax
Recipes and where to type them
What pcapng adds
dumpcap for headless capture
Ring buffers and file-size limits
Performance and very large captures
Exercises
Chapter 4: Managing Capture Files at Scale: capinfos, editcap, and mergecap
capinfos
editcap: extracting packet ranges and dropping packets
editcap: deduplication and timestamp adjustment
mergecap: combining captures and controlling the output order
A triage workflow: from a messy capture folder to a single clean file
Verifying that edits did what you intended
Exercises