From owner-freebsd-questions Wed Jul 21 9:58:23 1999 Delivered-To: freebsd-questions@freebsd.org Received: from area51.quadspeed.com (node10345.a2000.nl [24.132.3.69]) by hub.freebsd.org (Postfix) with ESMTP id EC5D2154FF for ; Wed, 21 Jul 1999 09:58:19 -0700 (PDT) (envelope-from michel@quadspeed.com) Received: from x-file (x-file.quadspeed.com [192.168.50.2]) by area51.quadspeed.com (8.9.3/8.9.3) with ESMTP id SAA06694; Wed, 21 Jul 1999 18:57:17 +0200 (CEST) (envelope-from michel@quadspeed.com) Message-Id: <4.2.0.58.19990721185431.0095ded0@pop3.quadspeed.com> X-Sender: michel@pop3.quadspeed.com X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.0.58 Date: Wed, 21 Jul 1999 18:57:16 +0200 To: Ben Gras From: Michel Quadflieg Subject: Re: Where are the ipfw logs? Cc: freebsd-questions@freebsd.org In-Reply-To: <199907211639.SAA29157@support.euronet.nl> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 18:39 7/21/99 , you wrote: >All, > > > I thought I will try this again just in case this time someone with clue > > will see this. > > I have ipfw configured and running and also have included the 'log' > > command in my ruleset but I can't seem to find the logged traffic stats > > anywhere? > > Where does ipfw log it's stuff? > >If you add a "log" keyword to the rule (e.g. >/sbin/ipfw add allow log ip from any to any), ipfw logs the `hit' of the >rule using the regular KERNel syslogging facility; you can specify where >it gets logged in /etc/syslog.conf. By default it probably ends up on the >console and in /var/log/messages. IPFW doesn't as far as I know log the amount of traffic in the logs, You should use for this for exemple MRTG. For logging of the hits type this at /etc/syslog.conf !ipfw *.* /var/log/ipfw.log Then all rule-set "hits" will be logged...... Michel PS greetings ZEN master ;-) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message