Changeset View
Changeset View
Standalone View
Standalone View
crypto/openssh/auth.c
Context not available. | |||||
#include "authfile.h" | #include "authfile.h" | ||||
#include "ssherr.h" | #include "ssherr.h" | ||||
#include "compat.h" | #include "compat.h" | ||||
#ifdef USE_BLACKLIST | |||||
#include "blacklist_client.h" | |||||
#endif | |||||
/* import */ | /* import */ | ||||
extern ServerOptions options; | extern ServerOptions options; | ||||
Context not available. | |||||
compat20 ? "ssh2" : "ssh1", | compat20 ? "ssh2" : "ssh1", | ||||
authctxt->info != NULL ? ": " : "", | authctxt->info != NULL ? ": " : "", | ||||
authctxt->info != NULL ? authctxt->info : ""); | authctxt->info != NULL ? authctxt->info : ""); | ||||
#ifdef USE_BLACKLIST | |||||
if (!authctxt->postponed) | |||||
blacklist_notify(!authenticated); | |||||
#endif | |||||
free(authctxt->info); | free(authctxt->info); | ||||
authctxt->info = NULL; | authctxt->info = NULL; | ||||
Context not available. | |||||
} | } | ||||
#endif | #endif | ||||
if (pw == NULL) { | if (pw == NULL) { | ||||
#ifdef USE_BLACKLIST | |||||
blacklist_notify(1); | |||||
#endif | |||||
logit("Invalid user %.100s from %.100s", | logit("Invalid user %.100s from %.100s", | ||||
user, get_remote_ipaddr()); | user, get_remote_ipaddr()); | ||||
#ifdef CUSTOM_FAILED_LOGIN | #ifdef CUSTOM_FAILED_LOGIN | ||||
Context not available. |