[syslog-ng] IPv6 destination host + port causes assertion failure in gsockaddr.h

Balazs Scheidler bazsi at balabit.hu
Fri Jul 31 12:45:30 CEST 2009


Hi,

This is a regression, this patch fixes it for me.

commit 741dcea9e98fe4a7543f0ab705b3a52eab99332c
Author: Balazs Scheidler <bazsi at balabit.hu>
Date:   Fri Jul 31 12:00:03 2009 +0200

    fixed possible abort when using tcp6() destination



On Thu, 2009-07-30 at 11:06 -0300, Alexei Aliaev wrote:
> Hi,
> 
> I am trying to solve an issue with syslog-ng 3.0.3 in IPv6
> environment...
> I have a destination specified in my config file as such:
> 
> 	destination collector {
> 		tcp6("fdab:228b:77af:6e7e:206:5bff:fef6:e2af"
> port(514));
> 	};
> 
> When I run syslog-ng, I get this:
> 
> 	file gsockaddr.h: line 86 (g_sockaddr_inet_get_sa): assertion
> failed: (g_sockaddr_inet_check(s))
> 	Aborted
> 
> I tracked down that this is caused by the destination definition above.
> 
> The destination address is of the same box and port 514 is open and
> listening.
> 
> If I remove the port, everything seems to start-up fine but it tries to
> connect to the specified IP to port 0 and I keep getting connection
> refused messages.
> 
> Are there any known issues that could explain this?
> 
> -- Alexey
> ______________________________________________________________________________
> Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
> FAQ: http://www.campin.net/syslog-ng/faq.html
> 
> 
-- 
Bazsi



More information about the syslog-ng mailing list