Re: IPv6 Address Architecture update question

Bob Hinden <bob.hinden@nokia.com> Mon, 31 January 2005 13:48 UTC

Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id IAA01363 for <ipv6-web-archive@ietf.org>; Mon, 31 Jan 2005 08:48:27 -0500 (EST)
Received: from megatron.ietf.org ([132.151.6.71]) by ietf-mx.ietf.org with esmtp (Exim 4.33) id 1CvcCj-0003mK-WB for ipv6-web-archive@ietf.org; Mon, 31 Jan 2005 09:07:02 -0500
Received: from localhost.localdomain ([127.0.0.1] helo=megatron.ietf.org) by megatron.ietf.org with esmtp (Exim 4.32) id 1Cvbs1-0004R6-Vz; Mon, 31 Jan 2005 08:45:38 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org) by megatron.ietf.org with esmtp (Exim 4.32) id 1Cvbr2-0004Au-Fj for ipv6@megatron.ietf.org; Mon, 31 Jan 2005 08:44:36 -0500
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id IAA00910 for <ipv6@ietf.org>; Mon, 31 Jan 2005 08:44:35 -0500 (EST)
Received: from mgw-x4.nokia.com ([131.228.20.27]) by ietf-mx.ietf.org with esmtp (Exim 4.33) id 1Cvc8z-0003gp-T1 for ipv6@ietf.org; Mon, 31 Jan 2005 09:03:10 -0500
Received: from esdks001.ntc.nokia.com (esdks001.ntc.nokia.com [172.21.138.120]) by mgw-x4.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j0VDiV802645; Mon, 31 Jan 2005 15:44:32 +0200 (EET)
X-Scanned: Mon, 31 Jan 2005 15:52:41 +0200 Nokia Message Protector V1.3.34 2004121512 - RELEASE
Received: (from root@localhost) by esdks001.ntc.nokia.com (8.12.9/8.12.9) id j0VDqfNt003194; Mon, 31 Jan 2005 15:52:41 +0200
Received: from mgw-int1.ntc.nokia.com (172.21.143.96) by esdks001.ntc.nokia.com 009NOvKP; Mon, 31 Jan 2005 15:52:40 EET
Received: from esebh002.NOE.Nokia.com (esebh002.ntc.nokia.com [172.21.138.77]) by mgw-int1.ntc.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j0VDfgU08742; Mon, 31 Jan 2005 15:41:42 +0200 (EET)
Received: from l5131412.nokia.com ([172.21.81.93]) by esebh002.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6881); Mon, 31 Jan 2005 15:41:09 +0200
Message-Id: <6.1.2.0.2.20050131053603.0302c938@mailhost.iprg.nokia.com>
X-Sender: hinden@mailhost.iprg.nokia.com
X-Mailer: QUALCOMM Windows Eudora Version 6.1.2.0
Date: Mon, 31 Jan 2005 05:41:05 -0800
To: Jeroen Massar <jeroen@unfix.org>
From: Bob Hinden <bob.hinden@nokia.com>
In-Reply-To: <1107177886.27827.80.camel@firenze.zurich.ibm.com>
References: <6.1.2.0.2.20050131043340.02fbf0c0@mailhost.iprg.nokia.com> <1107177886.27827.80.camel@firenze.zurich.ibm.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format="flowed"
X-OriginalArrivalTime: 31 Jan 2005 13:41:09.0664 (UTC) FILETIME=[85891A00:01C5079A]
X-Spam-Score: 0.1 (/)
X-Scan-Signature: fb6060cb60c0cea16e3f7219e40a0a81
Cc: IPv6 WG <ipv6@ietf.org>
Subject: Re: IPv6 Address Architecture update question
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "IP Version 6 Working Group \(ipv6\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
Sender: ipv6-bounces@ietf.org
Errors-To: ipv6-bounces@ietf.org
X-Spam-Score: 0.1 (/)
X-Scan-Signature: cd26b070c2577ac175cd3a6d878c6248

Jeroen,

At 05:24 AM 01/31/2005, Jeroen Massar wrote:
>On Mon, 2005-01-31 at 04:48 -0800, Bob Hinden wrote:
> > Hi,
> >
> > I am working on an update to the IPv6 address architecture.  In doing this
> > I am working through the comments on the previous draft.  One comment made
> > was to remove Section 2.5.5 "IPv6 Addresses with Embedded IPv4 Addresses"
> > from the document.  This would include removing the special case in the
> > textual representation (section 2.2, 3.).
>
>In http://www.ietf.org/rfc/rfc2373.txt it is section 2.5.4.
>Or am I looking at the wrong document? :)

Right it's section 2.5.4 in RFC2373.  The section changed a little in the 
new draft.

><SNIP>
>
> > Since I expect this is widely implemented, please be sure to report any
> > problem that might occur if this is to be removed from the
> > specification.
>
>I think that at least all the BSD's and most Linuxes are using this.
>They allow binding on :: (IPv6 any) and also accept IPv4 connections on
>the same socket, which are then represented in netstat etc
>as ::ffff:1.2.3.4. Both OS's nowadays have a bind-ipv6-only flag or
>similar, but many applications rely on this behaviour in that they
>either bind to the IPv6 any or the IPv4 any address (0.0.0.0).
>
>Removing it, thus would mean that all these applications are broken and
>need to be updated, which actually is true, having that programs should
>use multiple sockets and use getaddrinfo() to figure out the correct
>sockets to bind on. This has some programming overhead though and as
>many people are lazy they did not do it.

I am not sure they would be broken.  They would be doing something in 
addition to what is in the new RFC.

In any case, thanks for the comments.

Bob




>The mixing of the stacks, thus having IPv6 also accept IPv4 connections,
>did have some negative side effects for the applications that did/do
>support getaddrinfo() type binding and bind to multiple sockets, as they
>would first bind to IPv6 any, after which they bind to IPv4 any which
>would fail with socket already in use, giving an error message that is
>not entirely true.
>
>IMO the section can be removed and programmers need to be learned the
>correct thing for which I always very inclined to point people to Eva's
>excellent document at http://gsyc.escet.urjc.es/~eva/IPv6-web/ipv6.html
>and/or draft-ietf-v6ops-application-transition-02.txt
>
>The various Operating Systems that support this should be thought the
>same tricks too of course...
>
> >   This includes would it break other documents that refer to
> > the IPv6 address architecture specification.
>
>At least RFC3484 has a short section (3.3) on it, though it mentions
>handling them as 'global scope', which is basically the default case,
>for address selection.
>
>Greets,
>  Jeroen
>


--------------------------------------------------------------------
IETF IPv6 working group mailing list
ipv6@ietf.org
Administrative Requests: https://www1.ietf.org/mailman/listinfo/ipv6
--------------------------------------------------------------------