summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2020-04-04 12:13:15 +0200
committerAnton Khirnov <anton@khirnov.net>2020-04-04 12:13:15 +0200
commit6ad84a587e6177b7c8af101b4806a1fc5f8c082b (patch)
tree898f6aa296fc9d81f8e6dd869076d768ee651754
parenta28f06a06cd6ead092652988e99ffb58bf780e0c (diff)
sshban: add new evil regex
error: maximum authentication attempts exceeded
-rwxr-xr-xsshban.py1
1 files changed, 1 insertions, 0 deletions
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+)',