[an error occurred while processing this directive]

Chapter 7. Hooks for External Programs

Table of Contents

1. Pipes
2. System V message queue
3. Calling external programs
3.1. Example setup for paging

samhain provides several hooks for external programs for (re-)processing the audit trail, including pipes, a System V message queue, and the option to call external programs.

1. Pipes

It is possible to use named pipes as 'console' device(s) ( samhain supports up to two console devices, both of which may be named pipes. You can set the device path at compile time (see Section 6 ), and/or in the configuration file (see Section 8 ).

[Note]Pipe full

(Since version 4.0) samhain will do a nonblocking write. If the pipe is full, the write will silently fail and the message will be lost.

[an error occurred while processing this directive]