mirror of
https://github.com/Kicksecure/security-misc.git
synced 2024-12-26 01:29:26 -05:00
Merge pull request #14 from madaidan/patch-10
Add some hardening for other distributions
This commit is contained in:
commit
ab312235ba
2
etc/sysctl.d/dmesg_restrict.conf
Normal file
2
etc/sysctl.d/dmesg_restrict.conf
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# Restricts the kernel log to root only.
|
||||||
|
kernel.dmesg_restrict=1
|
@ -15,5 +15,12 @@ net.ipv6.conf.default.accept_redirects=0
|
|||||||
net.ipv4.conf.all.send_redirects=0
|
net.ipv4.conf.all.send_redirects=0
|
||||||
net.ipv4.conf.default.send_redirects=0
|
net.ipv4.conf.default.send_redirects=0
|
||||||
|
|
||||||
# Ignores ICMP requests
|
# Ignores ICMP requests.
|
||||||
net.ipv4.icmp_echo_ignore_all=1
|
net.ipv4.icmp_echo_ignore_all=1
|
||||||
|
|
||||||
|
# Enables TCP syncookies.
|
||||||
|
net.ipv4.tcp_syncookies=1
|
||||||
|
|
||||||
|
# Disable source routing.
|
||||||
|
net.ipv4.conf.all.accept_source_route=0
|
||||||
|
net.ipv4.conf.default.accept_source_route=0
|
||||||
|
Loading…
Reference in New Issue
Block a user