version 1.34, 2002/03/18 17:50:31 |
version 1.35, 2002/03/19 10:35:39 |
|
|
void (*free_ctx)(void *ctx); |
void (*free_ctx)(void *ctx); |
}; |
}; |
|
|
int auth_rhosts(struct passwd *, const char *); |
int auth_rhosts(struct passwd *, const char *); |
int |
int |
auth_rhosts2(struct passwd *, const char *, const char *, const char *); |
auth_rhosts2(struct passwd *, const char *, const char *, const char *); |
|
|
|
|
int auth_password(Authctxt *, const char *); |
int auth_password(Authctxt *, const char *); |
int auth_rsa(struct passwd *, BIGNUM *); |
int auth_rsa(struct passwd *, BIGNUM *); |
int auth_rsa_challenge_dialog(Key *); |
int auth_rsa_challenge_dialog(Key *); |
|
BIGNUM *auth_rsa_generate_challenge(Key *); |
|
int auth_rsa_verify_response(Key *, BIGNUM *, u_char[]); |
|
int auth_rsa_key_allowed(struct passwd *, BIGNUM *, Key **); |
|
|
|
int auth_rhosts_rsa_key_allowed(struct passwd *, char *, char *, Key *); |
|
int hostbased_key_allowed(struct passwd *, const char *, char *, Key *); |
|
int user_key_allowed(struct passwd *, Key *); |
|
|
#ifdef KRB4 |
#ifdef KRB4 |
#include <krb.h> |
#include <krb.h> |
int auth_krb4(Authctxt *, KTEXT, char **); |
int auth_krb4(Authctxt *, KTEXT, char **); |
|
|
|
|
int auth2_challenge(Authctxt *, char *); |
int auth2_challenge(Authctxt *, char *); |
void auth2_challenge_stop(Authctxt *); |
void auth2_challenge_stop(Authctxt *); |
|
int bsdauth_query(void *, char **, char **, u_int *, char ***, u_int **); |
|
int bsdauth_respond(void *, u_int, char **); |
|
int skey_query(void *, char **, char **, u_int *, char ***, u_int **); |
|
int skey_respond(void *, u_int, char **); |
|
|
int allowed_user(struct passwd *); |
int allowed_user(struct passwd *); |
struct passwd * getpwnamallow(const char *user); |
struct passwd * getpwnamallow(const char *user); |
|
|
HostStatus |
HostStatus |
check_key_in_hostfiles(struct passwd *, Key *, const char *, |
check_key_in_hostfiles(struct passwd *, Key *, const char *, |
const char *, const char *); |
const char *, const char *); |
|
|
|
/* hostkey handling */ |
|
Key *get_hostkey_by_index(int); |
|
Key *get_hostkey_by_type(int); |
|
int get_hostkey_index(Key *); |
|
int ssh1_session_key(BIGNUM *); |
|
|
#define AUTH_FAIL_MAX 6 |
#define AUTH_FAIL_MAX 6 |
#define AUTH_FAIL_LOG (AUTH_FAIL_MAX/2) |
#define AUTH_FAIL_LOG (AUTH_FAIL_MAX/2) |