-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
kernel.modules_disabled breaks iptables #1233
Comments
|
Yes, but it's working as intended. Test before enabling. For example: https://linux-audit.com/increase-kernel-integrity-with-disabled-linux-kernel-modules-loading/: systemd/systemd#13540: |
This documentation (or an abbreviated version) should be in the output of the tool. The would be PERFECT to have in the online documentation, which IMHO is sorely neglected for this tool, in general. |
Describe the bug
This tool recommends setting the sysctl value "kernel.modules_disabled" to 1. This may cause an issue when loading modules such as iptables, etc.
Version
Distribution [e.g. Ubuntu 18.04]
Ubuntu 20.04.3 LTS (aws)
Lynis version [e.g. 2.7.0]
3.0.7
Expected behavior
Setting this value should disable loading of undesired kernel modules.
Output
If applicable, add output that you get from the tool or the related section of lynis.log
Additional context
I'm not blaming lynis for recommending this setting. I just think there should be a warning associated that setting the configuration item could have adverse effects.
The text was updated successfully, but these errors were encountered: