From owner-freebsd-questions Thu Jan 20 0:55:19 2000 Delivered-To: freebsd-questions@freebsd.org Received: from relay.ucb.crimea.ua (UCB-Async4-CRISCO.CRIS.NET [212.110.129.130]) by hub.freebsd.org (Postfix) with ESMTP id 0BAF315208 for ; Thu, 20 Jan 2000 00:55:06 -0800 (PST) (envelope-from ru@ucb.crimea.ua) Received: (from ru@localhost) by relay.ucb.crimea.ua (8.9.3/8.9.3/UCB) id KAA68784; Thu, 20 Jan 2000 10:56:40 +0200 (EET) (envelope-from ru) Date: Thu, 20 Jan 2000 10:56:40 +0200 From: Ruslan Ermilov To: m Cc: freebsd-questions@FreeBSD.ORG Subject: Re: IPFW doesn't log. Message-ID: <20000120105640.B44102@relay.ucb.crimea.ua> Mail-Followup-To: m , freebsd-questions@FreeBSD.ORG References: <20000119092812.8549E639CB@zagnut.hotpop.com> <20000119114348.B70681@relay.ucb.crimea.ua> <20000119192606.6D654639C2@zagnut.hotpop.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: <20000119192606.6D654639C2@zagnut.hotpop.com>; from m on Wed, Jan 19, 2000 at 02:26:06PM -0500 X-Operating-System: FreeBSD 3.3-STABLE i386 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Jan 19, 2000 at 02:26:06PM -0500, m wrote: > > > !ppp > > > *.* /var/log/ipfw.log > > > > > > My ipfw.log file is empty. I searched for "log" in IPFW man page. My > > > guess is that IPFW rules for logging are not enabled by default. > > > > > > Answers? thank you a lot. > > > > > Change "!ppp" to "!ipfw" in /etc/syslog.conf ;=) > > oopps, sorry, it was midnight, it says !IPFW and when I reboot "Logging > disabled". > You need to add an IPFIREWALL_VERBOSE option to your kernel config file for logging to work. Note, that ipfw.ko module is compiled without -DIPFIREWALL_VERBOSE (see src/sys/modules/ipfw/Makefile). -- Ruslan Ermilov Sysadmin and DBA of the ru@ucb.crimea.ua United Commercial Bank, ru@FreeBSD.org FreeBSD committer, +380.652.247.647 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message