-
-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Should have an option to dump captured packets as .pcap
file
#126
Comments
Writing pcap's has been requested multiple times, I think I'd like to understand the use-case more: Do you want one singular pcap file that sniffglue writes to until terminated? In theory you can currently keep sniffglue running indefinitely, but when writing pcaps you'd eventually run out of disk unless you terminate and restart sniffglue periodically. During startup sniffglue discards access to the file system (depending on the operating system, using pledge and unveil, or by doing a combination of chroot then removing the processes chroot capabilities). Because of this, it's possible to open a file to write to during startup, but features like "log rotation" for pcaps can't be implemented because the process may close open files but not open any new ones. I hesitated because of this, and that's why I'm asking if writing to a singular file would be sufficient for your use-case. |
Maybe I can explain it the other way round: Due to its threadedness and the use of seccomp I had a look at Common use cases where I want to save a PCAP file:
|
It's nice to see a threaded packet sniffer with seccomp. But it seems to lack a possibility to dump the captured packets onto disk.
Is this something on the roadmap? Or totally out of scope? Or already there and just not documented?
The text was updated successfully, but these errors were encountered: