Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Dec 2007 13:16:47 +0400
From:      rihad <>
Subject:   disabling syslog messages?
Message-ID:  <>

Next in thread | Raw E-Mail | Index | Archive | Help
Hi, I'm using "ipfw zero NNN" to periodically zero many counters, each 
of which results in a syslog message generated despite the -q flag:

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?

Thank you.

Want to link to this message? Use this URL: <>