Skip to content

Commit ec10bda

Browse files
Add AUDIT_RESP_ORIGIN_BLOCK & AUDIT_RESP_ORIGIN_BLOCK_TIMED events
1 parent 71aaf24 commit ec10bda

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

ChangeLog

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
- In auparse python bindings, expose some new types that were missing
66
- In normalizer, pickup subject kind for user_login events
77
- Fix interpretation of unknown ioctcmds (#1540507)
8+
- Add AUDIT_RESP_ORIGIN_BLOCK & AUDIT_RESP_ORIGIN_BLOCK_TIMED events
89

910
2.8.2
1011
- Update tables for 4.14 kernel

lib/libaudit.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* libaudit.h --
2-
* Copyright 2004-2017 Red Hat Inc., Durham, North Carolina.
2+
* Copyright 2004-2018 Red Hat Inc., Durham, North Carolina.
33
* All Rights Reserved.
44
*
55
* This library is free software; you can redistribute it and/or
@@ -179,6 +179,8 @@ extern "C" {
179179
#define AUDIT_RESP_EXEC 2210 /* Execute a script */
180180
#define AUDIT_RESP_SINGLE 2211 /* Go to single user mode */
181181
#define AUDIT_RESP_HALT 2212 /* take the system down */
182+
#define AUDIT_RESP_ORIGIN_BLOCK 2213 /* Address blocked by iptables */
183+
#define AUDIT_RESP_ORIGIN_BLOCK_TIMED 2214 /* Address blocked for time */
182184

183185
#define AUDIT_FIRST_USER_LSPP_MSG 2300
184186
#define AUDIT_LAST_USER_LSPP_MSG 2399

lib/msg_typetab.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* msg_typetab.h --
2-
* Copyright 2005-07,2009-17 Red Hat Inc., Durham, North Carolina.
2+
* Copyright 2005-07,2009-18 Red Hat Inc., Durham, North Carolina.
33
* All Rights Reserved.
44
*
55
* This library is free software; you can redistribute it and/or
@@ -192,6 +192,8 @@ _S(AUDIT_RESP_SEBOOL, "RESP_SEBOOL" )
192192
_S(AUDIT_RESP_EXEC, "RESP_EXEC" )
193193
_S(AUDIT_RESP_SINGLE, "RESP_SINGLE" )
194194
_S(AUDIT_RESP_HALT, "RESP_HALT" )
195+
_S(AUDIT_RESP_ORIGIN_BLOCK, "RESP_ORIGIN_BLOCK" )
196+
_S(AUDIT_RESP_ORIGIN_BLOCK_TIMED, "RESP_ORIGIN_BLOCK_TIMED" )
195197
_S(AUDIT_USER_ROLE_CHANGE, "USER_ROLE_CHANGE" )
196198
_S(AUDIT_ROLE_ASSIGN, "ROLE_ASSIGN" )
197199
_S(AUDIT_ROLE_REMOVE, "ROLE_REMOVE" )

0 commit comments

Comments
 (0)