mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
24 lines
696 B
Text
24 lines
696 B
Text
# Fail2Ban configuration file
|
|
#
|
|
# Author: Adrien Beudin
|
|
#
|
|
# $Revision: 2 $
|
|
#
|
|
|
|
[Definition]
|
|
|
|
# Option: failregex
|
|
# Notes.: regex to match the password failure messages in the logfile. The
|
|
# host must be matched by a group named "host". The tag "<HOST>" can
|
|
# be used for standard IP/hostname matching and is only an alias for
|
|
# (?:::f{4,6}:)?(?P<host>[\w\-.^_]+)
|
|
# Values: TEXT
|
|
#
|
|
failregex = helpers.lua:[0-9]+: authenticate\(\): Connection failed for: .*, client: <HOST>
|
|
^<HOST> -.*\"POST /yunohost/api/login HTTP/\d.\d\" 401
|
|
|
|
# Option: ignoreregex
|
|
# Notes.: regex to ignore. If this regex matches, the line is ignored.
|
|
# Values: TEXT
|
|
#
|
|
ignoreregex =
|