From 39e642352d2b674bc2a7204c96bc45bcebe9f2a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C6=ACHE=20=D0=AFAW=20=E2=98=A3?= Date: Mon, 15 Jan 2018 00:17:43 +0100 Subject: [PATCH] Update sysctl.conf --- static/sysctl.conf | 70 +++++++++++++++++++++++----------------------- 1 file changed, 35 insertions(+), 35 deletions(-) diff --git a/static/sysctl.conf b/static/sysctl.conf index 2058bd8..7faa6cc 100644 --- a/static/sysctl.conf +++ b/static/sysctl.conf @@ -1,35 +1,35 @@ -net.ipv4.icmp_echo_ignore_broadcasts = 1 -net.ipv4.icmp_ignore_bogus_error_responses = 1 -net.ipv4.tcp_syncookies = 1 -net.ipv4.conf.all.log_martians = 1 -net.ipv4.conf.default.log_martians = 1 -net.ipv4.conf.all.accept_source_route = 0 -net.ipv4.conf.default.accept_source_route = 0 -net.ipv4.conf.all.rp_filter = 1 -net.ipv4.conf.default.rp_filter = 1 -net.ipv4.conf.all.accept_redirects = 0 -net.ipv4.conf.default.accept_redirects = 0 -net.ipv4.conf.all.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.default.send_redirects = 0 -kernel.exec-shield = 1 -kernel.randomize_va_space = 1 -net.ipv6.conf.default.router_solicitations = 0 -net.ipv6.conf.default.accept_ra_rtr_pref = 0 -net.ipv6.conf.default.accept_ra_pinfo = 0 -net.ipv6.conf.default.accept_ra_defrtr = 0 -net.ipv6.conf.default.autoconf = 0 -net.ipv6.conf.default.dad_transmits = 0 -net.ipv6.conf.default.max_addresses = 1 -fs.file-max = 65535 -kernel.pid_max = 65536 -net.ipv4.ip_local_port_range = 2000 65000 -net.ipv4.tcp_rmem = 4096 87380 8388608 -net.ipv4.tcp_wmem = 4096 87380 8388608 -net.core.rmem_max = 8388608 -net.core.wmem_max = 8388608 -net.core.netdev_max_backlog = 5000 -net.ipv4.tcp_window_scaling = 1 -vm.nr_hugepages = 128 +#net.ipv4.icmp_echo_ignore_broadcasts = 1 +#net.ipv4.icmp_ignore_bogus_error_responses = 1 +#net.ipv4.tcp_syncookies = 1 +#net.ipv4.conf.all.log_martians = 1 +#net.ipv4.conf.default.log_martians = 1 +#net.ipv4.conf.all.accept_source_route = 0 +#net.ipv4.conf.default.accept_source_route = 0 +#net.ipv4.conf.all.rp_filter = 1 +#net.ipv4.conf.default.rp_filter = 1 +#net.ipv4.conf.all.accept_redirects = 0 +#net.ipv4.conf.default.accept_redirects = 0 +#net.ipv4.conf.all.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.default.send_redirects = 0 +#kernel.exec-shield = 1 +#kernel.randomize_va_space = 1 +#net.ipv6.conf.default.router_solicitations = 0 +#net.ipv6.conf.default.accept_ra_rtr_pref = 0 +#net.ipv6.conf.default.accept_ra_pinfo = 0 +#net.ipv6.conf.default.accept_ra_defrtr = 0 +#net.ipv6.conf.default.autoconf = 0 +#net.ipv6.conf.default.dad_transmits = 0 +#net.ipv6.conf.default.max_addresses = 1 +#fs.file-max = 65535 +#kernel.pid_max = 65536 +#net.ipv4.ip_local_port_range = 2000 65000 +#net.ipv4.tcp_rmem = 4096 87380 8388608 +#net.ipv4.tcp_wmem = 4096 87380 8388608 +#net.core.rmem_max = 8388608 +#net.core.wmem_max = 8388608 +#net.core.netdev_max_backlog = 5000 +#net.ipv4.tcp_window_scaling = 1 +#vm.nr_hugepages = 128