2013-10-30 13:02:59 +00:00
|
|
|
# Fail2Ban filter for pureftp
|
2007-03-19 20:32:28 +00:00
|
|
|
#
|
2014-01-05 00:24:20 +00:00
|
|
|
# Disable hostname based logging by:
|
2007-03-19 20:32:28 +00:00
|
|
|
#
|
2014-01-05 00:24:20 +00:00
|
|
|
# Start pure-ftpd with the -H switch or on Ubuntu 'echo yes > /etc/pure-ftpd/conf/DontResolve'
|
2007-03-19 20:32:28 +00:00
|
|
|
#
|
2014-01-05 00:24:20 +00:00
|
|
|
#
|
|
|
|
|
2013-09-17 12:24:56 +00:00
|
|
|
[INCLUDES]
|
|
|
|
|
|
|
|
before = common.conf
|
2007-03-19 20:32:28 +00:00
|
|
|
|
|
|
|
[Definition]
|
|
|
|
|
|
|
|
# Error message specified in multiple languages
|
|
|
|
__errmsg = (?:Authentication failed for user|Erreur d'authentification pour l'utilisateur)
|
|
|
|
|
2013-09-17 12:24:56 +00:00
|
|
|
failregex = ^%(__prefix_line)s\(.+?@<HOST>\) \[WARNING\] %(__errmsg)s \[.+\]\s*$
|
2007-03-19 20:32:28 +00:00
|
|
|
|
|
|
|
ignoreregex =
|
|
|
|
|
2013-10-30 13:02:59 +00:00
|
|
|
# Author: Cyril Jaquier
|
|
|
|
# Modified: Yaroslav Halchenko for pure-ftpd
|
2014-01-05 00:24:20 +00:00
|
|
|
# Documentation thanks to Blake on http://www.fail2ban.org/wiki/index.php?title=Fail2ban:Community_Portal
|