View Single Post
  #7  
Old 10th August 2007, 20:23
Jarek Buczyński Jarek Buczyński is offline
Junior Member
 
Join Date: Jun 2007
Posts: 8
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Hi,

It isn't important you have iptables configured or no. Fail2ban adds its own rules make own chains. If you have firewall or don't have it should work.

Look once again at config:

Code:
FAIL - jail.local:
[pureftpd]
enabled  = true
port     = ftp
filter   = pureftpd
logpath  = /var/log/auth.log
maxretry = 3

FAIL - filter.d/pureftpd.conf:
[Definition]
failregex = .*pure-ftpd: \(.*@<HOST>\) \[WARNING\] Authentication failed for user.*
gnoreregex =


/etc/init.d/fail2ban restart
Should work
Reply With Quote