Skip to content

Better capture filtering #810

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

Open
1 task done
jaskij opened this issue May 20, 2025 · 3 comments
Open
1 task done

Better capture filtering #810

jaskij opened this issue May 20, 2025 · 3 comments
Assignees
Labels
enhancement New feature, request, or improvement

Comments

@jaskij
Copy link

jaskij commented May 20, 2025

Is there an existing issue for this?

  • I have searched the existing issues.

Describe the solution you'd like

Just coming off having tested Sniffnet for the first time, and two things I'd like to see improved when it comes to configuring capture options:

  • ability to specify capture filters using pcap filter syntax - like I would in Wireshark, or on the commandline using tcpdump - basically an escape hatch for things I can't configure for the GUI
  • for the application to remember my recently used filters

Is your feature request related to a problem?

I see two problems here:

  • the current capture filter GUI is very simplistic and unable to express even a mildly complex capture filter
  • ease of use for people familiar with existing software (like Wireshark or tcpdump)
@GyulyVGC
Copy link
Owner

Thanks for the idea!

@GyulyVGC GyulyVGC added the enhancement New feature, request, or improvement label May 20, 2025
@aguacero7
Copy link

BPF Rules could also be a good idea to implement, it is natively used in most of linux networking packages.

@GyulyVGC
Copy link
Owner

GyulyVGC commented Jun 1, 2025

I agree that adding a text input for BPF rules could have sense.
And the BPF syntax is also supported by the PCAP library I'm using.

@GyulyVGC GyulyVGC self-assigned this Jun 1, 2025
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

No branches or pull requests

3 participants