Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Feb 2005 16:56:09 +0300
From:      Gleb Smirnoff <glebius@freebsd.org>
To:        current@freebsd.org
Subject:   changing debuglevel of kernel messaging going to console
Message-ID:  <20050217135609.GA97455@cell.sick.ru>

next in thread | raw e-mail | index | archive | help
  Dear collegues,

now all kernel messages are printed to system console by default:

*.err;kern.debug;auth.notice;mail.crit          /dev/console

There is a problem that in case of a serial console, this printing
is very slow and heavily pessimizes box performance, when kernel
messages are printed at high speed. Moreover, several kernel messages
with LOG_DEBUG severity can be triggered remotely, for example
sending bogus ARP replies. So, sending bogus ARP packets to a
FreeBSD box with serial console may lead to a DoS like conditions.

I'd like to raise this level to kern.warning, so that important
messages are still printed, but debug messages won't flood console.
No logging will be lost, since next line logs kern.debug to
/var/log/messages.

-- 
Totus tuus, Glebius.
GLEBIUS-RIPN GLEB-RIPE



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