]> git.ipfire.org Git - thirdparty/hostap.git/commit
RADIUS server: Increase maximum number of sessions
authorJouni Malinen <j@w1.fi>
Tue, 27 Dec 2016 10:14:48 +0000 (12:14 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 27 Dec 2016 10:14:48 +0000 (12:14 +0200)
commit35677305896cd3561deaf84ac513258104b67e93
tree3ca9358c252fe0e8a2ead7b2c3b930f83316c152
parenta5861afcbd3c464a1d6c90fdb83ecbac1fbfe966
RADIUS server: Increase maximum number of sessions

It was possible to hit the previously used maximum of 100 active session
in some hwsim test case sequences like this one: eap_proto_pwd_errors
eap_proto_ikev2_errors eap_proto_sim_errors. This happened due to the
large number of RADIUS authentication iterations in short period of
time, i.e., within the 10 second timeout for expiring completed
sessions.

Increase RADIUS_MAX_SESSION from 100 to 1000 and also reduce the timeout
on expiring completed sessions from 10 to 5 seconds.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/radius/radius_server.c