Running Debian 8.6, fail2ban installed 10/10 as below - intended to front guacamole / apache2 HTTPS proxy on same client.
cd ~
git clone https://github.com/fail2ban/fail2ban
cd fail2ban
python setup.py install
cp files/debian-initd /etc/init.d/fail2ban
systemctl daemon-reload
jail.local file:
[guacamole]
enabled = true
port = http,https,8080
logpath = /var/log/tomcat*/catalina.out
Guacamole also installed from source (via git clone), as-per here.
With default configuration failed logins are not detected, with a revised failregex in the guacamole.conf failed logins are detected.
# This does not work (default)
# failregex = ^.*\nWARNING: Authentication attempt from <HOST> for user "[^"]*" failed\.$ to this:
# correct failregex
failregex = \bAuthentication attempt from \[<HOST>(?:,.*)?\] for user ".*" failed\.
I found the revised failregex here.
Running Debian 8.6, fail2ban installed 10/10 as below - intended to front guacamole / apache2 HTTPS proxy on same client.
jail.local file:
Guacamole also installed from source (via git clone), as-per here.
With default configuration failed logins are not detected, with a revised failregex in the guacamole.conf failed logins are detected.
I found the revised failregex here.