pcap log rotation for connection log quota
david415 opened this issue · 4 comments
david415 commented
We do indeed need a way to enforce an on-disk quota of pcap logs per each connection tracked. A log rotation scheme can easily accomplish this goal.
david415 commented
work in progress:
here's a rough quota enforced Writer using a log rotation scheme:
346babd
It just occurred to me that each new pcap file will need the appropriate pcap header written to the beginning...
david415 commented
so far i've made numerous bug fixes to the dev branch... and it seems to work now:
https://github.com/david415/HoneyBadger/tree/62-rotating-pcap
david415 commented
reopening... due to reverting several bad commits... we are going to reapply these changes or make similar new ones.
david415 commented
fixed... finally!