Module Name: src Committed By: christos Date: Thu Mar 20 18:43:03 UTC 2025
Modified Files: src/crypto/external/bsd/openssh/dist: auth.c Log Message: PR/59108; Jose Luis Duran: Reset the blocklist counter after successful authentication To generate a diff of this commit: cvs rdiff -u -r1.37 -r1.38 src/crypto/external/bsd/openssh/dist/auth.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/crypto/external/bsd/openssh/dist/auth.c diff -u src/crypto/external/bsd/openssh/dist/auth.c:1.37 src/crypto/external/bsd/openssh/dist/auth.c:1.38 --- src/crypto/external/bsd/openssh/dist/auth.c:1.37 Tue Oct 8 21:49:20 2024 +++ src/crypto/external/bsd/openssh/dist/auth.c Thu Mar 20 14:43:03 2025 @@ -1,4 +1,4 @@ -/* $NetBSD: auth.c,v 1.37 2024/10/09 01:49:20 rin Exp $ */ +/* $NetBSD: auth.c,v 1.38 2025/03/20 18:43:03 christos Exp $ */ /* $OpenBSD: auth.c,v 1.162 2024/09/15 01:18:26 djm Exp $ */ /* @@ -26,7 +26,7 @@ */ #include "includes.h" -__RCSID("$NetBSD: auth.c,v 1.37 2024/10/09 01:49:20 rin Exp $"); +__RCSID("$NetBSD: auth.c,v 1.38 2025/03/20 18:43:03 christos Exp $"); #include <sys/types.h> #include <sys/stat.h> #include <sys/socket.h> @@ -388,8 +388,11 @@ auth_log(struct ssh *ssh, int authentica authmsg = "Postponed"; else if (partial) authmsg = "Partial"; - else + else { authmsg = authenticated ? "Accepted" : "Failed"; + if (authenticated) + pfilter_notify(0); + } if ((extra = format_method_key(authctxt)) == NULL) { if (authctxt->auth_method_info != NULL)