[syslog-ng] IPv6 Link local address use with syslog-ng
Balazs Scheidler
bazsi at balabit.hu
Thu Nov 22 10:30:03 CET 2007
Thanks for the detailed information. The reward is a patch that fixes
the issue for me:
diff --git a/src/afinet.c b/src/afinet.c
index 40dc5b9..05dbe62 100644
--- a/src/afinet.c
+++ b/src/afinet.c
@@ -92,7 +92,7 @@ afinet_resolve_name(GSockAddr *addr, gchar *name)
break;
#if ENABLE_IPV6
case AF_INET6:
- g_sockaddr_inet6_set_address(addr, &((struct sockaddr_in6 *) res->ai_addr)->sin6_addr);
+ *g_sockaddr_inet6_get_sa(addr) = *((struct sockaddr_in6 *) res->ai_addr);
break;
#endif
default:
This makes syslog-ng support the same '%eth0' syntax that all the other
tools know.
Slowly I might gather enough knowledge about IPv6 to actually try
to deploy it on our local network. :)
On Tue, 2007-11-20 at 10:48 -0500, Philip Bellino wrote:
> Bazsi,
>
> On the Linux 2.6.22.9 Redhat 4.1.0-3 Fedora Core 6 from CDs at my
> disposal, you can edit the "/etc/xinetd.d/telnet" file and change
> "flags" from IPv4 to IPv6. Note: You will still have IPv4 connectivity.
>
> telnet fe80::zzzz:zzzz:zzzz:zzzz%interface_name - interface_name on most
> Linux is "eth0"
--
Bazsi
More information about the syslog-ng
mailing list