Public bug reported:
/etc/fail2ban/filter.d/dovecot.conf contains an error (Ubuntu 14.04.1
LTS):
root@umbar:~# fail2ban-regex /var/log/syslog
/etc/fail2ban/filter.d/dovecot.conf
Running tests
=
Use failregex file : /etc/fail2ban/filter.d/dovecot.conf
Traceback (most recent call last):
File /usr/bin/fail2ban-regex, line 415, in module
fail2banRegex.readRegex(cmd_regex, 'fail') or sys.exit(-1)
File /usr/bin/fail2ban-regex, line 226, in readRegex
'add%sRegex' % regextype.title())(regex.getFailRegex())
File /usr/share/fail2ban/server/filter.py, line 92, in addFailRegex
raise e
server.failregex.RegexException: Unable to compile regular expression
'^\s*([^.]+\.[^.]+)?\s*(?:\S+ )?(?:kernel: \[\d+\.\d+\] )?(?:@vserver_\S+
)?(?:(?:\[\d+\])?:\s+[\[\(]?(auth|dovecot(-auth)?|auth-worker)(?:\(\S+\))?[\]\)]?:?|[\[\(]?(auth|dovecot(-auth)?|auth-worker)(?:\(\S+\))?[\]\)]?:?(?:\[\d+\])?:?)?\s(?:\[ID
\d+ \S+\])?\s*(pop3|imap)-login: Login: user=.+, method=PLAIN,
rip=(?:::f{4,6}:)?(?Phost[\w\-.^_]*\w), lip=(\d{1,3}\.){3}\d{1,3}(, mpid=\d+'
** Affects: fail2ban (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1355619
Title:
Error in /etc/fail2ban/filter.d/dovecot.conf
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fail2ban/+bug/1355619/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs