Skip to content

Instantly share code, notes, and snippets.

@mdpuma
Created February 2, 2022 11:26
Show Gist options
  • Save mdpuma/04da3cbdf158a1a1d08ce0c80b38f783 to your computer and use it in GitHub Desktop.
Save mdpuma/04da3cbdf158a1a1d08ce0c80b38f783 to your computer and use it in GitHub Desktop.
Tcpdump with rotate
#!/bin/bash
NET=1.1.1.1
tcpdump -i eth0 -n net $NET -G 1800 -w sip_dump_%d-%m-%y-%H-%M.pcap -v
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment