diff --git a/ChangeLog b/ChangeLog index a54fc0fa..f626c12f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -71,6 +71,7 @@ ver. 0.8.11 (2013/XX/XXX) - loves-unittests * filter.d/recidive -- support f2b syslog target and anchor regex at start * filter.d/pam-generic - added syslog prefix. Disabled support for linux-pam before version 0.99.2.0 (2005) + * filter.d/gssftpd - anchored regex at start Daniel Black & Georgiy Mernov & ftoppi & Мернов Георгий * filter.d/exim.conf -- regex hardening and extra failure examples in sample logs diff --git a/config/filter.d/gssftpd.conf b/config/filter.d/gssftpd.conf index e6c2e84a..5bce817b 100644 --- a/config/filter.d/gssftpd.conf +++ b/config/filter.d/gssftpd.conf @@ -1,19 +1,18 @@ -# Fail2Ban configuration file for wuftpd +# Fail2Ban configuration file for gssftp # -# Author: Kevin Zembower (copied from wsftpd.conf) +# Author: Kevin Zembower +# Edited: Daniel Black - syslog based daemon # +# Note: gssftp is part of the krb5-appl-servers in Fedora # +[INCLUDES] + +before = common.conf [Definition] -# Option: failregex -# Notes.: regex to match the password failures messages in the logfile. -# Values: TEXT -# -failregex = ftpd(?:\[\d+\])?:\s+repeated login failures from \(\S+\)$ +_daemon = ftpd + +failregex = ^%(__prefix_line)srepeated login failures from \(\S+\)$ -# Option: ignoreregex -# Notes.: regex to ignore. If this regex matches, the line is ignored. -# Values: TEXT -# ignoreregex =