HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   The Perfect Server - Debian Squeeze - Fail2ban authentication failure (http://www.howtoforge.com/forums/showthread.php?t=52396)

thavaht 21st April 2011 14:12

The Perfect Server - Debian Squeeze - Fail2ban authentication failure
 
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

erosbk 2nd May 2011 23:30

Please post the contents of:

/etc/fail2ban/jail.local

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

onlinewebs 28th September 2011 18:48

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.

falko 29th September 2011 18:54

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

baskin 27th November 2012 11:11

I have the same problem following the how to here.

Where to look for errors?

Thanks you in advance.

baskin 27th November 2012 11:38

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.


All times are GMT +2. The time now is 08:19.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.