summaryrefslogtreecommitdiffstats
path: root/usr.sbin/switchd/switchd.c
diff options
context:
space:
mode:
authorbluhm <bluhm@openbsd.org>2016-07-20 09:15:28 +0000
committerbluhm <bluhm@openbsd.org>2016-07-20 09:15:28 +0000
commit68bdd82fbe0d11bdc613288f9b8cbe13ae56fca2 (patch)
tree7129cf094451fb044dcc85be0ae0fade197a3792 /usr.sbin/switchd/switchd.c
parentFix typo (diff)
downloadwireguard-openbsd-68bdd82fbe0d11bdc613288f9b8cbe13ae56fca2.tar.xz
wireguard-openbsd-68bdd82fbe0d11bdc613288f9b8cbe13ae56fca2.zip
Make the size for the syn cache hash array tunable. As we are
swapping between two syn caches for random reseeding anyway, this feature can be added easily. When the cache is empty, there is an opportunity to change the hash size. This allows an admin under SYN flood attack to defend his machine. Suggested by claudio@; OK jung@ claudio@ jmc@
Diffstat (limited to 'usr.sbin/switchd/switchd.c')
0 files changed, 0 insertions, 0 deletions