mirror of https://github.com/fail2ban/fail2ban
ENH: mysql syslog jail.conf base
parent
2d1bd54439
commit
6b6169178f
|
@ -365,6 +365,14 @@ action = iptables[name=mysql, port=3306, protocol=tcp]
|
|||
logpath = /var/log/mysqld.log
|
||||
maxretry = 5
|
||||
|
||||
# If using mysql syslog [mysql_safe] has syslog in /etc/my.cnf
|
||||
[mysqld-syslog-iptables]
|
||||
|
||||
enabled = false
|
||||
filter = mysqld-auth
|
||||
action = iptables[name=mysql, port=3306, protocol=tcp]
|
||||
logpath = /var/log/daemon.log
|
||||
maxretry = 5
|
||||
|
||||
# Jail for more extended banning of persistent abusers
|
||||
# !!! WARNING !!!
|
||||
|
|
Loading…
Reference in New Issue