disabling syslog messages?
Andrey V. Elsukov
bu7cher at yandex.ru
Wed Dec 26 21:32:45 PST 2007
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
More information about the freebsd-ipfw
mailing list