From 359e0cfe27a1ba41f5ad443d91e523f5a9f1de30 Mon Sep 17 00:00:00 2001 From: lostcontrol Date: Thu, 22 Feb 2007 21:11:30 +0000 Subject: [PATCH] - Added a new example for vsftpd. Thanks to Christian Rauch git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@552 a942ae1a-1317-0410-a47c-b1dcaea8d605 --- config/jail.conf | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/config/jail.conf b/config/jail.conf index c95e01bb..f2854691 100644 --- a/config/jail.conf +++ b/config/jail.conf @@ -117,6 +117,18 @@ logpath = /var/log/vsftpd.log maxretry = 5 bantime = 1800 +# Same as above but with banning the IP address. + +[vsftpd-iptables] + +enabled = false +filter = vsftpd +action = iptables[name=VSFTPD, port=ftp, protocol=tcp] + mail-whois[name=VSFTPD, dest=yourmail@mail.com] +logpath = /var/log/vsftpd.log +maxretry = 5 +bantime = 1800 + # Ban hosts which agent identifies spammer robots crawling the web # for email addresses. The mail outputs are buffered.