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.