version 1.25, 2002/09/09 06:48:06 |
version 1.26, 2002/09/09 14:54:15 |
|
|
static u_char *key_blob = NULL; |
static u_char *key_blob = NULL; |
static u_int key_bloblen = 0; |
static u_int key_bloblen = 0; |
static int key_blobtype = MM_NOKEY; |
static int key_blobtype = MM_NOKEY; |
static u_char *hostbased_cuser = NULL; |
static char *hostbased_cuser = NULL; |
static u_char *hostbased_chost = NULL; |
static char *hostbased_chost = NULL; |
static char *auth_method = "unknown"; |
static char *auth_method = "unknown"; |
static int session_id2_len = 0; |
static int session_id2_len = 0; |
static u_char *session_id2 = NULL; |
static u_char *session_id2 = NULL; |
|
|
mm_answer_keyallowed(int socket, Buffer *m) |
mm_answer_keyallowed(int socket, Buffer *m) |
{ |
{ |
Key *key; |
Key *key; |
u_char *cuser, *chost, *blob; |
char *cuser, *chost; |
|
u_char *blob; |
u_int bloblen; |
u_int bloblen; |
enum mm_keytype type = 0; |
enum mm_keytype type = 0; |
int allowed = 0; |
int allowed = 0; |
|
|
monitor_valid_userblob(u_char *data, u_int datalen) |
monitor_valid_userblob(u_char *data, u_int datalen) |
{ |
{ |
Buffer b; |
Buffer b; |
u_char *p; |
char *p; |
u_int len; |
u_int len; |
int fail = 0; |
int fail = 0; |
|
|
|
|
} |
} |
|
|
static int |
static int |
monitor_valid_hostbasedblob(u_char *data, u_int datalen, u_char *cuser, |
monitor_valid_hostbasedblob(u_char *data, u_int datalen, char *cuser, |
u_char *chost) |
char *chost) |
{ |
{ |
Buffer b; |
Buffer b; |
u_char *p; |
char *p; |
u_int len; |
u_int len; |
int fail = 0; |
int fail = 0; |
|
|