-
Notifications
You must be signed in to change notification settings - Fork 7
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
_check_filters not called on all user-added matching features #2
Comments
Hi @diekmann ,
This issue highlights that trust is given to users for writing correct protocol names. Maybe a warning for "unknown protocol" should be raised. Happy playing with Mignis! |
Awesome, thanks 👍 Now a rather tough question: Yet, let's get to the corner cases of iptables: I could use the modules |
@diekmann @McCio
The only problem I see is that, if /etc/protocol doesn't exist in the system (which is the reason for |
Hi,
I just played around with mignis. I tried the following rule:
_check_filters
should prevent me from doing this. However, when it is called, my offending string--sports
is not in the variablefilters
but in the variableprotocol
:https://github.com/secgroup/Mignis/blob/master/mignis.py#L45
As a result, the rule loads fine without a warning.
The text was updated successfully, but these errors were encountered: