By default, as stated in the documentation of syslog-ng
, the default Transport Protocol used by syslog-ng
is TCP
.,
If I don't configure the Transport Protocol
, but instead I configure PORT 514
which is the default UDP port
, what will happen? Will the communications go over TCP
or UDP
?
答案 0 :(得分:1)
默认情况下,syslog-ng的syslog()
和network()
驱动程序使用TCP。将port()
选项设置为514而不指定transport()
意味着514 / tcp。