I want to configure the Fail2ban for the MariaDB. I created a "mariadb.conf" file under the "/etc/fail2ban/jail.d" directory with below content:
Code: Select all
[mysqld-auth]
enabled = true
filter = mysqld-auth
port = 3306
maxretry = 3
bantime = 600
logpath = /var/log/mariadb/mariadb.log
Thank you.