error if failregex add to jail config

Bug #635036 reported by Marat Khayrullin on 2010-09-10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
fail2ban (Debian)
Fix Released
fail2ban (Ubuntu)
Nominated for Lucid by Marat Khayrullin

Bug Description

Binary package hint: fail2ban

fail2ban doesn't start if failregex option added to jail config:


enabled = true
filter = sieve
logpath = /var/log/mail.log
maxretry = 5
failregex = dovecot.*auth\(default\): .*\(.*,<HOST>\): unknown user
action = iptables-multiport[name=IMAP, port="imap,imaps,sieve", protocol=tcp]

2010-09-10 14:24:57,158 fail2ban.comm : WARNING Invalid command: ['set', 'dovecot', 'failregex', 'dovecot.*auth\\(default\\): .*\\(.*,<HOST>\\): unknown user']

# lsb_release -rd
Description: Ubuntu 10.04.1 LTS
Release: 10.04

# apt-cache policy fail2ban
  Installed: 0.8.4-1ubuntu1
  Candidate: 0.8.4-1ubuntu1
  Version table:
 *** 0.8.4-1ubuntu1 0
        500 lucid/universe Packages
        100 /var/lib/dpkg/status

Marat Khayrullin (xmm) wrote :
tags: added: patch
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package fail2ban - 0.8.4+svn20110323-1ubuntu1

fail2ban (0.8.4+svn20110323-1ubuntu1) oneiric; urgency=low

  * Forward-port patch from Marat Khayrullin to fix fail2ban not starting
    if failregex is specified in a jail config. (LP: #635036)
 -- Daniel T Chen <email address hidden> Thu, 28 Jul 2011 17:07:43 -0400

Changed in fail2ban (Ubuntu):
status: New → Fix Released
Daniel T Chen (crimsun) on 2011-07-28
tags: added: patch-forwarded-debian
removed: patch
Changed in fail2ban (Debian):
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.