[arch-general] syslog-ng not listen on udp or tcp

Stefan Fuhrmann stefan at fuhrmann.homedns.org
Tue Jul 1 05:19:12 EDT 2014


Hello all, 

I want to do a syslogserver but dont get it running to listen on udp or tcp. 
Here you can see my tries: 

#source src { 
# system(); 
# internal(); 
#source s_src { unix-dgram("/dev/log"); internal(); 
# file("/proc/kmsg" program_override("kernel")); 
# udp(); 

#udp (ip(x.x.x.x) port(514)); 

#source src { unix-stream("/dev/log"); internal(); udp(ip(0.0.0.0) port(514)); }; 
#}; 
#source s_network { syslog(ip(x.x.x.x) transport("udp")); }; 
source s_network { syslog(ip(x.x.x.x) transport("tcp")); }; 


destination clientslogs { 
file("/var/log/pfsense/$YEAR$MONTH$DAY/$HOST.log"); 

}; 

after restarting syslog and have a look with 

netstat -an | grep :514 

nothing is shown 

What Im doing wrong? 

Can someone help? 

tia 
Stefan 


More information about the arch-general mailing list