mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
ENH: mysql syslog jail.conf base
This commit is contained in:
parent
2d1bd54439
commit
6b6169178f
1 changed files with 8 additions and 0 deletions
|
|
@ -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 a new issue