I need to save mirrored traffic for audit purposes. Traffic for audited server is send to other server. I need to capture that traffic on dedicated interface, save it to pcap files of reasonable scope (rotation by date/size), and (may be) upload and purge them.
I can glue together some bash and tcpdump inside systemd unit, but, may be, there is a ready-made solution for that?