*BSD News Article 62852


Return to BSD News archive

#! rnews 1374 bsd
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.OZ.AU!news.hawaii.edu!ames!usenet.kornet.nm.kr!news.kreonet.re.kr!usenet.seri.re.kr!news.cais.net!news.jsums.edu!gatech!news.mathworks.com!fu-berlin.de!news.dfn.de!news.dkrz.de!news.rrz.uni-hamburg.de!news
From: Lars Hofhansl <lars_hofhansl@public.uni-hamburg.de>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: IPFW Logging Question
Date: Thu, 07 Mar 1996 18:59:24 +0100
Organization: private FreeBSD site, Hamburg (Germany)
Lines: 19
Message-ID: <313F23FC.41C67EA6@public.uni-hamburg.de>
References: <4hhsn8$hcp@uuneo.neosoft.com>
NNTP-Posting-Host: riga.public.uni-hamburg.de
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 2.0 (X11; I; FreeBSD 2.1.0-RELEASE i386)

David Marcoux wrote:
> I would like to use the logging feature (ldeny), but not if it means
> that I will get console messages on ttyv0.  I get these messages
> every time someone gets denied.  I don't want these messages on the ttyv0.

[...]

> How can I get rid of these messages?
> 

A quick look at the kernel IP-Forwarding sources revealed,
that denied (aswell as logged) packets are indeed printed
via a plain printf() statement.
That means, there's nothing you can do to stop those
from being sent to the console :-(

-- 

	Lars