From owner-freebsd-security Thu Sep 14 19:15:52 2000 Delivered-To: freebsd-security@freebsd.org Received: from mail.gmx.net (pop.gmx.net [194.221.183.20]) by hub.freebsd.org (Postfix) with SMTP id 7D09D37B43C for ; Thu, 14 Sep 2000 19:15:49 -0700 (PDT) Received: (qmail 23276 invoked by uid 0); 15 Sep 2000 02:15:48 -0000 Received: from p3ee20a9d.dip.t-dialin.net (HELO speedy.gsinet) (62.226.10.157) by mail.gmx.net with SMTP; 15 Sep 2000 02:15:48 -0000 Received: (from sittig@localhost) by speedy.gsinet (8.8.8/8.8.8) id UAA26687 for freebsd-security@FreeBSD.ORG; Thu, 14 Sep 2000 20:30:48 +0200 Date: Thu, 14 Sep 2000 20:30:48 +0200 From: Gerhard Sittig To: "freebsd-security@FreeBSD.ORG" Subject: Re: ipf logging Message-ID: <20000914203048.I22846@speedy.gsinet> Mail-Followup-To: "freebsd-security@FreeBSD.ORG" References: <39BF49B9.F5EAFC19@allmaui.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from fgleiser@cactus.fi.uba.ar on Wed, Sep 13, 2000 at 02:17:05PM -0300 Organization: System Defenestrators Inc. Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, Sep 13, 2000 at 14:17 -0300, Fernando Gleiser wrote: > > On Wed, 13 Sep 2000, Craig Cowen wrote: > > > I am not clear on how to log ipf. > > I believe I need to edit my syslog.conf. > > Yes and no. ipmon (ipf's logging process) can log via syslog or > directly to a file. > > If you want to log to a file: > # ipmon & Don't forget to edit in the /etc/newsyslog.conf entry for this case like this one: /var/log/ipflog 600 10 100 * Z /var/run/ipmon.pid > If you want to use syslog: > # ipmon -s & > > and you have to add a line like this to syslog.conf: > local0.* /var/log/ipf.log shameless plug: See http://www.freebsd.org/cgi/query-pr.cgi?pr=20202 for a way to employ ipf in FreeBSD 4 and above. Although the newsyslog.conf thingy is not in there. virtually yours 82D1 9B9C 01DC 4FB4 D7B4 61BE 3F49 4F77 72DE DA76 Gerhard Sittig true | mail -s "get gpg key" Gerhard.Sittig@gmx.net -- If you don't understand or are scared by any of the above ask your parents or an adult to help you. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message