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
This commit is contained in:
parent
e4597ce6ea
commit
bcdbb13a66
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user