From 99a5d78e3766cd8cf247a047611cfb293426af82 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Tue, 9 Apr 2013 18:03:34 -0400 Subject: [PATCH] ENH: for consistency (and future expansion ;)) -- rename to mysqld-auth --- config/filter.d/{mysqld.conf => mysqld-auth.conf} | 0 config/jail.conf | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) rename config/filter.d/{mysqld.conf => mysqld-auth.conf} (100%) diff --git a/config/filter.d/mysqld.conf b/config/filter.d/mysqld-auth.conf similarity index 100% rename from config/filter.d/mysqld.conf rename to config/filter.d/mysqld-auth.conf diff --git a/config/jail.conf b/config/jail.conf index 4c1528f1..4399d0bd 100644 --- a/config/jail.conf +++ b/config/jail.conf @@ -345,13 +345,13 @@ action = iptables-multiport[name=asterisk-udp, port="5060,5061", protocol=udp] logpath = /var/log/asterisk/messages maxretry = 10 -# For log wrong MySQL access add to /etc/my.cnf: +# To log wrong MySQL access attempts add to /etc/my.cnf: # log-error=/var/log/mysqld.log # log-warning = 2 [mysqld-iptables] enabled = false -filter = mysqld +filter = mysqld-auth action = iptables[name=mysql, port=3306, protocol=tcp] sendmail-whois[name=MySQL, dest=root, sender=fail2ban@example.com] logpath = /var/log/mysqld.log