Hi Balazs, Thanks for fast reply :-) I tried compiling and running syslog-ng from latest snapshot (which includes your commit). Looks like it starts now... However, I noticed that it tries to establish connection to port 0 instead of specified port(514) and I get "Connection refused (111)" message.
From output:
Syslog connection failed; fd='10', server='AF_INET6(fdab:228b:77af:6e7e:206:5bff:fef6:e2af:0)', error='Connection refused (111)', time_reopen='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@lists.balabit.hu [mailto:syslog-ng-bounces@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@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 ________________________________________________________________________ ______ 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