From c3ee03b9ba7e1a868f70f36a7f1a1f0a630a0d57 Mon Sep 17 00:00:00 2001 From: Daniel Black Date: Wed, 18 Sep 2013 07:32:26 +1000 Subject: [PATCH] BF: fix daemon name typo for filter proftpd --- config/filter.d/proftpd.conf | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/config/filter.d/proftpd.conf b/config/filter.d/proftpd.conf index d3120216..66e4b6e7 100644 --- a/config/filter.d/proftpd.conf +++ b/config/filter.d/proftpd.conf @@ -6,31 +6,17 @@ [INCLUDES] -# Read common prefixes. If any customizations available -- read them from -# common.local before = common.conf - [Definition] -_deamon = proftpd - -# Option: failregex -# Notes.: regex to match the password failures messages in the logfile. The -# host must be matched by a group named "host". The tag "" can -# be used for standard IP/hostname matching and is only an alias for -# (?:::f{4,6}:)?(?P[\w\-.^_]+) -# Values: TEXT -# +_daemon = proftpd __suffix_failed_login = (User not authorized for login|No such user found|Incorrect password|Password expired|Account disabled|Invalid shell: '\S+'|User in \S+|Limit (access|configuration) denies login|Not a UserAlias|maximum login length exceeded).? + failregex = ^%(__prefix_line)s%(__hostname)s \(\S+\[\]\)[: -]+ USER .*: no such user found from \S+ \[\S+\] to \S+:\S+ *$ ^%(__prefix_line)s%(__hostname)s \(\S+\[\]\)[: -]+ USER .* \(Login failed\): %(__suffix_failed_login)s\s*$ ^%(__prefix_line)s%(__hostname)s \(\S+\[\]\)[: -]+ SECURITY VIOLATION: .* login attempted\. *$ ^%(__prefix_line)s%(__hostname)s \(\S+\[\]\)[: -]+ Maximum login attempts \(\d+\) exceeded *$ -# Option: ignoreregex -# Notes.: regex to ignore. If this regex matches, the line is ignored. -# Values: TEXT -# ignoreregex =