diff options
author | Darren Tucker <dtucker@zip.com.au> | 2011-01-17 21:15:27 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2011-01-17 21:15:27 +1100 |
commit | ea52a829699e981a58a69a77342e7ca3715a5f5b (patch) | |
tree | 425c4f3bbd3c691479e707431e0caf8458573b97 /audit.h | |
parent | 263d43d2a58f0fc4cf211808410560c8c3e451d2 (diff) |
- (dtucker) [LICENCE Makefile.in audit-bsm.c audit-linux.c audit.c audit.h
configure.ac defines.h loginrec.c] Bug #1402: add linux audit subsystem
support, based on patches from Tomas Mraz and jchadima at redhat.
Diffstat (limited to 'audit.h')
-rw-r--r-- | audit.h | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $Id: audit.h,v 1.3 2006/08/05 14:05:10 dtucker Exp $ */ | 1 | /* $Id: audit.h,v 1.4 2011/01/17 10:15:30 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. |
@@ -26,6 +26,9 @@ | |||
26 | 26 | ||
27 | #ifndef _SSH_AUDIT_H | 27 | #ifndef _SSH_AUDIT_H |
28 | # define _SSH_AUDIT_H | 28 | # define _SSH_AUDIT_H |
29 | |||
30 | #include "loginrec.h" | ||
31 | |||
29 | enum ssh_audit_event_type { | 32 | enum ssh_audit_event_type { |
30 | SSH_LOGIN_EXCEED_MAXTRIES, | 33 | SSH_LOGIN_EXCEED_MAXTRIES, |
31 | SSH_LOGIN_ROOT_DENIED, | 34 | SSH_LOGIN_ROOT_DENIED, |
@@ -46,8 +49,8 @@ typedef enum ssh_audit_event_type ssh_audit_event_t; | |||
46 | 49 | ||
47 | void audit_connection_from(const char *, int); | 50 | void audit_connection_from(const char *, int); |
48 | void audit_event(ssh_audit_event_t); | 51 | void audit_event(ssh_audit_event_t); |
49 | void audit_session_open(const char *); | 52 | void audit_session_open(struct logininfo *); |
50 | void audit_session_close(const char *); | 53 | void audit_session_close(struct logininfo *); |
51 | void audit_run_command(const char *); | 54 | void audit_run_command(const char *); |
52 | ssh_audit_event_t audit_classify_auth(const char *); | 55 | ssh_audit_event_t audit_classify_auth(const char *); |
53 | 56 | ||