mirror of
https://github.com/k4yt3x/sysctl.git
synced 2025-12-29 16:16:10 +00:00
Update sysctl.conf
update according to https://madaidans-insecurities.github.io/guides/linux-hardening.html#sysctl
This commit is contained in:
parent
713183509d
commit
340f2a55de
@ -288,3 +288,10 @@ net.ipv6.conf.all.accept_source_route = 0
|
||||
#net.ipv6.icmp.echo_ignore_all = 1
|
||||
#net.ipv6.icmp.echo_ignore_anycast = 1
|
||||
#net.ipv6.icmp.echo_ignore_multicast = 1
|
||||
|
||||
|
||||
# prevent unprivileged attackers from loading vulnerable line disciplines with the TIOCSETD ioctl
|
||||
dev.tty.ldisc_autoload = 0
|
||||
|
||||
# disable syscall to the CAP_SYS_PTRACE capability
|
||||
vm.unprivileged_userfaultfd = 0
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user