diff options
author | 2014-07-03 11:16:55 +0000 | |
---|---|---|
committer | 2014-07-03 11:16:55 +0000 | |
commit | 2f1e2083969e4558a30b72a8e4016cbe3fe3678b (patch) | |
tree | 7191b6d59807400ce3a0d14c9a9f26797807599d /usr.bin/ssh/auth1.c | |
parent | Revert back to 1.129: pool_init() is called before rwlocks can be (diff) | |
download | wireguard-openbsd-2f1e2083969e4558a30b72a8e4016cbe3fe3678b.tar.xz wireguard-openbsd-2f1e2083969e4558a30b72a8e4016cbe3fe3678b.zip |
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 'usr.bin/ssh/auth1.c')
-rw-r--r-- | usr.bin/ssh/auth1.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/auth1.c b/usr.bin/ssh/auth1.c index 6d01c52e637..0b3615162d4 100644 --- a/usr.bin/ssh/auth1.c +++ b/usr.bin/ssh/auth1.c @@ -1,4 +1,4 @@ -/* $OpenBSD: auth1.c,v 1.80 2014/02/02 03:44:31 djm Exp $ */ +/* $OpenBSD: auth1.c,v 1.81 2014/07/03 11:16:55 djm Exp $ */ /* * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland * All rights reserved @@ -297,7 +297,7 @@ do_authloop(Authctxt *authctxt) return; if (++authctxt->failures >= options.max_authtries) - packet_disconnect(AUTH_FAIL_MSG, authctxt->user); + auth_maxtries_exceeded(authctxt); packet_start(SSH_SMSG_FAILURE); packet_send(); |