summaryrefslogtreecommitdiff
path: root/audit.h
diff options
context:
space:
mode:
Diffstat (limited to 'audit.h')
-rw-r--r--audit.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/audit.h b/audit.h
index 2c1437391..78e58966f 100644
--- a/audit.h
+++ b/audit.h
@@ -1,4 +1,4 @@
1/* $Id: audit.h,v 1.1 2005/02/02 13:37:14 dtucker Exp $ */ 1/* $Id: audit.h,v 1.2 2005/02/08 10:52:48 dtucker Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2004, 2005 Darren Tucker. All rights reserved. 4 * Copyright (c) 2004, 2005 Darren Tucker. All rights reserved.
@@ -29,20 +29,20 @@
29#ifndef _SSH_AUDIT_H 29#ifndef _SSH_AUDIT_H
30# define _SSH_AUDIT_H 30# define _SSH_AUDIT_H
31enum ssh_audit_event_type { 31enum ssh_audit_event_type {
32 LOGIN_EXCEED_MAXTRIES, 32 SSH_LOGIN_EXCEED_MAXTRIES,
33 LOGIN_ROOT_DENIED, 33 SSH_LOGIN_ROOT_DENIED,
34 AUTH_SUCCESS, 34 SSH_AUTH_SUCCESS,
35 AUTH_FAIL_NONE, 35 SSH_AUTH_FAIL_NONE,
36 AUTH_FAIL_PASSWD, 36 SSH_AUTH_FAIL_PASSWD,
37 AUTH_FAIL_KBDINT, /* keyboard-interactive or challenge-response */ 37 SSH_AUTH_FAIL_KBDINT, /* keyboard-interactive or challenge-response */
38 AUTH_FAIL_PUBKEY, /* ssh2 pubkey or ssh1 rsa */ 38 SSH_AUTH_FAIL_PUBKEY, /* ssh2 pubkey or ssh1 rsa */
39 AUTH_FAIL_HOSTBASED, /* ssh2 hostbased or ssh1 rhostsrsa */ 39 SSH_AUTH_FAIL_HOSTBASED, /* ssh2 hostbased or ssh1 rhostsrsa */
40 AUTH_FAIL_GSSAPI, 40 SSH_AUTH_FAIL_GSSAPI,
41 INVALID_USER, 41 SSH_INVALID_USER,
42 NOLOGIN, /* denied by /etc/nologin, not implemented */ 42 SSH_NOLOGIN, /* denied by /etc/nologin, not implemented */
43 CONNECTION_CLOSE, /* closed after attempting auth or session */ 43 SSH_CONNECTION_CLOSE, /* closed after attempting auth or session */
44 CONNECTION_ABANDON, /* closed without completing auth */ 44 SSH_CONNECTION_ABANDON, /* closed without completing auth */
45 AUDIT_UNKNOWN 45 SSH_AUDIT_UNKNOWN
46}; 46};
47typedef enum ssh_audit_event_type ssh_audit_event_t; 47typedef enum ssh_audit_event_type ssh_audit_event_t;
48 48