version 1.109, 2015/01/20 23:14:00 |
version 1.110, 2015/02/25 17:29:38 |
|
|
void |
void |
auth_maxtries_exceeded(Authctxt *authctxt) |
auth_maxtries_exceeded(Authctxt *authctxt) |
{ |
{ |
packet_disconnect("Too many authentication failures for " |
error("maximum authentication attempts exceeded for " |
"%s%.100s from %.200s port %d %s", |
"%s%.100s from %.200s port %d %s", |
authctxt->valid ? "" : "invalid user ", |
authctxt->valid ? "" : "invalid user ", |
authctxt->user, |
authctxt->user, |
get_remote_ipaddr(), |
get_remote_ipaddr(), |
get_remote_port(), |
get_remote_port(), |
compat20 ? "ssh2" : "ssh1"); |
compat20 ? "ssh2" : "ssh1"); |
|
packet_disconnect("Too many authentication failures"); |
/* NOTREACHED */ |
/* NOTREACHED */ |
} |
} |
|
|