No subject


Fri Apr 3 20:57:51 CEST 2009


---
Syslog connection failed; fd=3D'10',
server=3D'AF_INET6(fdab:228b:77af:6e7e:206:5bff:fef6:e2af:0)',
error=3D'Connection refused (111)', time_reopen=3D'60'
----

Even though my destination is:
tcp6("fdab:228b:77af:6e7e:206:5bff:fef6:e2af" port(514));

Is there something else wrong? Or am I just missing something?

-- Alexey

-----Original Message-----
From: syslog-ng-bounces at lists.balabit.hu
[mailto:syslog-ng-bounces at lists.balabit.hu] On Behalf Of Balazs
Scheidler
Sent: Friday, July 31, 2009 7:46 AM
To: Syslog-ng users' and developers' mailing list
Subject: Re: [syslog-ng] IPv6 destination host + port causes assertion
failure in gsockaddr.h

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,
>=20
> 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:
>=20
> 	destination collector {
> 		tcp6("fdab:228b:77af:6e7e:206:5bff:fef6:e2af"
> port(514));
> 	};
>=20
> When I run syslog-ng, I get this:
>=20
> 	file gsockaddr.h: line 86 (g_sockaddr_inet_get_sa): assertion
> failed: (g_sockaddr_inet_check(s))
> 	Aborted
>=20
> I tracked down that this is caused by the destination definition
above.
>=20
> The destination address is of the same box and port 514 is open and
> listening.
>=20
> 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.
>=20
> Are there any known issues that could explain this?
>=20
> -- Alexey
>
________________________________________________________________________
______
> Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Documentation:
http://www.balabit.com/support/documentation/?product=3Dsyslog-ng
> FAQ: http://www.campin.net/syslog-ng/faq.html
>=20
>=20
--=20
Bazsi

________________________________________________________________________
______
Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
Documentation:
http://www.balabit.com/support/documentation/?product=3Dsyslog-ng
FAQ: http://www.campin.net/syslog-ng/faq.html



More information about the syslog-ng mailing list