Skip to content

Instantly share code, notes, and snippets.

@brennv
Created May 30, 2016 00:44
Show Gist options
  • Save brennv/d5a521a01ee91fbd98cb0c698d0114de to your computer and use it in GitHub Desktop.
Save brennv/d5a521a01ee91fbd98cb0c698d0114de to your computer and use it in GitHub Desktop.
# Aggregate connection stats between source and destination apps
tshark -n -r example-file.pcap -T fields -e ip.src -e ip.dst -e tcp.dstport "tcp.flags == 0x0002" | sort | uniq -c | sort -nr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment