mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-05-02 19:44:52 -04:00
Merge pull request #14 from madaidan/patch-10
Add some hardening for other distributions
This commit is contained in:
commit
ab312235ba
2 changed files with 10 additions and 1 deletions
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.default.send_redirects=0
|
||||
|
||||
# Ignores ICMP requests
|
||||
# Ignores ICMP requests.
|
||||
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…
Add table
Add a link
Reference in a new issue