gamelinux / cxtracker

Connection Tracker is a passive network connection tracker for profiling, history, auditing and network discovery.
http://www.gamelinux.org/
46 stars 24 forks source link

Feature Request: Daemonlogger-like "rolling off disk" when disk use reaches x% #16

Closed wmesser closed 10 years ago

wmesser commented 11 years ago

Essentially a feature to store only enough pcaps to fill the disk up to x%. Once that disk use is reached, pcaps are deleted in the order they were recorded, freeing space for newer pcaps.

OpenFPC uses this feature of Daemonlogger in conjunction with its own capability to roll the session files off the database to accomplish FPC of the most recent time period that there is sufficient storage to handle.

I'm planning to work on this after the InnoDB VIEW issue. If you know of a good / preferred way to implement this, I'll follow your lead.

wmesser commented 11 years ago

Addressed in https://github.com/gamelinux/cxtracker/pull/18

gamelinux commented 10 years ago

merged