Re: [BEHAVE] Question on embedded address format in draft-baker-behave-v4v6-framework-02

"Dan Wing" <dwing@cisco.com> Mon, 27 April 2009 17:51 UTC

Return-Path: <dwing@cisco.com>
X-Original-To: behave@core3.amsl.com
Delivered-To: behave@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 45D483A6B13 for <behave@core3.amsl.com>; Mon, 27 Apr 2009 10:51:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.311
X-Spam-Level:
X-Spam-Status: No, score=-6.311 tagged_above=-999 required=5 tests=[AWL=-0.012, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id om7zlYB3FPTk for <behave@core3.amsl.com>; Mon, 27 Apr 2009 10:51:24 -0700 (PDT)
Received: from sj-iport-6.cisco.com (sj-iport-6.cisco.com [171.71.176.117]) by core3.amsl.com (Postfix) with ESMTP id ECC853A6A8B for <behave@ietf.org>; Mon, 27 Apr 2009 10:51:23 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.40,255,1238976000"; d="scan'208";a="293773764"
Received: from sj-dkim-3.cisco.com ([171.71.179.195]) by sj-iport-6.cisco.com with ESMTP; 27 Apr 2009 17:52:34 +0000
Received: from sj-core-4.cisco.com (sj-core-4.cisco.com [171.68.223.138]) by sj-dkim-3.cisco.com (8.12.11/8.12.11) with ESMTP id n3RHqY54006558; Mon, 27 Apr 2009 10:52:34 -0700
Received: from dwingwxp01 ([10.32.240.197]) by sj-core-4.cisco.com (8.13.8/8.13.8) with ESMTP id n3RHqYTq014154; Mon, 27 Apr 2009 17:52:34 GMT
From: Dan Wing <dwing@cisco.com>
To: 'Rémi Després' <remi.despres@free.fr>
References: <D109C8C97C15294495117745780657AE0B8E2371@ftrdmel1> <49DC7354.8070305@free.fr> <7E8115D0-C412-4A5F-9281-1C5C97868152@cisco.com> <49DF5476.5030306@free.fr> <D109C8C97C15294495117745780657AE0B9CD4ED@ftrdmel1> <49E7C48D.3020305@gmail.com> <D109C8C97C15294495117745780657AE0B9CD792@ftrdmel1> <55CFDB58-ADD2-460E-9142-87F28E44506E@cisco.com> <49E8CFD9.40904@it.uc3m.es> <49ED219C.1070202@gmail.com> <49EDD647.3060500@free.fr><49EDD750.1070502@network-heretics.com> <49EDDC57.1060302@free.fr><49EE1507.9090306@network-heretics.com><49EEC270.7040607@free.fr> <49EEDADA.8040906@it.uc3m.es><49EF1888.5020302@free.fr> <49EF1D4B.5050300@it.uc3m.es><49EF5017.5030409@free.fr> <49EF6F5D.2010306@it.uc3m.es><49F032DE.3060604@free.fr> <49F03BB4.9050103@it.uc3m.es><49F074D4.2070006@free.fr> <49F07ACF.9000505@it.uc3m.es><49F1D55E.6000003@free.fr> <0C02E699-3F36-4C04-AEB8-59E78D49B827@muada.com> <02ca01c9c533$e8f14620$c5f0200a@cisco.com> <49F25FCB.5040500@network-heretics.com> <49F5E83A.9020 101@free.fr>
Date: Mon, 27 Apr 2009 10:52:33 -0700
Message-ID: <051301c9c760$f13d15f0$c5f0200a@cisco.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Office Outlook 11
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350
Thread-Index: AcnHW9XR+1d2lg6VRTuuKfldcTN+XwABJFPQ
In-reply-to: <49F5E83A.9020101@free.fr>
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=4136; t=1240854754; x=1241718754; c=relaxed/simple; s=sjdkim3002; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=dwing@cisco.com; z=From:=20=22Dan=20Wing=22=20<dwing@cisco.com> |Subject:=20RE=3A=20[BEHAVE]=09Question=20on=20embedded=20a ddress=20format=20in=20draft-baker-behave-v4v6-framework-02 |Sender:=20; bh=l9yuT99LifIHwuYMWNKBQr2NbuzDdIa0IsJWNNOCgq8=; b=MZ+iC+cbbPETyZDsCdRlp9p7VJNAcsQfvkeHf9/UE7REoEnLZXomYfgoZO +piBBqP+12YLWlFXDquXhh41eFYLX9FByAT5iBZbAH58SoF9mQMiafxVeDij HpHjgt9Ydn;
Authentication-Results: sj-dkim-3; header.From=dwing@cisco.com; dkim=pass ( sig from cisco.com/sjdkim3002 verified; );
Cc: 'Behave WG' <behave@ietf.org>, 'Keith Moore' <moore@network-heretics.com>, 'Xing Li' <xing@cernet.edu.cn>, 'Fred Baker' <fred@cisco.com>
Subject: Re: [BEHAVE] Question on embedded address format in draft-baker-behave-v4v6-framework-02
X-BeenThere: behave@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: mailing list of BEHAVE IETF WG <behave.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/behave>, <mailto:behave-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/behave>
List-Post: <mailto:behave@ietf.org>
List-Help: <mailto:behave-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/behave>, <mailto:behave-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 27 Apr 2009 17:51:25 -0000

 

> -----Original Message-----
> From: Rémi Després [mailto:remi.despres@free.fr] 
> Sent: Monday, April 27, 2009 10:16 AM
> To: Keith Moore; Dan Wing; Marcello Bagnulo Braun; Fred Baker
> Cc: 'Iljitsch van Beijnum'; 'Behave WG'; Xing Li
> Subject: Re: [BEHAVE] Question on embedded address format in 
> draft-baker-behave-v4v6-framework-02
> 
> Keith Moore  -  le (m/j/a) 4/25/09 2:56 AM:
> >> That falls into the "well-known prefix causes harm" category.
> >>
> >> I recall that one of the presentations at the Google IPv6 
> >> conference showed there were a lot of Teredo and 6to4
> >> prefixes advertised in DNS.  If IANA assigns a well known 
> >> prefix for 6/4 translation, we should expect some people
> >> will stick that prefix into their DNS records.  Perhaps
> >> out of incompetence, perhaps while debugging or learning, 
> >> or perhaps because 'it works fine for my site that way'.
> > 
> > I am becoming more and more convinced that a WKP for v4/v6 
> translation
> > is a Bad Idea.  That is, it is certain to cause harm, and 
> it's hard to
> > see how it will actually be of any significant benefit.
> 
> Very interesting debate.
> 
> (A) Here is where, in my understanding, a WKP brings a 
> significant benefit:
> If DNS servers of IPv4-ony hosts contain the IPv6 addresses at which 
> IPv6-only hosts can reach them, these hosts can be reached by 
> IPv6-only 
> hosts without sacrificing DNSsec (while RR translations in DNS64s 
> prohibits the use of DNSsec).
> 
> 
> (B) Now, here is how to avoid, in my understanding, any short 
> term harm:
> 
> 1. If the WKP is ::FFFF/96 (that of IPv4 mapped addresses), it is 
> already harmful neither to _IPv4-only hosts_ (that don't see 
> AAAAs) nor 
> to _IPv4-enabled dual-stack hosts_ (according to RFC 2553 
> they send in 
> IPv4 packets that have mapped address destinations).

What of
http://tools.ietf.org/html/draft-itojun-v6ops-v4mapped-harmful-02, 
or was it found that we could resolve that harm?  (I noticed
draft-itojun-v6ops-v4mapped-harmful-02 appears to have not been
published as an RFC.)

-d


> The relevant quote from RFC 2553 sec3.7 is:
> "Applications may use PF_INET6 sockets to open TCP connections to IPv4
> nodes, or send UDP packets to IPv4 nodes, by simply encoding the 
> destination's IPv4 address as an IPv4-mapped IPv6 address, and
> passing that address, within a sockaddr_in6 structure, in the
> connect() or sendto() call."
> 
> 2. If an ISPs wants to offer IPv6-only addresses to its hosts 
> (that have 
> either IPv6-only stacks or dual stacks with IPv4 not enabled ), it is 
> sufficient, to avoid suffering any harm, that its DNS64s 
> _translate IPv4 
> mapped address prefixes they receive into their ISP specific NAT64 
> prefixes_.
> 
> With DNS64s doing as proposed in 2., DNSsec compatibility is still 
> broken, but not more than without a WKP.
> 
> DNSsec deployment being likely to take enough time to prepare a more 
> complete solution, as described below.
> 
> 
> (C) Finally, here is how to eventually restore DNSsec compatibility.
> 
> - Before DNSsec with NAT64s becomes important, make sure that:
>   o TCP/IP dual stacks don't discard packets whose destination is the 
> mapped address when IPv4 is not enabled, patching them where 
> necessary. 
>   (some stacks discarding these packets have been seen to exist).
>   o firewalls that discard these packets by default can be configured 
> not to do it.
> - Then IPv6-only ISPs can:
>   o ensure that routes to their NAT64s exist for the mapped 
> address prefix
>   o disable the translation of mapped addresses prefixes into 
> ISP-specific prefixes.
> 
> The end result is that IPv4-only servers, that have advertised their 
> mapped address in their DNSsec capable DNS servers (possibly 
> a long time 
> ago) become accessible by IPv6-only hosts _that rely on DNSsec_.
> 
> Isn't this an interesting promise?
> 
> Regards,
> RD
> 
>