]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
tcp: doc : fix the syncookies default value
authorShan Wei <shanwei88@gmail.com>
Fri, 21 Jun 2013 07:18:32 +0000 (15:18 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Jun 2013 07:26:26 +0000 (00:26 -0700)
syncookies is on for default since in commit e994b7c901
(tcp: Don't make syn cookies initial setting depend on CONFIG_SYSCTL).

And fix a typo of CONFIG_SYN_COOKIES.

Signed-off-by: Shan Wei <davidshan@tencent.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/networking/ip-sysctl.txt

index f98ca633b5282eb838ae1b04f9497e4a4495f198..3458d6343e01de0e66f0d3f2e09efc61bab3b886 100644 (file)
@@ -420,10 +420,10 @@ tcp_synack_retries - INTEGER
        for a passive TCP connection will happen after 63seconds.
 
 tcp_syncookies - BOOLEAN
-       Only valid when the kernel was compiled with CONFIG_SYNCOOKIES
+       Only valid when the kernel was compiled with CONFIG_SYN_COOKIES
        Send out syncookies when the syn backlog queue of a socket
        overflows. This is to prevent against the common 'SYN flood attack'
-       Default: FALSE
+       Default: 1
 
        Note, that syncookies is fallback facility.
        It MUST NOT be used to help highly loaded servers to stand