performance optimization for the DOS protection.
authorTobias Brunner <tobias@strongswan.org>
Tue, 25 Nov 2008 13:16:05 +0000 (13:16 -0000)
committerTobias Brunner <tobias@strongswan.org>
Tue, 25 Nov 2008 13:16:05 +0000 (13:16 -0000)
commited6146ffbe3c798a49ff178d4448548240cbeb38
treedbdf7166dcebbb1d121b9da89f5802cd1d6c1472
parent28dd27be64d5a22fb37e95d9bf0358aa8b7ce024
performance optimization for the DOS protection.
 * half-open SAs per peer are tracked in a hash table
 * charon.dos_protection setting replaced with charon.cookie_threshold and charon.block_threshold
 * chunk_hash function added
src/charon/network/receiver.c
src/charon/sa/ike_sa.c
src/charon/sa/ike_sa_manager.c
src/libstrongswan/chunk.c
src/libstrongswan/chunk.h