From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jim Richard Subject: auditd.conf/audispd.conf question... Date: Wed, 6 Oct 2010 21:36:18 -0400 Message-ID: <27BFBC3607BD86489D06533C7F4401B10DD27119A1@srv-win-mail01> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============9214398783287057002==" Return-path: Received: from mx1.redhat.com (ext-mx04.extmail.prod.ext.phx2.redhat.com [10.5.110.8]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id o971abd3001310 for ; Wed, 6 Oct 2010 21:36:37 -0400 Received: from na3sys009aog103.obsmtp.com (na3sys009aog103.obsmtp.com [74.125.149.71]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o971aMU7013384 for ; Wed, 6 Oct 2010 21:36:22 -0400 Received: from SRV-WIN-MAIL01.cary.sciquest.com (srv-win-mail01.cary.sciquest.com [10.0.0.28]) by mailgw2.sciquest.com (8.13.8/8.13.8/mailgw-20090919) with ESMTP id o971aK3i005669 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for ; Wed, 6 Oct 2010 21:36:20 -0400 Content-Language: en-US List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com To: "linux-audit@redhat.com" List-Id: linux-audit@redhat.com --===============9214398783287057002== Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_27BFBC3607BD86489D06533C7F4401B10DD27119A1srvwinmail01_" --_000_27BFBC3607BD86489D06533C7F4401B10DD27119A1srvwinmail01_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable All: I have a quick question about the name_format parameter in audispd.conf. Wh= en selecting options that require a dns lookup are these issued for each re= cord, or is the dns lookup issued one-time at startup? If dns lookup is don= e for each record I'd prefer to use USER and NAME to force the issue, thoug= h if not I'd rather just use the same file on all my servers. I want to log both locally and to a central server. So which file should th= is be specified in /etc/audit/auditd.conf or /etc/audisp/audispd.conf or bo= th? Thanks in advance for any suggestions. Regards, Jim Richard --_000_27BFBC3607BD86489D06533C7F4401B10DD27119A1srvwinmail01_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
All:
 
I have a quick question about the name_format parameter in audispd.con= f. When selecting options that require a dns lookup are these issued for ea= ch record, or is the dns lookup issued one-time at startup? If dns lookup i= s done for each record I’d prefer to use USER and NAME to force the issue, though if not I’d rather jus= t use the same file on all my servers.
 
I want to log both locally and to a central server. So which file shou= ld this be specified in /etc/audit/auditd.conf or /etc/audisp/audispd.conf = or both?
 
Thanks in advance for any suggestions.
 
Regards,
 
Jim Richard
 
--_000_27BFBC3607BD86489D06533C7F4401B10DD27119A1srvwinmail01_-- --===============9214398783287057002== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============9214398783287057002==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steve Grubb Subject: Re: auditd.conf/audispd.conf question... Date: Thu, 7 Oct 2010 09:54:10 -0400 Message-ID: <201010070954.11071.sgrubb@redhat.com> References: <27BFBC3607BD86489D06533C7F4401B10DD27119A1@srv-win-mail01> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <27BFBC3607BD86489D06533C7F4401B10DD27119A1@srv-win-mail01> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com To: linux-audit@redhat.com Cc: Jim Richard List-Id: linux-audit@redhat.com On Wednesday, October 06, 2010 09:36:18 pm Jim Richard wrote: > I have a quick question about the name_format parameter in audispd.conf. > When selecting options that require a dns lookup are these issued for each > record, or is the dns lookup issued one-time at startup? If dns lookup is > done for each record I'd prefer to use USER and NAME to force the issue, > though if not I'd rather just use the same file on all my servers. Its done at the beginning of the event loop so that it never needs to be looked up again. > I want to log both locally and to a central server. So which file should > this be specified in /etc/audit/auditd.conf or /etc/audisp/audispd.conf or > both? Both. They are independent of each other. -Steve From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steve Grubb Subject: Re: auditd.conf/audispd.conf question... Date: Thu, 7 Oct 2010 10:09:11 -0400 Message-ID: <201010071009.12089.sgrubb@redhat.com> References: <27BFBC3607BD86489D06533C7F4401B10DD27119A1@srv-win-mail01> <201010070954.11071.sgrubb@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <201010070954.11071.sgrubb@redhat.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: linux-audit@redhat.com Cc: Jim Richard List-Id: linux-audit@redhat.com On Thursday, October 07, 2010 09:54:10 am Steve Grubb wrote: > > I want to log both locally and to a central server. So which file should > > this be specified in /etc/audit/auditd.conf or /etc/audisp/audispd.conf > > or both? > > Both. They are independent of each other. Let me clarify. If you want the node name in both places, then you need to put it in both places. At a minimum, you would want it in audispd.conf so that the central logger knows where things come from. But you can leave it off the auditd.conf to save disk space unless you need it to match. -Steve