So i tried putting this in jail.local and restarting fail2ban but no go.
[apache] enabled = true port = https filter = apache-auth logpath = /var/log/apache*/*error.log maxretry = 5 [apache] enabled = true port = https filter = apache-auth logpath = /var/log/apache*/*access.log maxretry = 5
I am trying to monitor access to htpasswd/htaccess.
(In this case I don't use .htaccess just htpasswd and apacheconfigs because the root directory is on another server.)
I noticed when I did
tail -f /var/log/apache2/error.log
That it would pick up my failed attempts to log in, but after 5+ failed attempts It would still take my proper login credentials. Any tips ?? Thank you !
echo y | sudo apt-get install fail2ban && sudo cp /etc/fail2ban/jail.conf /etc/fail2ban/jail.local && sudo nano /etc/fail2ban/jail.local
OS: Ubuntu Server 14.04.03 x32