Skip to content

Commit

Permalink
sysctl: Remove net.ipv4.tcp_syncookies
Browse files Browse the repository at this point in the history
This is the default value. No reason to enforce a default, especially if its in a package where it can be
overrided anyway from /etc or from cmdline.

Signed-off-by: Eric Naim <[email protected]>
  • Loading branch information
1Naim authored and ptr1337 committed Nov 26, 2024
1 parent cf85034 commit ab0dcb2
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions usr/lib/sysctl.d/99-cachyos-settings.conf
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,6 @@ kernel.kexec_load_disabled = 1
# Using the value 3 instead of the default 1 allows TCP Fast Open for both incoming and outgoing connections:
net.ipv4.tcp_fastopen = 3

# TCP SYN cookie protection
# Helps protect against SYN flood attacks. Only kicks in when net.ipv4.tcp_max_syn_backlog is reached:
net.ipv4.tcp_syncookies = 1

# TCP Enable ECN Negotiation by default
net.ipv4.tcp_ecn = 1

Expand Down

0 comments on commit ab0dcb2

Please sign in to comment.