I am trying to get a log rotation on using the tcpdump functions. However it does not seem to do anything else than overwrite the existing file. I want tcpdump to rotate every 10 minutes or so.
I have tried a few different options, an example is shown below.
sudo tcpdump -w test.pcap -G 10 -i eth3 -nn -C 1000 "vlan xx and ip"
Does anyone have an idea on how to do this correctly?