diff options
author | Damien Miller <djm@mindrot.org> | 2014-07-03 21:29:38 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2014-07-03 21:29:38 +1000 |
commit | 686feb560ec43a06ba04da82b50f3c183c947309 (patch) | |
tree | 2eb2828a5c6c16d2fdede3f4644c811d98e06b57 /auth2.c | |
parent | 0f12341402e18fd9996ec23189b9418d2722453f (diff) |
- djm@cvs.openbsd.org 2014/07/03 11:16:55
[auth.c auth.h auth1.c auth2.c]
make the "Too many authentication failures" message include the
user, source address, port and protocol in a format similar to the
authentication success / failure messages; bz#2199, ok dtucker
Diffstat (limited to 'auth2.c')
-rw-r--r-- | auth2.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: auth2.c,v 1.130 2014/01/29 06:18:35 djm Exp $ */ | 1 | /* $OpenBSD: auth2.c,v 1.131 2014/07/03 11:16:55 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2000 Markus Friedl. All rights reserved. | 3 | * Copyright (c) 2000 Markus Friedl. All rights reserved. |
4 | * | 4 | * |
@@ -362,7 +362,7 @@ userauth_finish(Authctxt *authctxt, int authenticated, const char *method, | |||
362 | #ifdef SSH_AUDIT_EVENTS | 362 | #ifdef SSH_AUDIT_EVENTS |
363 | PRIVSEP(audit_event(SSH_LOGIN_EXCEED_MAXTRIES)); | 363 | PRIVSEP(audit_event(SSH_LOGIN_EXCEED_MAXTRIES)); |
364 | #endif | 364 | #endif |
365 | packet_disconnect(AUTH_FAIL_MSG, authctxt->user); | 365 | auth_maxtries_exceeded(authctxt); |
366 | } | 366 | } |
367 | methods = authmethods_get(authctxt); | 367 | methods = authmethods_get(authctxt); |
368 | debug3("%s: failure partial=%d next methods=\"%s\"", __func__, | 368 | debug3("%s: failure partial=%d next methods=\"%s\"", __func__, |