Skip to content

Instantly share code, notes, and snippets.

@avshabanov
Created January 3, 2017 06:52
Show Gist options
  • Save avshabanov/ac510256ea3949aa3587fd888bb4693c to your computer and use it in GitHub Desktop.
Save avshabanov/ac510256ea3949aa3587fd888bb4693c to your computer and use it in GitHub Desktop.
Cheatsheet for capturing TCP traffic with tcpdump

Sample traffic capture (loopback0 interface, port 11280, pcap format understandable by wireshark):

tcpdump -i lo0 -v -X port 11280 -s0 -w ~/Downloads/traffic1.pcap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment