40-openmamba.conf: re-enable tcp_window_scaling; set tcp_ecn to default (2)

This commit is contained in:
Silvan Calarco 2024-11-27 11:45:45 +01:00
parent e8c512dcf2
commit b95e8966ae

View File

@ -20,7 +20,7 @@ net.ipv4.conf.all.log_martians = 1
net.ipv4.conf.all.rp_filter = 1 net.ipv4.conf.all.rp_filter = 1
# Enable ECN (Explicit Congestion Notification) in TCP connections # Enable ECN (Explicit Congestion Notification) in TCP connections
net.ipv4.tcp_ecn = 0 net.ipv4.tcp_ecn = 2
# Enable syncookies to hosts when the kernels syn backlog queue is overflowed # Enable syncookies to hosts when the kernels syn backlog queue is overflowed
net.ipv4.tcp_syncookies = 1 net.ipv4.tcp_syncookies = 1
@ -31,6 +31,9 @@ net.ipv4.icmp_echo_ignore_broadcasts = 1
# Do not log bogus responses to broadcast frames send by hosts that ignore RFC 1122 # Do not log bogus responses to broadcast frames send by hosts that ignore RFC 1122
#net.ipv4.icmp_ignore_bogus_error_responses = 1 #net.ipv4.icmp_ignore_bogus_error_responses = 1
# Ensure TCP window scaling is enabled
net.ipv4.tcp_window_scaling = 1
# Controls the System Request debugging functionality of the kernel # Controls the System Request debugging functionality of the kernel
# kernel.sysrq = 0 # kernel.sysrq = 0
@ -38,7 +41,5 @@ net.ipv4.icmp_echo_ignore_broadcasts = 1
# Useful for debugging multi-threaded applications. # Useful for debugging multi-threaded applications.
kernel.core_uses_pid = 1 kernel.core_uses_pid = 1
net.ipv4.tcp_window_scaling = 0
# Increment default user inotify watches limit # Increment default user inotify watches limit
fs.inotify.max_user_watches=524288 fs.inotify.max_user_watches=524288