summaryrefslogtreecommitdiff
path: root/audit.h
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2005-02-08 21:52:47 +1100
committerDarren Tucker <dtucker@zip.com.au>2005-02-08 21:52:47 +1100
commit2e0cf0dca20e56eb5d95a80ba0004769c5bc4ba7 (patch)
treed03f7560b26c36b6afd48ffb962775b6424fee72 /audit.h
parentb4d3012d2e9a0eb53c56565108c8278e45cefc77 (diff)
downloadopenssh-git-2e0cf0dca20e56eb5d95a80ba0004769c5bc4ba7.tar.gz
- (dtucker) [audit.c audit.h auth.c auth1.c auth2.c loginrec.c monitor.c
monitor_wrap.c monitor_wrap.h session.c sshd.c]: Prepend all of the audit defines and enums with SSH_ to prevent namespace collisions on some platforms (eg AIX).
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 2c143739..78e58966 100644
--- a/audit.h
+++ b/audit.h
@@ -1,4 +1,4 @@
-/* $Id: audit.h,v 1.1 2005/02/02 13:37:14 dtucker Exp $ */
+/* $Id: audit.h,v 1.2 2005/02/08 10:52:48 dtucker Exp $ */
/*
* Copyright (c) 2004, 2005 Darren Tucker. All rights reserved.
@@ -29,20 +29,20 @@
#ifndef _SSH_AUDIT_H
# define _SSH_AUDIT_H
enum ssh_audit_event_type {
- LOGIN_EXCEED_MAXTRIES,
- LOGIN_ROOT_DENIED,
- AUTH_SUCCESS,
- AUTH_FAIL_NONE,
- AUTH_FAIL_PASSWD,
- AUTH_FAIL_KBDINT, /* keyboard-interactive or challenge-response */
- AUTH_FAIL_PUBKEY, /* ssh2 pubkey or ssh1 rsa */
- AUTH_FAIL_HOSTBASED, /* ssh2 hostbased or ssh1 rhostsrsa */
- AUTH_FAIL_GSSAPI,
- INVALID_USER,
- NOLOGIN, /* denied by /etc/nologin, not implemented */
- CONNECTION_CLOSE, /* closed after attempting auth or session */
- CONNECTION_ABANDON, /* closed without completing auth */
- AUDIT_UNKNOWN
+ SSH_LOGIN_EXCEED_MAXTRIES,
+ SSH_LOGIN_ROOT_DENIED,
+ SSH_AUTH_SUCCESS,
+ SSH_AUTH_FAIL_NONE,
+ SSH_AUTH_FAIL_PASSWD,
+ SSH_AUTH_FAIL_KBDINT, /* keyboard-interactive or challenge-response */
+ SSH_AUTH_FAIL_PUBKEY, /* ssh2 pubkey or ssh1 rsa */
+ SSH_AUTH_FAIL_HOSTBASED, /* ssh2 hostbased or ssh1 rhostsrsa */
+ SSH_AUTH_FAIL_GSSAPI,
+ SSH_INVALID_USER,
+ SSH_NOLOGIN, /* denied by /etc/nologin, not implemented */
+ SSH_CONNECTION_CLOSE, /* closed after attempting auth or session */
+ SSH_CONNECTION_ABANDON, /* closed without completing auth */
+ SSH_AUDIT_UNKNOWN
};
typedef enum ssh_audit_event_type ssh_audit_event_t;