Hello,

Running syslog-ng-2.0.5 on a Linux host 2.6.22.9.

syslog-ng.conf entry as follows:

source s_all {

        tcp6(ip(2001:470:1f00:1288:220:abff:febe:4dac) port(1468));

};

When syslog-ng is started, the Global address (2001:470:1f00:1288:220:abff:febe:4dac) binds and connects fine.

If I have the Link Local Address configured below:

source s_all {

        tcp6(ip(fe80::220:abff:febe:4dac) port(1468));

};

And start syslog-ng, it either errors on the bind or the connect(g_connect in gsockaddr.c) with an errno of 22 (Invalid Argument).

Looking at the code shows that there is no use of the sockaddr_in6 sin6_scope_id, which is required to be set when using Link Local addresses since they need to use the interface number (sin6_scope_id).

Has anyone run into this issue?

If so, is there a workaround or a code patch for this?

Thanks,

Phil Bellino

Phil Bellino
Software Engineer
MRV Communications, Inc.
295 Foster Street
Littleton, MA. 01460
Phone: 978-952-4807
Fax: 978-952-5444

Email: pbellino@mrv.com