From: Jonathan Abbey Subject: Re: File watching Date: Tue, 20 Jun 2006 13:10:24 -0500 Message-ID: <20060620181024.GA31078@arlut.utexas.edu> References: <4498360A.7090807@ornl.gov> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1755376058==" Return-path: Received: from mx3.redhat.com (mx3.redhat.com [172.16.48.32]) by int-mx1.corp.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k5KIAc3H003564 for ; Tue, 20 Jun 2006 14:10:38 -0400 Received: from ns2.arlut.utexas.edu (ns2.arlut.utexas.edu [146.6.211.1]) by mx3.redhat.com (8.13.1/8.13.1) with ESMTP id k5KIASXR023888 for ; Tue, 20 Jun 2006 14:10:28 -0400 In-Reply-To: <4498360A.7090807@ornl.gov> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com To: Steve Cc: linux-audit@redhat.com List-Id: linux-audit@redhat.com --===============1755376058== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DocE+STaALJfprDB" Content-Disposition: inline --DocE+STaALJfprDB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 20, 2006 at 01:53:14PM -0400, Steve wrote: | I have audit set to monitor all system calls for a file. I see some=20 | system calls for it, but I think some may be missing... If I create the= =20 | file using vi, I only see an open followed by a stat64. Shouldn't there= =20 | be a write of some type? stat and open can't write to a file, can they? Generally (and I'm speaking from my experience with Snare, here), one does not attempt to audit the actual read and write syscalls. Mainly because there are far, far too many of them, and you need their performance to be as high as conceivably possible. Instead, you audit the file open, and make a note of whether the file was opened read-only, or for read/write. If it was opened for read/write, one presumes that it was written to. Jon | Thanks, | Steve --=20 ---------------------------------------------------------------------------= ---- Jonathan Abbey jonabbey@arlut.utexas.edu Applied Research Laboratories The University of Texas at Au= stin GPG Key: 71767586 at keyserver pgp.mit.edu, http://www.ganymeta.org/workkey= .gpg --DocE+STaALJfprDB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQFEmDoQGI9EwHF2dYYRAq5QAJ9k/CVtMjdVFJlk8FpVVrpJ531IkACfZya+ GcL5D7nizkgA+okd4+EqjA4= =JRO+ -----END PGP SIGNATURE----- --DocE+STaALJfprDB-- --===============1755376058== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============1755376058==--