Added max-password-retries config option

That makes the number of retries prior to banning the IP
configurable.
This commit is contained in:
Nikos Mavrogiannopoulos
2015-02-14 09:35:26 +01:00
committed by Nikos Mavrogiannopoulos
parent 108d34f613
commit b300177eb7
5 changed files with 20 additions and 3 deletions

View File

@@ -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