Merge pull request #819 from riyazdf/lynis-sysctl-changes

Add sysctl changes as suggested by lynis
This commit is contained in:
Justin Cormack
2016-12-02 01:30:55 -08:00
committed by GitHub

View 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