mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-23 02:51:55 +00:00
Merge pull request #819 from riyazdf/lynis-sysctl-changes
Add sysctl changes as suggested by lynis
This commit is contained in:
commit
5608dfbf5d
7
alpine/etc/sysctl.d/02-lynis.conf
Normal file
7
alpine/etc/sysctl.d/02-lynis.conf
Normal file
@ -0,0 +1,7 @@
|
||||
kernel.kptr_restrict = 2
|
||||
kernel.sysrq = 0
|
||||
net.ipv4.conf.all.send_redirects = 0
|
||||
net.ipv4.conf.default.accept_redirects = 0
|
||||
net.ipv4.conf.default.accept_source_route = 0
|
||||
net.ipv6.conf.all.accept_redirects = 0
|
||||
net.ipv6.conf.default.accept_redirects = 0
|
Loading…
Reference in New Issue
Block a user