summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--factory-default/sys-apps/baselayout/etc/sysctl.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/factory-default/sys-apps/baselayout/etc/sysctl.conf b/factory-default/sys-apps/baselayout/etc/sysctl.conf
index b49c7bce..98cd5d81 100644
--- a/factory-default/sys-apps/baselayout/etc/sysctl.conf
+++ b/factory-default/sys-apps/baselayout/etc/sysctl.conf
@@ -64,6 +64,9 @@ net.core.somaxconn = 32767
# interface receives packets faster than kernel can process them.
net.core.netdev_max_backlog = 5000
+# enable JIT hardening for all users
+net.core.bpf_jit_harden = 2
+
# TCP congestion control with BBR (Bottleneck Bandwidth and RTT)
net.core.default_qdisc = fq
net.ipv4.tcp_congestion_control = bbr