问题描述
似乎 Syslog 的消息限制为 1KB.这是硬编码到 Syslog 协议中,还是可以为每个服务器设置的参数?
It seems Syslog has a 1KB message limit. Is this hardcoded into the Syslog protocol, or is this a parameter that can be set for each server?
我希望我阅读的文章已经过时,所以如果您有任何信息,请分享.
I am hoping the article I read was out of date, so if you have any info please share.
推荐答案
这是正确的,可以在 系统日志协议 RFC.这和 syslog 协议中的其他缺陷,是现代 syslog 守护进程(例如 rsyslog)支持增强型协议的原因TCP 传输、加密等功能. IETF 内部也做了一些努力来标准化改进的 syslog 协议,这导致 RFC5424、RFC5425 和 RFC 5426.此处,最小最大消息大小相对较小(取决于传输层),但允许实现也支持更大的消息.
This is correct, as can be seen in the syslog protocol RFC. This, and other deficiencies in the syslog protocol, is the reason why modern syslog daemons such as rsyslog support enhanced protocols with features such as TCP transport, encryption etc. There was also some effort within the IETF to standardize an improved syslog protocol, which resulted in RFC5424, RFC5425, and RFC 5426. Here, the minimum maximum message size is relatively small (depending on the transport layer), however implementations are allowed to support larger messages as well.
这篇关于Syslog 真的有 1KB 的消息限制吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!