From 6ad84a587e6177b7c8af101b4806a1fc5f8c082b Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sat, 4 Apr 2020 12:13:15 +0200 Subject: sshban: add new evil regex error: maximum authentication attempts exceeded --- sshban.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sshban.py b/sshban.py index 0ac8c56..0479764 100755 --- a/sshban.py +++ b/sshban.py @@ -31,6 +31,7 @@ regexes = { r'^Invalid user .* from (\S+)', r'^Failed password .* from (\S+)', r'^PAM .* authentication failure .* rhost=(\S+)', + r'^error: maximum authentication attempts exceeded\b.* from (\S+)', ], IFF_GRAY : [ r'^Received disconnect from (\S+)', -- cgit v1.2.3