From owner-freebsd-ipfw Tue Dec 12 1:26:46 2000 From owner-freebsd-ipfw@FreeBSD.ORG Tue Dec 12 01:26:44 2000 Return-Path: Delivered-To: freebsd-ipfw@freebsd.org Received: from mailhost01.reflexnet.net (mailhost01.reflexnet.net [64.6.192.82]) by hub.freebsd.org (Postfix) with ESMTP id 1E9D237B402 for ; Tue, 12 Dec 2000 01:26:44 -0800 (PST) Received: from 149.211.6.64.reflexcom.com ([64.6.211.149]) by mailhost01.reflexnet.net with Microsoft SMTPSVC(5.5.1877.197.19); Tue, 12 Dec 2000 01:25:08 -0800 Received: (from cjc@localhost) by 149.211.6.64.reflexcom.com (8.11.0/8.11.0) id eBC9Qfk24553; Tue, 12 Dec 2000 01:26:41 -0800 (PST) (envelope-from cjc) Date: Tue, 12 Dec 2000 01:26:41 -0800 From: "Crist J. Clark" To: Jev Cc: freebsd-ipfw@freebsd.org, darcy@ok-connect.com Subject: Re: Extended ipfw Logging Message-ID: <20001212012641.C96105@149.211.6.64.reflexcom.com> Reply-To: cjclark@alum.mit.edu References: <20001210222316.A19100@149.211.6.64.reflexcom.com> <20001211081137.F9536@ecad.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <20001211081137.F9536@ecad.org>; from jev@ecad.org on Mon, Dec 11, 2000 at 08:11:37AM +0000 Sender: cjc@149.211.6.64.reflexcom.com Sender: owner-freebsd-ipfw@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Dec 11, 2000 at 08:11:37AM +0000, Jev wrote: > > I would find this highly useful, would be great if you could turn it > on/off wuth sysctl :) Good idea. How's this: I did not add a new sysctl knob, instead, we still use net.inet.ip.fw.verbose, except that, net.inet.ip.fw.verbose=0 # Logging off net.inet.ip.fw.verbose=1 # Regular logging net.inet.ip.fw.verbose=2 # Enhanced logging Obviously, we could utilize more levels... but keep it sane. I made the code change, but it's getting too late for me to do enough testing to feel OK about posting patches. This sound good though? -- Crist J. Clark cjclark@alum.mit.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ipfw" in the body of the message