RE: 6MAN WG Last Call: draft-ietf-6man-rfc3484-revise-05.txt

Dave Thaler <dthaler@microsoft.com> Mon, 13 February 2012 23:55 UTC

Return-Path: <dthaler@microsoft.com>
X-Original-To: ipv6@ietfa.amsl.com
Delivered-To: ipv6@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 21AAE21F8639 for <ipv6@ietfa.amsl.com>; Mon, 13 Feb 2012 15:55:41 -0800 (PST)
X-Quarantine-ID: <O6YQDWqNJVvV>
X-Virus-Scanned: amavisd-new at amsl.com
X-Amavis-Alert: BAD HEADER SECTION, Improper folded header field made up entirely of whitespace (char 20 hex): References: ...W601.wingroup.windeploy.ntdev.microsoft.com>\n
X-Spam-Flag: NO
X-Spam-Score: -103.923
X-Spam-Level:
X-Spam-Status: No, score=-103.923 tagged_above=-999 required=5 tests=[AWL=-0.324, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id O6YQDWqNJVvV for <ipv6@ietfa.amsl.com>; Mon, 13 Feb 2012 15:55:40 -0800 (PST)
Received: from ch1outboundpool.messaging.microsoft.com (ch1ehsobe005.messaging.microsoft.com [216.32.181.185]) by ietfa.amsl.com (Postfix) with ESMTP id B12FD21F862D for <ipv6@ietf.org>; Mon, 13 Feb 2012 15:55:36 -0800 (PST)
Received: from mail160-ch1-R.bigfish.com (10.43.68.245) by CH1EHSOBE017.bigfish.com (10.43.70.67) with Microsoft SMTP Server id 14.1.225.23; Mon, 13 Feb 2012 23:55:34 +0000
Received: from mail160-ch1 (localhost [127.0.0.1]) by mail160-ch1-R.bigfish.com (Postfix) with ESMTP id 6FEE324014D; Mon, 13 Feb 2012 23:55:33 +0000 (UTC)
X-SpamScore: -32
X-BigFish: VS-32(zz9371I542M1432Nzz1202hzz1033IL8275dhz2fh2a8h668h839h944h)
X-Forefront-Antispam-Report: CIP:131.107.125.8; KIP:(null); UIP:(null); IPV:NLI; H:TK5EX14HUBC105.redmond.corp.microsoft.com; RD:none; EFVD:NLI
Received-SPF: pass (mail160-ch1: domain of microsoft.com designates 131.107.125.8 as permitted sender) client-ip=131.107.125.8; envelope-from=dthaler@microsoft.com; helo=TK5EX14HUBC105.redmond.corp.microsoft.com ; icrosoft.com ;
Received: from mail160-ch1 (localhost.localdomain [127.0.0.1]) by mail160-ch1 (MessageSwitch) id 1329177330183772_3580; Mon, 13 Feb 2012 23:55:30 +0000 (UTC)
Received: from CH1EHSMHS018.bigfish.com (snatpool1.int.messaging.microsoft.com [10.43.68.242]) by mail160-ch1.bigfish.com (Postfix) with ESMTP id 2AB354C0049; Mon, 13 Feb 2012 23:55:30 +0000 (UTC)
Received: from TK5EX14HUBC105.redmond.corp.microsoft.com (131.107.125.8) by CH1EHSMHS018.bigfish.com (10.43.70.18) with Microsoft SMTP Server (TLS) id 14.1.225.23; Mon, 13 Feb 2012 23:55:29 +0000
Received: from TK5EX14MLTW653.wingroup.windeploy.ntdev.microsoft.com (157.54.24.14) by TK5EX14HUBC105.redmond.corp.microsoft.com (157.54.80.48) with Microsoft SMTP Server (TLS) id 14.2.247.5; Mon, 13 Feb 2012 15:55:30 -0800
Received: from TK5EX14MBXW601.wingroup.windeploy.ntdev.microsoft.com ([169.254.1.234]) by TK5EX14MLTW653.wingroup.windeploy.ntdev.microsoft.com ([157.54.24.14]) with mapi id 14.01.0355.003; Mon, 13 Feb 2012 15:55:30 -0800
From: Dave Thaler <dthaler@microsoft.com>
To: 'Chris Grundemann' <cgrundemann@gmail.com>, 'Brian E Carpenter' <brian.e.carpenter@gmail.com>
Subject: RE: 6MAN WG Last Call: draft-ietf-6man-rfc3484-revise-05.txt
Thread-Topic: 6MAN WG Last Call: draft-ietf-6man-rfc3484-revise-05.txt
Thread-Index: AQHMmvx1vO8I87vUo0m73gUxdiNcXZXd39qAgAAf8wCAAAn2gIAAFZKAgAAYZICAABHNAIAABeSAgEMv5BCAFhKygIAELeLQgAA7epCAACP9wA==
Date: Mon, 13 Feb 2012 23:55:30 +0000
Message-ID: <9B57C850BB53634CACEC56EF4853FF653B3F3557@TK5EX14MBXW601.wingroup.windeploy.ntdev.microsoft.com>
References: <4EB3F3D6.4090302@innovationslab.net> <CAC1-dtnas++ahkBmpdyq7DbyAEg0W6bZY16qGzKmsP10vC39FQ@mail.gmail.com> <4EEA3D20.7020603@innovationslab.net> <CAKFn1SFvs0PzBXtEWWo814Oe5TJmbQEJBm5FeYJY5xzrr=KFSw@mail.gmail.com> <4EEA5793.8080800@gmail.com> <CAKFn1SHA-=cQ_=5rJVLVMvQYXoTL_D1dCR=uWZK-qFrcGp6P-w@mail.gmail.com> <4EEA7AF8.2090508@gmail.com> <CAC1-dtn9M8-9cPAmkhCiGV0Gi5+Gfs8GAssTOaA-ZFhyUY3feg@mail.gmail.com> <9B57C850BB53634CACEC56EF4853FF653B3C3777@TK5EX14MBXW601.wingroup.windeploy.ntdev.microsoft.com> <9B57C850BB53634CACEC56EF4853FF653B3EDB9E@TK5EX14MBXW601.wingroup.windeploy.ntdev.microsoft.com> <9B57C850BB53634CACEC56EF4853FF653B3F1DD6@TK5EX14MBXW601.wingroup.windeploy.ntdev.microsoft.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [157.54.51.90]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
Cc: 'Bob Hinden' <bob.hinden@gmail.com>, 'Brian Haberman' <brian@innovationslab.net>, "'ipv6@ietf.org'" <ipv6@ietf.org>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 13 Feb 2012 23:55:41 -0000

> -----Original Message-----
> From: Dave Thaler
> Sent: Monday, February 13, 2012 2:01 PM
> To: Dave Thaler; 'Chris Grundemann'; 'Brian E Carpenter'
> Cc: 'ipv6@ietf.org'; 'Brian Haberman'; 'Bob Hinden'
> Subject: RE: 6MAN WG Last Call: draft-ietf-6man-rfc3484-revise-05.txt
> 
> Yet another problem in draft-ietf-6man-rfc3484-revise...
> 
> Section 2.4 (Private IPv4 address scope):
> [...]
> >   The algorithm currently specified in RFC 3484 is based on the
> >   assumption that a source address with a small scope cannot reach a
> >   destination address with a larger scope.
> [...]
> 
> The above sentence is simply not true, it was NOT based on such an assumption
> at all.  It was based on the assumption that it was
> less likely to work.   There's two reasons why it's less likely to work.
> First, it might or might not be able to reach it (the text overstates by saying it
> cannot... it was acknowledged that it may or may not).
> Second, if it goes through a NAT, it might not work for protocols that embed IP
> addresses in payloads.
> [...]
> 
> >   Due to this assumption, in the presence of both a NATed private IPv4
> >   address and a transitional address (like 6to4 or Teredo), the host
> >   will choose the transitional IPv6 address to access dual-stack peers
> >   [I-D.denis-v6ops-nat-addrsel].  Choosing transitional IPv6
> >   connectivity over native IPv4 connectivity, particularly where the
> >   transitional connectivity is unmanaged, is not considered to be
> >   generally desirable.
> >
> >   This issue can be fixed by changing the address scope of private IPv4
> >   addresses to global.
> 
> Section 10 of RFC 3484 contained many examples.   -revise contains
> no such example of what it's talking about, so I have to guess.  Let's look at 3
> cases.
> 
> Case 1:
>  D set = { global IPv6, global IPv4 }
>  S set = { Teredo IPv6, RFC1918 IPv4 }
> 
> Under RFC 3484 rules, Destination Address Selection would prefer the Teredo
> connectivity under rule 2 (Prefer matching scope).
> 
> Under -revise rules, Destination Address Selection would still prefer the Teredo
> connectivity under rule 6 (Prefer higher precedence), since the precedence of
> the (non-Teredo) destination address
> beats the precedence of the IPv4 address.   Hence -revise
> does not change the behavior in this case.

Dmitry Anipko pointed out that rule 5 (Prefer matching label) would cause
the -revise rules to prefer IPv4.  Still, I'd prefer a solution that doesn't solve
this problem by creating another one (case 3).   That is, we should fix a problem
rather than just move it around.

I'll think about this and  see if I can come back with a proposal.

-Dave

> 
> Case 2:
>  D set = { Teredo IPv6, global IPv4 }
> 
> Not an interesting case because Teredo addressing should be disabled when a
> host has a global IPv4 address.
> 
> Case 3:
>  D set = { global IPv4 = 1.2.3.4 }
>  S set = { NAT-ed IPv4 = 10.2.3.4, global IPv4 = 128.66.3.4 }
> 
> Under RFC 3484 rules, Source Address Selection would prefer the global IPv4
> address under Rule 2(Prefer appropriate scope).
> Under -revise rules, Source Address Selection would instead prefer the NAT'ed
> IPv4 under Rule 8 (Longest matching prefix).
> 
> This is broken.   I don't see a real case the proposed change
> fixes, I only see real cases it breaks.
> 
> -Dave