From c981ae98538f2208ff618126fc0d91e71d35e1dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yves=20R=C5=B1tschl=C3=A9?= Date: Sat, 29 Oct 2022 22:31:24 +0200 Subject: [PATCH] update log format to actually catch ssh bruteforcing (fix #359) --- scripts/fail2ban/sslh-ssh.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/fail2ban/sslh-ssh.conf b/scripts/fail2ban/sslh-ssh.conf index 65da48a..45d2584 100644 --- a/scripts/fail2ban/sslh-ssh.conf +++ b/scripts/fail2ban/sslh-ssh.conf @@ -16,7 +16,7 @@ [Definition] -failregex = ^.+ sslh\[.+\]: connection from :.+ to .+ forwarded +failregex = ^.+ sslh\[.+\]: ssh:connection from :.+ to .+ forwarded from .+ to .+:ssh\s*$ ignoreregex =