From b6f10417e70fc982191ff3ad2c9dee651e12e08f Mon Sep 17 00:00:00 2001 From: k4yt3x Date: Mon, 3 Jul 2023 18:20:40 +0000 Subject: [PATCH] commented out disable TCP window scaling by default Disabling TCP window scaling could result in a significant decrease in performance in high-latency communications. Signed-off-by: k4yt3x --- sysctl.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sysctl.conf b/sysctl.conf index 8d6cdd8..56e8b9c 100644 --- a/sysctl.conf +++ b/sysctl.conf @@ -209,7 +209,8 @@ net.ipv4.tcp_rfc1337 = 1 # disable TCP window scaling # this makes the host less susceptible to TCP RST DoS attacks -net.ipv4.tcp_window_scaling = 0 +# could drastically reduce throughput if latency is high +#net.ipv4.tcp_window_scaling = 0 # increase system IP port limits net.ipv4.ip_local_port_range = 1024 65535