2014-02-26 08:16:49 +00:00
|
|
|
# Fail2Ban filter for sendmail authentication failures
|
|
|
|
#
|
|
|
|
|
|
|
|
[INCLUDES]
|
|
|
|
|
|
|
|
before = common.conf
|
|
|
|
|
|
|
|
[Definition]
|
|
|
|
|
2018-01-10 13:48:25 +00:00
|
|
|
_daemon = (?:sendmail|sm-(?:mta|acceptingconnections))
|
2014-02-26 08:16:49 +00:00
|
|
|
|
|
|
|
failregex = ^%(__prefix_line)s\w{14}: (\S+ )?\[<HOST>\]( \(may be forged\))?: possible SMTP attack: command=AUTH, count=\d+$
|
|
|
|
|
|
|
|
ignoreregex =
|
|
|
|
|
2016-10-03 22:26:11 +00:00
|
|
|
[Init]
|
|
|
|
|
|
|
|
journalmatch = _SYSTEMD_UNIT=sendmail.service
|
|
|
|
|
2014-02-26 08:16:49 +00:00
|
|
|
# DEV Notes:
|
|
|
|
#
|
|
|
|
# Author: Daniel Black
|