You are right!
It is really caused by my
firewall setting, I have solved it
The conf file has no
error.
发件人:
syslog-ng-admin@lists.balabit.hu [mailto:syslog-ng-admin@lists.balabit.hu] 代表 Manuel Jo?o S. Costa Amaro
发送时间:
收件人: syslog-ng@lists.balabit.hu
主题: Re:
[syslog-ng]Can't receive syslog by UDP protocol
It works with udp() also.
Maybe your UDP port is closed (firewall ?) ....
Xiaodong Lin wrote:
I think you should use the following:
udp(ip(
instead of udp();
Xiaodong
From: syslog-ng-admin@lists.balabit.hu
[mailto:syslog-ng-admin@lists.balabit.hu]
On Behalf Of wei
Sent: Tuesday, December 07, 2004
3:29 AM
To: syslog-ng@lists.balabit.hu
Subject: [syslog-ng]Can't receive
syslog by UDP protocol
Greeting!
I have set up my syslog-ng
environment by the default syslog-ng.conf file. By the linux default logger
command, I can generate syslog to file.
But when I use a syslog client send
out syslog to the syslog-ng server, I can’t receive the log by UDP
protocol. But I can get TCP protocol syslog. Could anyone tell me why?
Thanks!
My system is RedHat 9.0. The syslog
client is Kiwi Syslog Gen in windows. The following is part of my syslog.conf
file:
source src {
pipe("/proc/kmsg");
unix-stream("/dev/log");
internal();
udp();
tcp(port(5140) keep-alive(yes));
};
log {
source(src);
destination(file);
};