ietf
[Top] [All Lists]

Re: IPv6 Zone Identifiers Considered Hateful

2012-03-20 04:26:09
Top posting because it fits the Subject well, the details below less so.

There is currently a thread in 6man on

Subject: Re: 6MAN WG Last Call: draft-ietf-6man-uri-zoneid-00.txt
http://www.ietf.org/mail-archive/web/ipv6/current/msg15505.html

on how to put this zoneid into a URI which, given that zone ids start with a %
and that RFC3986 gives that character special, syntactical significance, would
appear to verge on the impossible.  As and when IPv6 gets rolled out, I suspect
that this topic will bite, or haunt, an ever growing number of people - which
makes it worth some consideration now.

Tom Petch

----- Original Message -----
From: "Sabahattin Gucukoglu" <mail(_at_)sabahattin-gucukoglu(_dot_)com>
To: <ietf(_at_)ietf(_dot_)org>
Sent: Monday, March 19, 2012 11:55 AM
Subject: IPv6 Zone Identifiers Considered Hateful


I've obviously not been doing all my homework, and RFC 4007 slipped my
attention.  Worse, for all the communication my IPv6 nodes are doing amongst
themselves using link-local addresses, it's never really been much more than a
hastily-justified curiosity why, when I ping one from the other using
link-local-scoped addresses, I have to put in this zone identifier (%ifname on
BSD and Linux).

Yesterday, I configured a DNS server to listen just using a link-local address,
the one autoconfigured for an ethernet card accessible to all the nodes.  It's a
host, not a router, so I'm relying on that address not being routable and being
filtered at the router.  It didn't work.  The server would not start until I
specified the zone suffix.  Now I am wondering why, given that there is no
ambiguous link-local address anywhere around here, I need to do that.  Can't it
figure it out itself?

What about the other problems with this suffix?  It's host-specific, so it's
unsafe to share it over the network (I need to share the DNS server using
stateless DHCPv6).  The format differs between OSes (Windows uses %n).  It
interferes with URLs, if Wikipedia is to be believed.  It breaks expectations,
essentially because it's the exception to the rule that the address bits (and
hence the address format) conveys all the required information.

So zone suffixes are considered hateful.  Yes, it's true, I enjoy a good whinge
and it's a shame I had to learn this on-demand, but really, their use should be
limited to just those circs where it's actually necessary, and let's be honest,
that ought to be very rare.

Cheers,
Sabahattin