-
-
Notifications
You must be signed in to change notification settings - Fork 75
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
Rich rule purging isn't idempotent, or isn't saving, or similar #338
Comments
Any word? This is fairly critical to our firewall use case. |
I also have this problem. |
For what it's worth, my solution to this problem was to abandon firewalld entirely. nftables has treated me better. |
We are also seeing this issue and have the same situation. Is there any solution in sight for this? |
Have you noticed any traffic drops or issues when the rich rules get flushed? We have been letting it do this and some have seen DNS timeouts being logged and wonder if that flushing happened to happen at the same time as the dns lookup was occuring. If this is the case we cannot contiunue to use priorities. Is any work being done on this? |
We were noticing short netork DNS outages every time the rules were flushed and had to add "purge_rich_rules: false" to the zone config to prevent this and continue to use priorities. This however does allow for the potential for rules to not be removed. WE STRONGLY RECOMMEND THIS BE FIXED. |
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
...and then later manifests use firewalld_rich_rule(), e.g.:
What are you seeing
When I turn on rich rule purging, every run I get the same general thing: all existing rules are purged (except for echo-request ping rules), then puppet re-implements the rules. See the logs below. This is only the case if purge_rich_rules is true for the puppet zone.
What behaviour did you expect instead
I'd expect that puppet would recognize its previous rules and not purge them. (This is critical! We can't go deleting firewall holes every time puppet runs, this will interfere with our work.)
Output log
This repeats every run.
Any additional information you'd like to impart
I don't see the "purge rules" action in a --debug run. Instead, I'm watching the output of
/usr/bin/firewall-cmd --zone 99_public --list-rich-rules
on a separate terminal. The rules come back when puppet says they come back in its logs.The text was updated successfully, but these errors were encountered: