mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 08:46:58 +08:00
config: increased the default max-ban-score to 8 wrong password attempts
This still prevents abuse, while allowing few more attempts than 5, which are typically easily reached through software which remembers passwords. At the same time increase the default ban time to 20 minutes. Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
This commit is contained in:
@@ -328,10 +328,10 @@ min-reauth-time = 300
|
||||
# locally from an HTTP server (i.e., when listen-clear-file is used).
|
||||
#
|
||||
# Set to zero to disable.
|
||||
max-ban-score = 50
|
||||
max-ban-score = 80
|
||||
|
||||
# The time (in seconds) that all score kept for a client is reset.
|
||||
ban-reset-time = 300
|
||||
ban-reset-time = 1200
|
||||
|
||||
# In case you'd like to change the default points.
|
||||
#ban-points-wrong-password = 10
|
||||
|
||||
Reference in New Issue
Block a user