Skip to content

Commit

Permalink
commented out disable TCP window scaling by default
Browse files Browse the repository at this point in the history
Disabling TCP window scaling could result in a significant decrease in
performance in high-latency communications.

Signed-off-by: k4yt3x <i@k4yt3x.com>
  • Loading branch information
k4yt3x committed Jul 3, 2023
1 parent b16bc4c commit b6f1041
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sysctl.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b6f1041

Please sign in to comment.