void-packages/srcpkgs/ufw/patches/0001-use-default-tcp-syncoo...

16 lines
540 B
Diff
Raw Normal View History

Origin: r972
Description: don't override distribution defaults for TCP syncookies
Index: ufw-0.35/conf/sysctl.conf
===================================================================
--- ufw-0.35.orig/conf/sysctl.conf
+++ ufw-0.35/conf/sysctl.conf
@@ -39,7 +39,7 @@ net/ipv4/conf/all/log_martians=0
# Change to '1' to enable TCP/IP SYN cookies This disables TCP Window Scaling
# (http://lkml.org/lkml/2008/2/5/167)
-net/ipv4/tcp_syncookies=0
+#net/ipv4/tcp_syncookies=1
#net/ipv4/tcp_fin_timeout=30
#net/ipv4/tcp_keepalive_intvl=1800