tcp: add tcp_syncookies mode to allow unconditionally generation of syncookies
authorHannes Frederic Sowa <hannes@stressinduktion.org>
Fri, 26 Jul 2013 15:43:23 +0000 (17:43 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 30 Jul 2013 23:15:18 +0000 (16:15 -0700)
commit5ad37d5deee1ff7150a2d0602370101de158ad86
tree602cac8fe98e0911753b7ff0485756962c2d232a
parentdcfd8d5830f8cc9062eb7040f455c034e8d160e6
tcp: add tcp_syncookies mode to allow unconditionally generation of syncookies

| If you want to test which effects syncookies have to your
| network connections you can set this knob to 2 to enable
| unconditionally generation of syncookies.

Original idea and first implementation by Eric Dumazet.

Cc: Florian Westphal <fw@strlen.de>
Cc: David Miller <davem@davemloft.net>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/networking/ip-sysctl.txt
net/ipv4/tcp_ipv4.c
net/ipv6/tcp_ipv6.c