From: Miloslav Trmac <mitr@redhat.com>
To: Steve Grubb <sgrubb@redhat.com>
Cc: linux-audit <linux-audit@redhat.com>
Subject: Re: [patches] Implement mode=forward in audisp-remote
Date: Thu, 24 Mar 2011 09:38:08 -0400 (EDT) [thread overview]
Message-ID: <2112309240.493015.1300973888446.JavaMail.root@zmail07.collab.prod.int.phx2.redhat.com> (raw)
In-Reply-To: <201103221343.57665.sgrubb@redhat.com>
[-- Attachment #1: Type: text/plain, Size: 213 bytes --]
Hello,
----- Original Message -----
> I set the suggested persistent queue to: /var/spool/audit/remote.log.
Right, that is a better default location. The attached patch updates the path in other places.
Mirek
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: audisp-remote.patch --]
[-- Type: text/x-patch; name=audisp-remote.patch, Size: 1617 bytes --]
Index: audisp/plugins/remote/audisp-remote.c
===================================================================
--- audisp/plugins/remote/audisp-remote.c (revision 470)
+++ audisp/plugins/remote/audisp-remote.c (working copy)
@@ -358,7 +358,7 @@
if (config.queue_file != NULL)
path = config.queue_file;
else
- path = "/var/lib/auditd-remote/queue";
+ path = "/var/spool/audit/remote.log";
q_flags = Q_IN_MEMORY;
if (config.mode == M_STORE_AND_FORWARD)
/* FIXME: let user control Q_SYNC? */
Index: audisp/plugins/remote/audisp-remote.conf.5
===================================================================
--- audisp/plugins/remote/audisp-remote.conf.5 (revision 470)
+++ audisp/plugins/remote/audisp-remote.conf.5 (working copy)
@@ -25,9 +25,6 @@
.IR tcp ,
the remote logging app will just make a normal clear text connection to the remote system. This is not used if kerberos is enabled.
.TP
-.I queue_file
-This is the absolute path to the file to be used as a persistent queue.
-.TP
.I mode
This parameter tells the remote logging app what strategy to use getting records to the remote system. Valid values are
.IR immediate ", and " forward " .
@@ -42,7 +39,7 @@
.I queue_file
Path of a file used for the event queue if
.I mode
-is set to \fIforward\fP. The default is \fB/var/lib/auditd-remote/queue\fP.
+is set to \fIforward\fP. The default is \fB/var/spool/audit/remote.log\fP.
.TP
.I queue_depth
This option is an unsigned integer that determines how many records can be buffered to disk or in memory before considering it to be a failure sending. This parameter affects the
[-- Attachment #3: Type: text/plain, Size: 0 bytes --]
prev parent reply other threads:[~2011-03-24 13:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1864744184.428047.1300532843837.JavaMail.root@zmail07.collab.prod.int.phx2.redhat.com>
2011-03-19 11:09 ` [patches] Implement mode=forward in audisp-remote Miloslav Trmac
2011-03-22 17:43 ` Steve Grubb
2011-03-24 13:38 ` Miloslav Trmac [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2112309240.493015.1300973888446.JavaMail.root@zmail07.collab.prod.int.phx2.redhat.com \
--to=mitr@redhat.com \
--cc=linux-audit@redhat.com \
--cc=sgrubb@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox