mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 16:57:00 +08:00
Added max-password-retries config option
That makes the number of retries prior to banning the IP configurable.
This commit is contained in:
committed by
Nikos Mavrogiannopoulos
parent
108d34f613
commit
b300177eb7
@@ -198,6 +198,10 @@ auth-timeout = 40
|
||||
# a failed authentication attempt.
|
||||
min-reauth-time = 120
|
||||
|
||||
# The maximum number of password retries before applying the min-reauth-time
|
||||
# delay. Set to zero to disable.
|
||||
max-password-retries = 5
|
||||
|
||||
# Cookie timeout (in seconds)
|
||||
# Once a client is authenticated he's provided a cookie with
|
||||
# which he can reconnect. That cookie will be invalided if not
|
||||
|
||||
Reference in New Issue
Block a user