File tree 2 files changed +12
-3
lines changed 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -2,13 +2,13 @@ Future roadmap (subject to change):
2
2
===================================
3
3
3.1
4
4
* Basic HIDS based on reactive audit component
5
+ * Multi-thread audisp-remote
5
6
* Add keywords for time: month-ago, this-hour, last-hour
6
7
* If searching user/group doesn't map to uid/gid, do translated string search
7
8
* In auditd, look into non-blocking handling of write to plugins
8
9
* Support multiple time streams when searching
9
10
10
11
3.2
11
- * Multi-thread audisp-remote
12
12
* Container support
13
13
* Support TLS PSK as remote logging transport
14
14
* Add rule verify to detect mismatch between in-kernel and on-disk rules
Original file line number Diff line number Diff line change 30
30
* It will print things to stdout. In a real program, you wouldn't
31
31
* do anything with stdout since that is likely to be pointing to /dev/null.
32
32
*
33
- * Excluding some init/destroy items you might need to add to main, the
33
+ * Excluding some init/destroy items you might need to add to main, the
34
34
* event_handler function is the main place that you would modify to do
35
- * things specific to your plugin.
35
+ * things specific to your plugin.
36
36
*
37
+ * Also, note that for a "real" plugin, you may have to add an internal queue
38
+ * to your application. If plugins do any kind of networking or in depth
39
+ * processing of incoming events, auditd's internal queue can overflow because
40
+ * the socket connecting to the plugin's stdin get backed up. When audit has
41
+ * nowhere to put events, the kernel's audit backlog can get filled up.
42
+ * If that happens, the backlog_wait_time is consulted by the kernel which
43
+ * may have the effect of slowing down the whole system. A good design would be
44
+ * to have 2 threads, one watching for inbound events and one doing the
45
+ * processing of the events with a configurable queue in between.
37
46
*/
38
47
39
48
#define _GNU_SOURCE
You can’t perform that action at this time.
0 commit comments