about summary refs log tree commit diff stats
path: root/core/conf/sysctl.conf
diff options
context:
space:
mode:
authorSilvino <silvino@bk.ru>2019-06-18 20:38:33 +0100
committerSilvino <silvino@bk.ru>2019-06-18 20:38:33 +0100
commitc89c785b301ea90290190aceeb1da0c9b7d464b3 (patch)
tree370505592fd862da66ae424153c5bb9b11d30d89 /core/conf/sysctl.conf
parent3ec086df28374f6433c15c060ff608eb2cb19814 (diff)
downloaddoc-c89c785b301ea90290190aceeb1da0c9b7d464b3.tar.gz
added protection against sack in core sysctl
Diffstat (limited to 'core/conf/sysctl.conf')
-rw-r--r--core/conf/sysctl.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/conf/sysctl.conf b/core/conf/sysctl.conf
index 771112a..d50520e 100644
--- a/core/conf/sysctl.conf
+++ b/core/conf/sysctl.conf
@@ -39,6 +39,9 @@ net.core.wmem_max = 8388608
 net.core.netdev_max_backlog = 5000
 net.ipv4.tcp_window_scaling = 1
 
+#A sequence of SACKs may be crafted such that one can trigger an integer overflow, leading to a kernel panic.
+net.ipv4.tcp_sack = 0
+
 # Both ports linux-blob and linux-libre don't build with ipv6
 # Disable ipv6
 net.ipv6.conf.all.disable_ipv6 = 1