summaryrefslogtreecommitdiffstats
path: root/share/man/man4/audit.4
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2006-02-06 20:27:00 +0000
committerrwatson <rwatson@FreeBSD.org>2006-02-06 20:27:00 +0000
commit652ce929ec455d62e865cf9799400b3b9d0b1200 (patch)
treedc76610ab4a4676e184c2277ea37d1e8c10ac854 /share/man/man4/audit.4
parent28413db3299a91e14182bb3d0a2cf20e3554a425 (diff)
downloadFreeBSD-src-652ce929ec455d62e865cf9799400b3b9d0b1200.zip
FreeBSD-src-652ce929ec455d62e865cf9799400b3b9d0b1200.tar.gz
Clarify and expand on some of the points about audit pipe devices.
Discussed with: remko
Diffstat (limited to 'share/man/man4/audit.4')
-rw-r--r--share/man/man4/audit.424
1 files changed, 15 insertions, 9 deletions
diff --git a/share/man/man4/audit.4 b/share/man/man4/audit.4
index 6fedd98..3d29d927 100644
--- a/share/man/man4/audit.4
+++ b/share/man/man4/audit.4
@@ -62,17 +62,23 @@ to monitor for audit events, such as requests to cycle the log, low disk
space conditions, and requests to terminate auditing.
This device is not intended for use by applications.
.Ss Audit Pipe Special Devices
-The kernel audit facility also provides a clonable special device,
+While audit trail files maintained by
+.Xr auditd 8
+provide a reliable long-term store for audit log information, current log
+files are owned by the audit daemon until terminated making them somewhat
+unwieldy for live montoring applications such as host-based intrusion
+detection.
+For example, the log may be cycled and new records written to a new file
+without notice to applications that may be accessing the file.
+.Pp
+The audit facility provides an audit pipe facility for applications requiring
+direct access to live BSM audit data for the purposes of real-time
+monitoring.
+Audit pipes are available via a clonable special device,
.Pa /dev/auditpipe ,
-which allows appropriately privileged applications to gain direct access to
-the BSM audit stream without accessing audit trail files.
-As audit trail files are owned by the audit daemon until terminated, they
-are an unreliable way for applications to access live audit data; this
-special device inserts a
+subject to the permissions on the device node, and provide a
.Qq tee
-in the audit event stream.
-This facility is appropriate for use by live monitoring tools, including
-intrusion detection.
+of the audit event stream.
As the device is clonable, more than one instance of the device may be opened
at a time; each device instance will provide access to all records.
.Pp
OpenPOWER on IntegriCloud