summaryrefslogtreecommitdiff
path: root/fail2ban
diff options
context:
space:
mode:
authorSergey G. Brester <serg.brester@sebres.de>2022-08-01 09:17:53 +0200
committerGitHub <noreply@github.com>2022-08-01 09:17:53 +0200
commit3a8ab0c70aa7a04cae374b8afb7251fc540bc5bf (patch)
tree9f7715c490a39d50c28d19ae3aae7467b96ac3cf /fail2ban
parent7ba8f437f1a8a2bafb0511b8716409ea09d76256 (diff)
downloadfail2ban-3a8ab0c70aa7a04cae374b8afb7251fc540bc5bf.tar.gz
sendmail-auth: coverage for auth-failure without user part
https://github.com/fail2ban/fail2ban/issues/2757#issuecomment-1199948639
Diffstat (limited to 'fail2ban')
-rw-r--r--fail2ban/tests/files/logs/sendmail-auth2
1 files changed, 2 insertions, 0 deletions
diff --git a/fail2ban/tests/files/logs/sendmail-auth b/fail2ban/tests/files/logs/sendmail-auth
index f88cde86..c7cc28de 100644
--- a/fail2ban/tests/files/logs/sendmail-auth
+++ b/fail2ban/tests/files/logs/sendmail-auth
@@ -32,3 +32,5 @@ May 24 01:59:07 server sm-mta[65815]: 14NNx65Q065815: AUTH failure (CRAM-MD5): u
May 29 23:14:04 mail sendmail[5976]: 09DJDgOM005976: AUTH failure (login): authentication failure (-13) SASL(-13): authentication failure: checkpass failed, user=test, relay=host.example.com [192.0.2.7] (may be forged)
# failJSON: { "time": "2005-05-29T23:14:04", "match": true , "host": "192.0.2.8", "desc": "authentication failure, sendmail 8.16.1 (gh-2757)" }
May 29 23:14:04 mail sendmail[5976]: 09DJDgOM005976: AUTH failure (PLAIN): authentication failure (-13) SASL(-13): authentication failure: Password verification failed, user=test, relay=host.example.com [192.0.2.8]
+# failJSON: { "time": "2005-05-29T23:14:05", "match": true , "host": "192.0.2.9", "desc": "authentication failure, no user part (gh-2757)" }
+May 29 23:14:05 server sendmail[25411]: 26H8MRrS025411: AUTH failure (LOGIN): authentication failure (-13) SASL(-13): authentication failure: checkpass failed, relay=[192.0.2.9]