Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
network logging issue with haproxy
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
haven
Tux's lil' helper
Tux's lil' helper


Joined: 19 Nov 2003
Posts: 141
Location: Belfast, Uk

PostPosted: Wed Aug 22, 2012 3:15 pm    Post subject: network logging issue with haproxy Reply with quote

Hi All,

I'm having an issue with logging to syslog-ng (via udp port 514) from HaProxy on a virtual server.

I have two setups, one physical system and one virtual (kvm based). Both have the same haproxy and syslog setups but slightly different kernel settings.

The physical system logs haproxy traffic fine to syslog-ng. Whilst the virtual shows no traffic coming through (via tcpdump) on udp port 514 (networking via virtio in bridged mode).

Given the similarities of the systems I'm struggling to understand why one works and one does not. I cannot think of anything in the kernel that may be causing an issue (other non 514 loopback traffic works fine on the virtual).

Any pointers or thoughts to help me get back on track would be hugely appreciated.

Thanks
Back to top
View user's profile Send private message
haven
Tux's lil' helper
Tux's lil' helper


Joined: 19 Nov 2003
Posts: 141
Location: Belfast, Uk

PostPosted: Wed Aug 22, 2012 3:30 pm    Post subject: Reply with quote

Just to pre-empt questions on firewalls and port use:

iptables -L -n -v | grep lo
14924 137M ACCEPT all -- lo * 0.0.0.0/0 0.0.0.0/0
14924 137M ACCEPT all -- * lo 0.0.0.0/0 0.0.0.0/0

netstat -a | grep syslog
udp 0 0 localhost:syslog *:*
unix 2 [ ACC ] STREAM LISTENING 25359 /var/run/syslog-ng.ctl
(where syslog is 514 in /etc/services)

localhost is set to 127.0.0.1
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum