Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Dec 2007 08:32:22 +0300
From:      "Andrey V. Elsukov" <bu7cher@yandex.ru>
To:        rihad <rihad@mail.ru>
Cc:        freebsd-ipfw@freebsd.org
Subject:   Re: disabling syslog messages?
Message-ID:  <477338E6.2070906@yandex.ru>
In-Reply-To: <47721BFF.9010309@mail.ru>
References:  <47721BFF.9010309@mail.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
rihad wrote:
> Dec 26 13:00:01 foo kernel: ipfw: Entry 1001 cleared.
> Dec 26 13:00:01 foo kernel: ipfw: Entry 1002 cleared.
> ...
> and so on. After looking in ipfw's sources in /usr/src/sbin/ipfw/ipfw2.c 
> I now think that quite probably the messages are generated by some 
> setsockopt call or by the kernel itself. I _could_ work around the issue 
> by piping the "ipfw:" messages to /dev/null in syslogd, but there might 
> be a cleaner solution?

If you don't use `ipfw log ...`  rules you can reset sysctl variable 
net.inet.ip.fw.verbose to 0 and these messages will not be logged.

-- 
WBR, Andrey V. Elsukov



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?477338E6.2070906>