-
-
Notifications
You must be signed in to change notification settings - Fork 77
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
Add flag/parametr to log all dropped packets. #153
Comments
HI @marcinbojko - this looks like a valid feature and I agree the module should support this |
The documentation on the RHEL site seems a bit wrong - it states....
When in fact, firewalld supports the following
|
@marcinbojko Maybe you can clear something up here - I've been playing with this feature but it introduces some odd behaviour.... Starting with a zone with rich rules configured.
Then I set log_denied....
Now the rich rules are no longer configured.
When we restart firewalld they come back. This is a little tricky, and yet more dependency headaches around restarting firewalld. It looks to me that we must restart firewalld immediately after running |
I'll generate a test machine to check this. |
@marcinbojko See #156 |
Ok, quick investigation: 1. State BEFORE any changes
2. applying firewall-cmd --set-log-denied=multicast No changes in 'list-all'
3. But firewall-cmd --permanent --zone work --list-all
4. Quick test - are rules working? - yes, they are.
5. So maybe refresh?
According to docs - applying --set-log-denied should trigger a reload. Probably it doesn't. |
@marcinbojko Thanks for that - it looks like you've got the same outcome - see the PR #156 this seems to work for me - I hate doing yet more firewalld reloads - but it looks like there is no other way |
Great! |
Hi. I couldn't find an easy way to control dropped packets using firewalld module.
Since firewalld-0.4.3.2-8.el7 we have option --set-log-denied=, which can take values: all, unicast, broadcast, multicast, or off
Source: https://access.redhat.com/solutions/1191593
(login required).
Is it possible to add this parameter to this module?
The text was updated successfully, but these errors were encountered: