Feature Proposal: Option to store pcaps to dated directories.
wmesser opened this issue · comments
wmesser commented
I don't know if this would be good or not, but I could see it being useful.
This is low priority for me but is something that would slightly complicate the step of roll-off in #16, so I'm going ahead and talking about it now.
Vision: pcaps are logged to directories like /pcaps/2013-01-15/cxt.eth0.1358251200
This might make management on disk easier for two reasons:
- It breaks up storage into multiple directories
- It names the directories in such a way that retrieval is easier
Downside:
- OpenFPC currently does not expect pcaps logged by date
- Creates slight complications for automated retrieval because figuring out directory becomes a necessary step. However, since the directory is the date, and the date is trivially determined in code, automated retrieval is still possible.
Edward Fjellskål commented
merged