syslogd

共 2 篇文章。

记一笔,关于 syslogd

• Development

syslogd 的 -8 参数可以让汉字通过。以下摘自 manual page:

1
2
3
4
5
6
     -8      Tells syslogd not to interfere with 8-bit data.  Normally syslogd
             will replace C1 control characters (ISO 8859 and Unicode
             characters) with their "M-x" equivalent.  Note, this option does
             not change the way syslogd alters control characters (see
             iscntrl(3)).  They will always be replaced with their "^x" equiv‐
             alent.

不过这事有点坑人,为啥默认不 -8 呢?出于安全方面的原因吗?差点就开始改代码了……

参与评论

Bigger bin patch accepted by FreeBSD

• Development

It seems that FreeBSD community has reviewed and committed one of my bigger patch on sbin/syslogd, which was primarily obtained from OpenBSD. These changes are more or less “sync with OpenBSD”, which will increase security performance of FreeBSD.

阅读全文… ( 本文约 107 字,阅读大致需要 1 分钟 )