mirror of https://github.com/fail2ban/fail2ban
25 lines
632 B
Plaintext
25 lines
632 B
Plaintext
# Fail2Ban filter for pureftp
|
|
#
|
|
# Disable hostname based logging by:
|
|
#
|
|
# Start pure-ftpd with the -H switch or on Ubuntu 'echo yes > /etc/pure-ftpd/conf/DontResolve'
|
|
#
|
|
#
|
|
|
|
[INCLUDES]
|
|
|
|
before = common.conf
|
|
|
|
[Definition]
|
|
|
|
# Error message specified in multiple languages
|
|
__errmsg = (?:Authentication failed for user|Erreur d'authentification pour l'utilisateur)
|
|
|
|
failregex = ^%(__prefix_line)s\(.+?@<HOST>\) \[WARNING\] %(__errmsg)s \[.+\]\s*$
|
|
|
|
ignoreregex =
|
|
|
|
# Author: Cyril Jaquier
|
|
# Modified: Yaroslav Halchenko for pure-ftpd
|
|
# Documentation thanks to Blake on http://www.fail2ban.org/wiki/index.php?title=Fail2ban:Community_Portal
|