1
# Fail2Ban configuration file for unsuccesfull MySQL authentication attempts
3
# Authors: Artur Penttinen
4
# Yaroslav O. Halchenko
9
# Read common prefixes. If any customizations available -- read them from
19
# Notes.: regex to match the password failures messages in the logfile. The
20
# host must be matched by a group named "host". The tag "<HOST>" can
21
# be used for standard IP/hostname matching and is only an alias for
22
# (?:::f{4,6}:)?(?P<host>[\w\-.^_]+)
24
# 130322 11:26:54 [Warning] Access denied for user 'root'@'127.0.0.1' (using password: YES)
25
failregex = Access denied for user '\w+'@'<HOST>' (to database '[^']*'|\(using password: (YES|NO)\))*\s*$
28
# Notes.: regex to ignore. If this regex matches, the line is ignored.