Overview
Syllabus
Packet Capturing with Go
What is Packet Capturing
How Can it be Used?
My Motivations
Common Tools
Prerequisites
WinPcap
gopacket Overview
Get pcap Version
Find Network Device
Network Adapter Struct
Address Struct
Opening Live Device
Creating a Packet Source
Read One Packet
Read All Packets
Capturing with Filter
Berkeley Packet Filter Examples
Opening pcap file for Writing
Writing Pcap File
List Packet Layers
Visualizing Packet Layers
Ethernet Packet Structure
IP Packet Structure
Analyze IPv4 Layer
Analyze TCP Layer
Decoding Packet Layers
Faster Decoding (1/2)
Other Supported Layers
Common Packet Layers
Custom Layers (4/5)
Creating Packets
Flow and Endpoint
Demos
Taught by
Gopher Academy