Ethernet and Coffee

rotate-tcpdump.pl - a script to manage long running network traces using tcpdump

Yes, I know tcpdump supports file rotation, max file counts, post-rotate commands, etc, but I find it easier to use rotate-tcpdump.pl.

It has the added benefit of automatically guessing the active interface, stopping due to low disk space, compression, and using IOS8601-ish timestamps.

rotate-tcpdump.zip