I want some how to block automatically several incorrect login attempts.
Now I'm trying to do that with fail2ban but for now with no success because I don't understand much of regex could you help me some how.
/var/log/directadmin/security.log
(some date) has tried to log in * times, unsuccessfully, this time into *
/etc/fail2ban/jail.conf
action = iptables-multiport[name=direct_admin, port="2222", protocol=tcp]
I need a little more help.
Now I'm trying to do that with fail2ban but for now with no success because I don't understand much of regex could you help me some how.
/var/log/directadmin/security.log
(some date) has tried to log in * times, unsuccessfully, this time into *
/etc/fail2ban/jail.conf
action = iptables-multiport[name=direct_admin, port="2222", protocol=tcp]
I need a little more help.