Handle sysctl.conf upgrade.
[carnet-upgrade.git] / files / etc / sysctl.conf.expect
1 #
2 # /etc/sysctl.conf - Configuration file for setting system variables
3 # See sysctl.conf (5) for information.
4 #
5 #kernel.domainname=example.com
6 #kernel.printk=4 4 1 7
7 #net.ipv4.conf.default.forwarding=1
8 #net.ipv4.conf.default.rp_filter=1
9 #net.ipv4.icmp_echo_ignore_broadcasts=1
10 #net.ipv6.conf.default.forwarding=1
11 kernel.maps_protect=1
12 net.core.rmem_default=1048576
13 net.core.wmem_default=1048576
14 net.ipv4.conf.all.accept_redirects=0
15 net.ipv4.conf.all.accept_source_route=0
16 net.ipv4.conf.all.log_martians=1
17 net.ipv4.conf.all.rp_filter=1
18 net.ipv4.conf.all.secure_redirects=1
19 net.ipv4.conf.all.send_redirects=0
20 net.ipv4.icmp_echo_ignore_broadcasts=1
21 net.ipv4.icmp_ignore_bogus_error_responses=1
22 net.ipv4.ip_forward=0
23 net.ipv4.ip_local_port_range=10000 65000
24 net.ipv4.tcp_congestion_control=cubic
25 net.ipv4.tcp_ecn=0
26 net.ipv4.tcp_max_syn_backlog=8192
27 net.ipv4.tcp_retries1=2
28 net.ipv4.tcp_rfc1337=1
29 net.ipv4.tcp_syncookies=0
30 vm.mmap_min_addr=65536