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

Upgrade filters #414

Merged
merged 12 commits into from
Dec 17, 2023
Merged

Upgrade filters #414

merged 12 commits into from
Dec 17, 2023

Conversation

GyulyVGC
Copy link
Owner

This PR adds new kinds of filters in the initial page of the application:

  • Address filter: to filter traffic based on IP addresses
  • Port filter: to filter traffic based on transport ports

Both the new filter kinds are able to accept a list of entries, and each entry can be a single object or a range.

Moreover, the aesthetics of the filters reported in Sniffnet initial page has been considerably improved.

Note that the "Application protocol" filter has been removed with this PR since an analogous (but more flexible) functionality can now be achieved using the "Port" filter.

Examples:

  • 80, 8080, 400-1024 is a way to filter only those packets that have source or destination port equal to 80, 8080, or a value in-between 400 and 1024
  • 192.168.1.0-192.168.1.255, 8.8.8.8 is a way to filter only those packets that have source or destination address equal to a value included in the range specified (192.168.1.x) or 8.8.8.8

@GyulyVGC GyulyVGC added the enhancement New feature, request, or improvement label Dec 16, 2023
@GyulyVGC GyulyVGC added this to the v1.3.0 milestone Dec 16, 2023
@GyulyVGC GyulyVGC merged commit b90b23a into main Dec 17, 2023
6 checks passed
@GyulyVGC GyulyVGC deleted the upgrade-filters branch December 17, 2023 10:21
@GyulyVGC GyulyVGC linked an issue Dec 17, 2023 that may be closed by this pull request
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 this pull request may close these issues.

Transport port filter capabilities
1 participant