Thanks, Marcello, for your reply.
Yes, I discovered yesterday that store-and-forward ("mode=forward" in
audisp-remote.conf) was implemented in version 2.1, in March 2011.
Unfortunately, it is taking a while to be in Debian and Ubuntu.
The older versions allow you to specify the queue length, but that would
appear to have no effect. It just seemed to be in the format of the
config file in anticipation of store-and-forward being available.
It is audispd that is complaining. Funny that it says "audispd: queue is
full - dropping event" when it is not using a queue.
Anyway, I am left with several possibilities:
1. Upgrade to a recent version (which?), even though the distribution
does not support it.
2. Up the priority-boost in auditd.conf and/or audispd.conf.
3. Write the log locally and then have something monitor the file. What?
4. Can auditd use rsyslog?
Any suggestions?
Michael
-------
On Mon, 2012-07-30 at 10:17 -0300, Marcelo Cerri wrote:
Hi Michael,
Which component is complaining that the queue is full, audispd or
audisp-remote? audisp-remote is used for remote logging and I'm not sure
if this is your case. Can you provide us more information about this?
I took a quick look at the source code of version 1.7.18 of
audisp-remote and it actually just supports "immediate" mode. Probably
"forward" mode is supported by lately versions.
If audispd is complaining about its queue (instead of audisp-remote),
you can try to increase the value of q_depth in the audispd.conf file.
Regards,
Marcelo
On 07/28/2012 10:22 PM, Michael Mather wrote:
> I am using Ubuntu 12.04, which uses version 1.7.18 of auditd.
>
> Audispd is complaining that the queue is full and it is dropping events.
>
> According to the man page for audisp-remote.conf (as found at
>
linux.die.net), the parameter "mode" can be set to "immediate"
or
> "forward". "forward" means that events are buffered in a queue.
>
> I found that "mode" was set to "immediate", and the queue did
not exist.
>
> But when I try to set the value as "forward" and restart auditd,
> audisp-remote complains that "Option forward not found". And the queue
> still gets full.
>
> Last October, Steve was writing about how big the queue might be on this
> very site.
>
> Can someone explain what is going on?
>
> Thanks - Michael
> ----------------
>
>
> --
> Linux-audit mailing list
> Linux-audit(a)redhat.com
>
https://www.redhat.com/mailman/listinfo/linux-audit
>