Handle sysctl.conf upgrade.
[carnet-upgrade.git] / files / etc / sysctl.conf.expect
diff --git a/files/etc/sysctl.conf.expect b/files/etc/sysctl.conf.expect
new file mode 100644 (file)
index 0000000..9754851
--- /dev/null
@@ -0,0 +1,30 @@
+#
+# /etc/sysctl.conf - Configuration file for setting system variables
+# See sysctl.conf (5) for information.
+#
+#kernel.domainname=example.com
+#kernel.printk=4 4 1 7
+#net.ipv4.conf.default.forwarding=1
+#net.ipv4.conf.default.rp_filter=1
+#net.ipv4.icmp_echo_ignore_broadcasts=1
+#net.ipv6.conf.default.forwarding=1
+kernel.maps_protect=1
+net.core.rmem_default=1048576
+net.core.wmem_default=1048576
+net.ipv4.conf.all.accept_redirects=0
+net.ipv4.conf.all.accept_source_route=0
+net.ipv4.conf.all.log_martians=1
+net.ipv4.conf.all.rp_filter=1
+net.ipv4.conf.all.secure_redirects=1
+net.ipv4.conf.all.send_redirects=0
+net.ipv4.icmp_echo_ignore_broadcasts=1
+net.ipv4.icmp_ignore_bogus_error_responses=1
+net.ipv4.ip_forward=0
+net.ipv4.ip_local_port_range=10000 65000
+net.ipv4.tcp_congestion_control=cubic
+net.ipv4.tcp_ecn=0
+net.ipv4.tcp_max_syn_backlog=8192
+net.ipv4.tcp_retries1=2
+net.ipv4.tcp_rfc1337=1
+net.ipv4.tcp_syncookies=0
+vm.mmap_min_addr=65536