graphene-os-server-infrastr.../sysctl.d/local.conf

59 lines
1.2 KiB
Plaintext
Raw Normal View History

net.ipv4.tcp_ecn = 1
net.ipv4.tcp_slow_start_after_idle = 0
net.ipv4.tcp_notsent_lowat = 131072
net.ipv4.tcp_fin_timeout = 30
net.ipv4.tcp_rfc1337 = 1
net.ipv4.tcp_tw_reuse = 1
2022-08-28 19:53:44 +00:00
net.ipv4.tcp_max_syn_backlog = 65536
2022-06-28 03:28:45 +00:00
# 31s with initial 1s RTO
net.ipv4.tcp_syn_retries = 4
# 15s with initial 1s RTO
net.ipv4.tcp_synack_retries = 3
# 102.2s with minimum 0.2s RTO
net.ipv4.tcp_retries2 = 8
# 25.4s with minimum 0.2s RTO
net.ipv4.tcp_orphan_retries = 6
net.ipv4.ip_local_port_range = 1024 65535
net.ipv4.conf.all.send_redirects = 0
net.ipv4.conf.default.send_redirects = 0
net.ipv4.conf.all.accept_redirects = 0
net.ipv4.conf.default.accept_redirects = 0
2022-07-03 07:50:53 +00:00
net.netfilter.nf_conntrack_tcp_loose = 0
net.netfilter.nf_conntrack_tcp_timeout_established = 14400
2022-07-03 07:50:53 +00:00
2024-01-03 15:52:27 +00:00
net.mptcp.enabled = 0
kernel.yama.ptrace_scope = 2
2022-09-25 11:48:50 +00:00
vm.max_map_count = 1048576
vm.mmap_rnd_bits = 32
vm.mmap_rnd_compat_bits = 16
kernel.kptr_restrict = 2
kernel.unprivileged_userns_clone = 0
kernel.unprivileged_bpf_disabled = 1
net.core.bpf_jit_harden = 2
kernel.kexec_load_disabled = 1
fs.protected_regular = 2
fs.protected_fifos = 2
kernel.panic = -1
kernel.panic_on_oops = 1
dev.tty.ldisc_autoload = 0
2022-08-14 17:46:00 +00:00
fs.binfmt_misc.status = 0
kernel.sched_energy_aware = 0