about summary refs log tree commit diff stats
path: root/core/sysctl.html
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/sysctl.html
parent3ec086df28374f6433c15c060ff608eb2cb19814 (diff)
downloaddoc-c89c785b301ea90290190aceeb1da0c9b7d464b3.tar.gz
added protection against sack in core sysctl
Diffstat (limited to 'core/sysctl.html')
-rw-r--r--core/sysctl.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/sysctl.html b/core/sysctl.html
index afee463..550ae6d 100644
--- a/core/sysctl.html
+++ b/core/sysctl.html
@@ -62,6 +62,9 @@
         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