The Perfect Server - Debian Squeeze - Fail2ban authentication failure

Discussion in 'HOWTO-Related Questions' started by thavaht, Apr 21, 2011.

  1. thavaht

    thavaht New Member

    Hi,

    Ater set up The Perfect Server - Debian Squeeze [ISPConfig 3] i get this:
    Code:
    ~# /etc/init.d/fail2ban restart
    Restarting authentication failure monitor: fail2ban.
    
    I've double checked all configuration and all seems ok.
    Trere's no errors on /var/log/syslog nor /var/log/mail.log. Ihave googled a lot. Can you point me what, where to check?

    TIA

    thavaht
     
  2. erosbk

    erosbk New Member

    Please post the contents of:

    /etc/fail2ban/jail.local

    and of every file in /etc/fail2ban/filter.d/
     
  3. onlinewebs

    onlinewebs New Member

    Hi,

    I would not like to hijack someones thread, but I presume that he has got the system working and therefore no further comments have been posted here.

    I have exactly the same problem on Debian 6.
    Code:
    /etc/init.d/fail2ban restart
    Restarting authentication failure monitor: fail2ban.
    My /etc/fail2ban/jail.local file reads as follows:-
    Code:
    [pureftpd]
    
    enabled  = true
    port     = ftp
    filter   = pureftpd
    logpath  = /var/log/syslog
    maxretry = 3
    
    
    [sasl]
    
    enabled  = true
    port     = smtp
    filter   = sasl
    logpath  = /var/log/mail.log
    maxretry = 5
    
    
    [courierpop3]
    
    enabled  = true
    port     = pop3
    filter   = courierpop3
    logpath  = /var/log/mail.log
    maxretry = 5
    
    
    [courierpop3s]
    
    enabled  = true
    port     = pop3s
    filter   = courierpop3s
    logpath  = /var/log/mail.log
    maxretry = 5
    
    
    [courierimap]
    
    enabled  = true
    port     = imap2
    filter   = courierimap
    logpath  = /var/log/mail.log
    maxretry = 5
    
    
    [courierimaps]
    
    enabled  = true
    port     = imaps
    filter   = courierimaps
    logpath  = /var/log/mail.log
    maxretry = 5
    
    Any help would be greatly appreciated.

    Thanks.
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Any errors in your logs (in the /var/log/ directory)?
     
  5. baskin

    baskin Member

    I have the same problem following the how to here.

    Where to look for errors?

    Thanks you in advance.
     
  6. baskin

    baskin Member

    The jail.local file in the how to has to be changed so the following line is:

    Code:
    filter   = pure-ftpd
    Please make the change.

    After that fail2ban starts successfully.
     

Share This Page