summaryrefslogtreecommitdiffstats
path: root/etc/syslog.conf
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2005-02-22 08:03:09 +0000
committerglebius <glebius@FreeBSD.org>2005-02-22 08:03:09 +0000
commit4df93e25d76df28a1d91a285d5f686e64cf79e51 (patch)
tree7802d42fb31b910740799f8de5909e708f93102f /etc/syslog.conf
parente9cdad37dce2ecdc210235e76b4e640dddeedd35 (diff)
downloadFreeBSD-src-4df93e25d76df28a1d91a285d5f686e64cf79e51.zip
FreeBSD-src-4df93e25d76df28a1d91a285d5f686e64cf79e51.tar.gz
Do not print kernel debugging on console. In case of serial console
this can cause a really heavy load on system. Several kernel debugging messages can be triggered even remotely (e.g. bad ARP replies). Use kern.warning instead, so that really significant messages still will be printed on console. Reviewed by: current@ MFC after: 1 week Security: this change fixes a DoS condition, when default system console is serial, and box is flooded with bogus ARP packets
Diffstat (limited to 'etc/syslog.conf')
-rw-r--r--etc/syslog.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/syslog.conf b/etc/syslog.conf
index db88242..507bd0f 100644
--- a/etc/syslog.conf
+++ b/etc/syslog.conf
@@ -6,7 +6,7 @@
# may want to use only tabs as field separators here.
# Consult the syslog.conf(5) manpage.
*.err;kern.debug;auth.notice;mail.crit /dev/console
-*.notice;authpriv.none;kern.debug;lpr.info;mail.crit;news.err /var/log/messages
+*.notice;authpriv.none;kern.warning;lpr.info;mail.crit;news.err /var/log/messages
security.* /var/log/security
auth.info;authpriv.info /var/log/auth.log
mail.info /var/log/maillog
OpenPOWER on IntegriCloud