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

Display dropped packet stats #135

Closed
arctic-alpaca opened this issue Apr 12, 2023 · 2 comments · Fixed by #181
Closed

Display dropped packet stats #135

arctic-alpaca opened this issue Apr 12, 2023 · 2 comments · Fixed by #181
Labels
enhancement New feature, request, or improvement
Milestone

Comments

@arctic-alpaca
Copy link

Is your feature request related to a problem? Please describe.
Packets might get dropped if sniffnet cannot handle them fast enough. As far as I can tell, the amount of dropped packets is currently not displayed anywhere.

Describe the solution you'd like
Some form of information about dropped packets.

Describe alternatives you've considered
I'm not sure whether there are alternatives to get this information.

Additional context
The pcap crate provides information about captures via the stats() function. As the docs state, this information can be limited as described here: https://www.tcpdump.org/manpages/pcap_stats.3pcap.html

@GyulyVGC GyulyVGC added the enhancement New feature, request, or improvement label Apr 12, 2023
@GyulyVGC GyulyVGC added this to the v1.2.0 milestone Apr 12, 2023
@GyulyVGC
Copy link
Owner

GyulyVGC commented Apr 12, 2023

Thanks for having pointed out, I'll add this feature in the next major release!

@GyulyVGC GyulyVGC linked a pull request May 16, 2023 that will close this issue
@GyulyVGC
Copy link
Owner

A new release including dropped packets number has just been published!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature, request, or improvement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants