33 lines
1014 B
Diff
33 lines
1014 B
Diff
--- a/sysctl.conf 2020-02-18 13:58:40.077025434 +0300
|
|
+++ b/sysctl.conf 2020-02-18 14:00:32.310214404 +0300
|
|
@@ -7,15 +7,15 @@
|
|
#dev.cdrom.autoclose = 1
|
|
|
|
# protection from the SYN flood attack
|
|
-net/ipv4/tcp_syncookies=1
|
|
+#net/ipv4/tcp_syncookies=1
|
|
|
|
# see the evil packets in your log files
|
|
-net/ipv4/conf/all/log_martians=1
|
|
+#net/ipv4/conf/all/log_martians=1
|
|
|
|
# makes you vulnerable or not :-)
|
|
-net/ipv4/conf/all/accept_redirects=0
|
|
-net/ipv4/conf/all/accept_source_route=0
|
|
-net/ipv4/icmp_echo_ignore_broadcasts =1
|
|
+#net/ipv4/conf/all/accept_redirects=0
|
|
+#net/ipv4/conf/all/accept_source_route=0
|
|
+#net/ipv4/icmp_echo_ignore_broadcasts =1
|
|
|
|
# needed for routing, including masquerading or NAT
|
|
#net/ipv4/ip_forward=1
|
|
@@ -56,7 +56,7 @@
|
|
|
|
# This limits PID values to 4 digits, which allows tools like ps
|
|
# to save screen space.
|
|
-kernel/pid_max=10000
|
|
+#kernel/pid_max=10000
|
|
|
|
# Protects against creating or following links under certain conditions
|
|
# See https://www.kernel.org/doc/Documentation/sysctl/fs.txt
|