From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael C Thompson Subject: Re: auditctl usage for filter lists: "user" , "watch" and "exclude" Date: Thu, 18 May 2006 09:59:24 -0500 Message-ID: <446C8BCC.1020002@us.ibm.com> References: <446C8915.20606@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by int-mx1.corp.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k4IExbCl009414 for ; Thu, 18 May 2006 10:59:37 -0400 Received: from e6.ny.us.ibm.com (e6.ny.us.ibm.com [32.97.182.146]) by mx1.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k4IExZ4A014853 for ; Thu, 18 May 2006 10:59:35 -0400 Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [9.56.227.234]) by e6.ny.us.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id k4IExUZX012323 for ; Thu, 18 May 2006 10:59:30 -0400 Received: from d01av03.pok.ibm.com (d01av03.pok.ibm.com [9.56.224.217]) by d01relay02.pok.ibm.com (8.12.10/NCO/VER6.8) with ESMTP id k4IExRuh197626 for ; Thu, 18 May 2006 10:59:30 -0400 Received: from d01av03.pok.ibm.com (loopback [127.0.0.1]) by d01av03.pok.ibm.com (8.12.11/8.13.3) with ESMTP id k4IExRlq025203 for ; Thu, 18 May 2006 10:59:27 -0400 In-Reply-To: <446C8915.20606@us.ibm.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com To: Michael C Thompson Cc: Linux Audit List-Id: linux-audit@redhat.com Michael C Thompson wrote: > Hey all, > > I'm trying to understand better the user, watch and exclude auditctl > filter lists. I believe I have a reasonable understanding of exclude > from some examples Steve gave (see below), but I have very little idea > of how user is meant to be used, and none about watch. > > Any enlightenment will be helpful. > > For the exclude list, > > exclude,always -F msgtype=SYSCALL > > seems to be the only valid structure, where msgtype can be any value > (XXX) for the type in the audit.log? (where the 1st field in the audit > log is type=XXX) > > Are there more filters that apply? (and does it have any meaning without > a filter?) Question, is it intended for: auditctl -a exclude,always -F msgtype=CONFIG_CHANGE and auditctl -a exclude,never -F msgtype=CONFIG_CHANGE (being active at different times) to both block the CONFIG_CHANGE messages? I would assume that exclude,never to _not_ block messages of that type? Mike