Commit ac519af3 authored by Ruzal Gimazov's avatar Ruzal Gimazov

Add name to jail.conf

parent c3562202
[eterban]
enabled = false
filter = nginx-limit-req
action = eterban
......@@ -66,7 +66,7 @@ enabled = true
filter = sshd
#action = iptables[name=SSH, protocol=tcp]
# sendmail-whois[name=server-SSH, dest=lav@etersoft.ru, sender=sysadm@etersoft.ru]
action = eterban
action = eterban[name=ssh-iptables]
logpath = /var/log/messages
maxretry = 5
findtime = 4000
......@@ -79,7 +79,7 @@ enabled = true
filter = sshd-ddos
#action = iptables-allports[name=SSHDDOS, protocol=tcp]
# sendmail-whois[name=server-SSHDDOS, dest=lav@etersoft.ru, sender=sysadm@etersoft.ru]
action = eterban
action = eterban[name=ssh-ddos-iptables]
logpath = /var/log/messages
maxretry = 4
findtime = 60
......@@ -148,7 +148,7 @@ enabled = true
filter = vsftpd
#action = iptables[name=VSFTPD, protocol=tcp]
# sendmail-whois[name=server-SSH, dest=lav@etersoft.ru, sender=sysadm@etersoft.ru]
action = eterban
action = eterban[name=vsftpd-iptables]
logpath = /var/log/vsftpd.log
findtime = 60
maxretry = 5
......
[nginx-limit-req]
enabled = true
port = http
filter = nginx-limit-req
action = iptables-resend
maxretry = 0
bantime = 1
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment