mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
- Added qmail and postfix filters
- Updated vsftpd and couriersmtp git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@331 a942ae1a-1317-0410-a47c-b1dcaea8d605
This commit is contained in:
parent
43376d81bb
commit
3b5a67e1cb
5 changed files with 32 additions and 2 deletions
2
MANIFEST
2
MANIFEST
|
|
@ -48,6 +48,8 @@ config/filter.d/vsftpd.conf
|
|||
config/filter.d/apache-auth.conf
|
||||
config/filter.d/sshd.conf
|
||||
config/filter.d/couriersmtp.conf
|
||||
config/filter.d/qmail.conf
|
||||
config/filter.d/postfix.conf
|
||||
config/action.d/iptables.conf
|
||||
config/action.d/mail-whois.conf
|
||||
config/action.d/dummy.conf
|
||||
|
|
|
|||
|
|
@ -9,6 +9,6 @@
|
|||
|
||||
# Option: failregex
|
||||
# Notes.: regex to match the password failures messages in the logfile.
|
||||
# Values: TEXT Default: Authentication failure|Failed password|Invalid user
|
||||
# Values: TEXT Default:
|
||||
#
|
||||
failregex = error,relay=(?:::f{4,6}:)?(?P<host>\S*),.*550 User unknown
|
||||
|
|
|
|||
14
config/filter.d/postfix.conf
Normal file
14
config/filter.d/postfix.conf
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
# Fail2Ban configuration file
|
||||
#
|
||||
# Author: Cyril Jaquier
|
||||
#
|
||||
# $Revision: 267 $
|
||||
#
|
||||
|
||||
[Definition]
|
||||
|
||||
# Option: failregex
|
||||
# Notes.: regex to match the password failures messages in the logfile.
|
||||
# Values: TEXT Default:
|
||||
#
|
||||
failregex = reject: RCPT from (.*)\[(?P<host>\S*)\]: 554
|
||||
14
config/filter.d/qmail.conf
Normal file
14
config/filter.d/qmail.conf
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
# Fail2Ban configuration file
|
||||
#
|
||||
# Author: Cyril Jaquier
|
||||
#
|
||||
# $Revision: 267 $
|
||||
#
|
||||
|
||||
[Definition]
|
||||
|
||||
# Option: failregex
|
||||
# Notes.: regex to match the password failures messages in the logfile.
|
||||
# Values: TEXT Default:
|
||||
#
|
||||
failregex = (?:[\d,.]+[\d,.] rblsmtpd: |421 badiprbl: ip )(?P<host>\S*)
|
||||
|
|
@ -11,4 +11,4 @@
|
|||
# Notes.: regex to match the password failures messages in the logfile.
|
||||
# Values: TEXT Default: Authentication failure|Failed password|Invalid user
|
||||
#
|
||||
failregex = FAIL LOGIN
|
||||
failregex = vsftpd: \(pam_unix\) authentication failure; .* rhost=(?P<host>\S*)
|
||||
|
|
|
|||
Loading…
Reference in a new issue