summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorShan Wei <shanwei88@gmail.com>2013-06-21 15:18:32 +0800
committerDavid S. Miller <davem@davemloft.net>2013-06-24 00:26:26 -0700
commita3c910d2e796ce878231350b904105261a8cf09c (patch)
tree5464f7c1e3b04d799b42baa9c58f78d8346cb785 /Documentation
parent4eb313a7a939a983c525648227b5fe0a9d41679f (diff)
downloadlinux-3.10-a3c910d2e796ce878231350b904105261a8cf09c.tar.gz
linux-3.10-a3c910d2e796ce878231350b904105261a8cf09c.tar.bz2
linux-3.10-a3c910d2e796ce878231350b904105261a8cf09c.zip
tcp: doc : fix the syncookies default value
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>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/networking/ip-sysctl.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/networking/ip-sysctl.txt b/Documentation/networking/ip-sysctl.txt
index f98ca633b52..3458d6343e0 100644
--- a/Documentation/networking/ip-sysctl.txt
+++ b/Documentation/networking/ip-sysctl.txt
@@ -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