Update sysctl.conf

This commit is contained in:
2018-02-23 11:47:24 +01:00
committed by GitHub
parent e528b3a18e
commit c88d9c0aad
+4 -4
View File
@@ -1,6 +1,9 @@
vm.nr_hugepages = 128
net.ipv4.ip_forward = 0
net.ipv4.tcp_syncookies = 1
#net.ipv4.icmp_echo_ignore_broadcasts = 1 #net.ipv4.icmp_echo_ignore_broadcasts = 1
#net.ipv4.icmp_ignore_bogus_error_responses = 1 #net.ipv4.icmp_ignore_bogus_error_responses = 1
#net.ipv4.tcp_syncookies = 1
#net.ipv4.conf.all.log_martians = 1 #net.ipv4.conf.all.log_martians = 1
#net.ipv4.conf.default.log_martians = 1 #net.ipv4.conf.default.log_martians = 1
#net.ipv4.conf.all.accept_source_route = 0 #net.ipv4.conf.all.accept_source_route = 0
@@ -11,10 +14,8 @@
#net.ipv4.conf.default.accept_redirects = 0 #net.ipv4.conf.default.accept_redirects = 0
#net.ipv4.conf.all.secure_redirects = 0 #net.ipv4.conf.all.secure_redirects = 0
#net.ipv4.conf.default.secure_redirects = 0 #net.ipv4.conf.default.secure_redirects = 0
#net.ipv4.ip_forward = 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
#kernel.exec-shield = 1
#kernel.randomize_va_space = 1 #kernel.randomize_va_space = 1
#net.ipv6.conf.default.router_solicitations = 0 #net.ipv6.conf.default.router_solicitations = 0
#net.ipv6.conf.default.accept_ra_rtr_pref = 0 #net.ipv6.conf.default.accept_ra_rtr_pref = 0
@@ -32,4 +33,3 @@
#net.core.wmem_max = 8388608 #net.core.wmem_max = 8388608
#net.core.netdev_max_backlog = 5000 #net.core.netdev_max_backlog = 5000
#net.ipv4.tcp_window_scaling = 1 #net.ipv4.tcp_window_scaling = 1
#vm.nr_hugepages = 128