Skip to content

Instantly share code, notes, and snippets.

@sankars
Last active October 20, 2019 09:12
Show Gist options
  • Save sankars/313153cb5420923d820ed8fbbdcd2ee5 to your computer and use it in GitHub Desktop.
Save sankars/313153cb5420923d820ed8fbbdcd2ee5 to your computer and use it in GitHub Desktop.
TCPDUMP to capture requests to a subnet with capture file rotation
tcpdump -i any -G 3600 -w /data/tcpdump/dump-%m-%d-%H.pcap net 10.2.132.0/24 &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment