mirror of https://github.com/fail2ban/fail2ban
Use anchored failregex for filters to avoid possible DoS -- exim.conf
parent
369fb55c6d
commit
5c7fc69f5c
|
@ -14,7 +14,14 @@
|
|||
# (?:::f{4,6}:)?(?P<host>[\w\-.^_]+)
|
||||
# Values: TEXT
|
||||
#
|
||||
failregex = \[<HOST>\] .*(?:rejected by local_scan|Unrouteable address)
|
||||
|
||||
# In versions >= 0.8.11 below strings defined in exim-common.conf
|
||||
|
||||
host_info = H=([\w.-]+ )?(\(\S+\) )?\[<HOST>\](:\d+)? (I=\[\S+\]:\d+ )?(U=\S+ )?(P=e?smtp )?
|
||||
pid = ( \[\d+\])?
|
||||
|
||||
failregex = ^%(pid)s %(host_info)ssender verify fail for <\S+>: Unrouteable address\s*$
|
||||
^%(pid)s \S+ F=(<>|\S+@\S+) %(host_info)srejected by local_scan\(\): .{0,256}$
|
||||
|
||||
# Option: ignoreregex
|
||||
# Notes.: regex to ignore. If this regex matches, the line is ignored.
|
||||
|
|
|
@ -8,6 +8,8 @@ fail2ban (0.8.6-3wheezy3) wheezy-security; urgency=high
|
|||
- CVE-2013-7177: cyrus-imap.conf - anchored on the front, and
|
||||
refactored to have a single failregex
|
||||
- couriersmtp.conf - anchored on both sides
|
||||
- exim.conf - front-anchored versions picked up from exim.conf
|
||||
and exim-spam.conf
|
||||
|
||||
-- Yaroslav Halchenko <debian@onerussian.com> Sun, 22 Jun 2014 11:56:54 -0400
|
||||
|
||||
|
|
Loading…
Reference in New Issue