From: Brian LaMere <brianl@clinicomp.com>
To: linux-audit@redhat.com
Subject: Re: no logging of successful events?
Date: Mon, 18 Aug 2008 12:39:01 -0700 [thread overview]
Message-ID: <1219088341.6522.24.camel@orpheus.clinicomp.com> (raw)
In-Reply-To: <200808181518.34373.sgrubb@redhat.com>
(boo for me not hitting reply-all before)
Fair enough, was just basing from the man page which says:
" To see unsuccessful open call's:
auditctl -a exit,always -S open -F success!=0"
So am I just not understanding the man page well? Clearly I'll have to
take your word for it, you being the maintainer for RH and all, but it
might be the man page itself causing the confusion for lots of people.
Note that I actually got the line from the DoD requirements, which give
that line - if that line isn't present, then they determine that "the
audit system is not configured to audit failed attempts to access files
and programs."
If you're curious, the linux audit requirements in the DoD are publicly
available at
http://iase.disa.mil/stigs/checklist/unix_checklist_v5r1-13_20080715.ZIP
The specific control is defined in PDI GEN002720. They have several
mistakes in that section (the HPUX stuff is wrong too) so I wouldn't be
remotely surprised to find there is an issue with the linux section.
And I just noticed that my example audit rules don't have the -F...on
the systems where it is a problem, the -F is there.
On Mon, 2008-08-18 at 15:18 -0400, Steve Grubb wrote:
> On Monday 18 August 2008 15:09:34 Brian LaMere wrote:
> > So...why is it that "LIST_RULES: exit,always success!=0 syscall=open"
> > doesn't disregard the successful calls?
>
> Because that means log the successful calls. If you only want the unsuccessful
> calls, I'd suggest success = 0. Its easy to confuse the success field with
> exits codes which return 0 for success. This question pops up every now and
> again. :)
>
> -Steve
next prev parent reply other threads:[~2008-08-18 19:39 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-18 19:09 no logging of successful events? Brian LaMere
2008-08-18 19:18 ` Steve Grubb
2008-08-18 19:25 ` Eric Paris
2008-08-18 19:49 ` Brian LaMere
2008-08-18 19:51 ` Eric Paris
2008-08-18 19:39 ` Brian LaMere [this message]
2008-08-18 20:07 ` Steve Grubb
2008-08-18 20:43 ` Brian LaMere
2008-08-18 20:52 ` Steve Grubb
2008-08-18 22:13 ` Brian LaMere
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=1219088341.6522.24.camel@orpheus.clinicomp.com \
--to=brianl@clinicomp.com \
--cc=linux-audit@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