Skip to content

Commit a3c910d

Browse files
shanweidavem330
authored andcommitted
tcp: doc : fix the syncookies default value
syncookies is on for default since in commit e994b7c (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>
1 parent 4eb313a commit a3c910d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/networking/ip-sysctl.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -420,10 +420,10 @@ tcp_synack_retries - INTEGER
420420
for a passive TCP connection will happen after 63seconds.
421421

422422
tcp_syncookies - BOOLEAN
423-
Only valid when the kernel was compiled with CONFIG_SYNCOOKIES
423+
Only valid when the kernel was compiled with CONFIG_SYN_COOKIES
424424
Send out syncookies when the syn backlog queue of a socket
425425
overflows. This is to prevent against the common 'SYN flood attack'
426-
Default: FALSE
426+
Default: 1
427427

428428
Note, that syncookies is fallback facility.
429429
It MUST NOT be used to help highly loaded servers to stand

0 commit comments

Comments
 (0)