getifaddrs & ipv6 scope

JINMEI Tatuya / 神明達哉 jinmei at isc.org
Mon Apr 16 19:26:50 UTC 2012


At Sat, 14 Apr 2012 16:41:52 +0000,
"Bjoern A. Zeeb" <bzeeb-lists at lists.zabbadoz.net> wrote:

> > The issue you mentioned comes from an implementation decision of the
> > KAME IPv6 stack.
> > The attached patch should address it.  However, it may break the
> > applications which expect that getifaddrs() returns a link-local
> > address with KAME's embeded scopeid representation.  I'm not sure
> > there are such applications, for now.
> 
> There should be none.  If we have some we should fix them.  I wonder if this should actually be done in the kernel to limit the scope of the embedded scopeid to our kernel for now?   Do we have other interfaces (ignoring kvm) that export the embedded scopeid?

I suspect most of routing related implementations (most notably,
route6d and quagga) still rely on the embedded scope (zone) ID for the
data exchanged over a routing socket.

---
JINMEI, Tatuya
Internet Systems Consortium, Inc.


More information about the freebsd-net mailing list