From owner-freebsd-questions Wed Jan 19 1:42:56 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 F3A9215065 for ; Wed, 19 Jan 2000 01:42:43 -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 LAA77126; Wed, 19 Jan 2000 11:43:48 +0200 (EET) (envelope-from ru) Date: Wed, 19 Jan 2000 11:43:48 +0200 From: Ruslan Ermilov To: m Cc: freebsd-questions@FreeBSD.ORG Subject: Re: IPFW doesn't log. Message-ID: <20000119114348.B70681@relay.ucb.crimea.ua> Mail-Followup-To: m , freebsd-questions@FreeBSD.ORG References: <20000119092812.8549E639CB@zagnut.hotpop.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: <20000119092812.8549E639CB@zagnut.hotpop.com>; from m on Wed, Jan 19, 2000 at 04:28:12AM -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 04:28:12AM -0500, m wrote: > > Hello. > > One of my rules is "log logamount 10 all from 127.0.0.01 to > 127.0.0.01". IPFW accepted it, so the syntax's ok. But it doesn't log > when I connect to 127.0.0.1. I created a file (ipfw.log) for this, and > added the needed lines to syslog.conf. > > !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 ;=) -- 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