Skip to content
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

Feature Request - time/packet count #5

Open
ghost opened this issue Dec 4, 2018 · 1 comment
Open

Feature Request - time/packet count #5

ghost opened this issue Dec 4, 2018 · 1 comment

Comments

@ghost
Copy link

ghost commented Dec 4, 2018

Would it be at all possible to add a time to stop sniffing and packet count to stop sniffing option to this?

(Pretty much just the features from RawCap that I find pretty useful, especially when running the tool on a remote computer).

F:\Tools>RawCap.exe --help
NETRESEC RawCap version 0.1.5.0
http://www.netresec.com

Usage: RawCap.exe [OPTIONS] <interface_nr> <target_pcap_file>

OPTIONS:
 -f          Automatically flush data to file after each packet (no buffer)
 -c <count>  Stop sniffing after receiving <count> packets
 -s <sec>    Stop sniffing after <sec> seconds

https://www.netresec.com/?page=RawCap

Many thanks, love this tool!

@cocowalla
Copy link
Owner

Not features I'd likely use myself, but I can see how they could be useful to others - thanks for the feedback 👍

SocketSniffer already tracks how many packets have been captured, so this should be straightforward to add. Having said that, I have very limited capacity at present, so it might be a while before I get round to it. If you don't want to wait, I'd be happy to take a PR for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant