public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Timothy Chavez <chavezt@gmail.com>
To: "Valdis.Kletnieks@vt.edu" <Valdis.Kletnieks@vt.edu>
Cc: linux-kernel@vger.kernel.org, serue@us.ltcfwd.linux.ibm.com,
	sds@epoch.ncsc.mil, rml@novell.com, ttb@tentacle.dhs.org
Subject: Re: [audit] Upstream solution for auditing file system objects
Date: Fri, 10 Dec 2004 16:35:10 +0000	[thread overview]
Message-ID: <f2833c760412100835281c3ef9@mail.gmail.com> (raw)
In-Reply-To: <200412101429.iBAETIs9029152@turing-police.cc.vt.edu>

On Fri, 10 Dec 2004 09:29:18 -0500, Valdis.Kletnieks@vt.edu
<Valdis.Kletnieks@vt.edu> wrote:
> On Fri, 10 Dec 2004 00:02:31 GMT, Timothy Chavez said:
> 
> > Over the last two months, I've been given the daunting task of
> > implementing a feature by which an administrator can specify from user
> > space, a list of file system objects (namely regular files and
> > directories) that he/she wishes to audit.
> 
> One *big* question that you don't address at all in your mail:
> 
> Do you need *real time* tracking of changes/etc, in which case inotify or
> something based on it are probably an approach to follow (note that I don't
> think inotify currently deals with read-only access to a file).
> 
> Or do you not care about real-time tracking, but have a requirement to be
> able to go back and say "Oh, at 9:03:38.99342 last Tuesday, user XYZ
> tried to open this file" - if that's what you want, you probably want to
> look at the audit subsystem and its support for syscall auditing.
> 
Valdis,

Thank you for the reply.  There is no need for real-time tracking to
meet this requirement.  You have the right idea with the timestamped
message.

And yes, the audit subsystem that's in existence now is something we
want to work with and improve.  Like I had mentioned earlier, it could
just be a matter of logging the VFS relevant portion ("this
<file/directory> was accessed / altered by") with the same serial
number as the syscall ("open() called under these <conditions>") and
then piecing the entire audit record together in userspace and filter
it accordingly.

The main goal here is to not be redundant and make use of our
resources.  I personally like Robert's idea with the general hooking
framework.  Making the audit subsystem, itself, modular also sounds
like a pretty good idea.

Thanks again!

-- 
- Timothy R. Chavez

      reply	other threads:[~2004-12-10 16:35 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-10  0:02 [audit] Upstream solution for auditing file system objects Timothy Chavez
2004-12-10  1:46 ` Chris Wright
2004-12-10  2:50   ` Timothy Chavez
2004-12-10  3:42     ` Robert Love
2004-12-10  4:38       ` Timothy Chavez
2004-12-10  4:45         ` Robert Love
2004-12-10  4:59       ` Chris Wright
2004-12-10  5:22       ` John McCutchan
2004-12-10  7:36   ` Jan Engelhardt
2004-12-10  2:28 ` James Morris
2004-12-10  5:41 ` John McCutchan
2004-12-10 13:00 ` Paul Rolland
2004-12-10 14:29 ` Valdis.Kletnieks
2004-12-10 16:35   ` Timothy Chavez [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=f2833c760412100835281c3ef9@mail.gmail.com \
    --to=chavezt@gmail.com \
    --cc=Valdis.Kletnieks@vt.edu \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rml@novell.com \
    --cc=sds@epoch.ncsc.mil \
    --cc=serue@us.ltcfwd.linux.ibm.com \
    --cc=ttb@tentacle.dhs.org \
    /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