mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-23 11:00:25 +00:00
Add sysctl changes as suggested by lynis
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
This commit is contained in:
parent
b0fdca348b
commit
0eefa15623
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