-
Notifications
You must be signed in to change notification settings - Fork 741
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
network related sysctl rewritten by ufw in ubuntu #82
Comments
I think that's a good idea, there's one confusion less when dealing with ubuntu and the kernel parameters.
|
I doubt it's a good idea to do it by default, since there a lot of options inside /etc/default/ufw, like IPv6 and default firewall policies. So I'd rather make it false by default and try to describe it in readme |
Yes, thats okay, too. I just thought you wanted to enable it by default. |
I do want enable it for myself, but since there default firewall policies, it could have bad affect on some users who didn't expect get fw policies changed) |
actually I'll make a big change then, integrating most of variables from this file into role, to let users ability change them if they need, applying reasonable secure defaults |
check this out #85 |
Thanks for this PR, I think that could be useful! I added some comments to the PR that I'd like you to consider! |
So, there's a thing.
By default in ubuntu if you enable(or reload) ufw (or reboot the system), you have applied all sort of different sysctl values from /etc/ufw/sysctl.conf over standard /etc/sysctl.conf
This behavior can be disabled by commenting out
IPT_SYSCTL=/etc/ufw/sysctl.conf
line in /etc/default/ufwI'm going to add replace task in sysctl.yml to comment out this line. Is there any ideas to deal with it by another way? Or objections to use replace module?
Or maybe reasons don't do it at all?
I think it's a security issue, which prevents from applying a lot of important sysctl values, so as for me, It's clearly framework's job do deal with it
The text was updated successfully, but these errors were encountered: