From owner-freebsd-security Mon Sep 20 17: 8:26 1999 Delivered-To: freebsd-security@freebsd.org Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (Postfix) with ESMTP id F1DD614EA9; Mon, 20 Sep 1999 17:08:23 -0700 (PDT) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.9.3/8.9.3) id UAA05849; Mon, 20 Sep 1999 20:11:08 -0400 (EDT) (envelope-from cjc) From: "Crist J. Clark" Message-Id: <199909210011.UAA05849@cc942873-a.ewndsr1.nj.home.com> Subject: Re: ipfw and syslogd In-Reply-To: from Dag-Erling Smorgrav at "Sep 20, 1999 09:45:02 pm" To: des@flood.ping.uio.no (Dag-Erling Smorgrav) Date: Mon, 20 Sep 1999 20:11:08 -0400 (EDT) Cc: green@FreeBSD.ORG (Brian F. Feldman), cjclark@home.com, root@net72-105.student.yale.edu (Root), skalir@hotmail.com (skalir scalar), freebsd-security@FreeBSD.ORG Reply-To: cjclark@home.com X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Dag-Erling Smorgrav wrote, > "Brian F. Feldman" writes: > > On Thu, 16 Sep 1999, Crist J. Clark wrote: > > > Dag-Erling Smorgrav wrote, > > > > Root writes: > > > > > !ipfw > > > > > *.* /var/log/firewall.log > > > > Won't work in -STABLE, because ip_fw.c uses printf() instead of log(). > > It should work just fine, since printf()s go to syslog too. > > It's never worked for me in -STABLE, though it's possible that I'm > mistaken and that it's a syslogd issue rather than a printf() vs. > log() issue. I'm also curious about this for another reason to. I just configured a machine as a bridge, and there is a steady, but not alarming, flow of "collision" messages. I looked up the source in /usr/src/sys/net/bridge.c and see that the messages are printf()'s. These messages are annoying in my /var/log/messages file. I'd rather run them through a script to boil them down to stats or even direct to /dev/null, but how do I direct kernel messages produced by printf()'s? Now that I wrote this, it looks like the _exact_ same problem as with ipfw. -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message