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

Rémi Després <remi.despres@free.fr> Tue, 28 April 2009 06:34 UTC

Return-Path: <remi.despres@free.fr>
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 914DC3A699E for <behave@core3.amsl.com>; Mon, 27 Apr 2009 23:34:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.679
X-Spam-Level:
X-Spam-Status: No, score=-1.679 tagged_above=-999 required=5 tests=[AWL=0.270, BAYES_00=-2.599, HELO_EQ_FR=0.35, MIME_8BIT_HEADER=0.3]
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 taN2g1Vlr2X2 for <behave@core3.amsl.com>; Mon, 27 Apr 2009 23:33:59 -0700 (PDT)
Received: from smtp4-g21.free.fr (smtp4-g21.free.fr [212.27.42.4]) by core3.amsl.com (Postfix) with ESMTP id 659473A68BE for <behave@ietf.org>; Mon, 27 Apr 2009 23:33:57 -0700 (PDT)
Received: from smtp4-g21.free.fr (localhost [127.0.0.1]) by smtp4-g21.free.fr (Postfix) with ESMTP id 5A1234C801D; Tue, 28 Apr 2009 08:35:11 +0200 (CEST)
Received: from RD-Mac.local (per92-10-88-166-221-144.fbx.proxad.net [88.166.221.144]) by smtp4-g21.free.fr (Postfix) with ESMTP id 8A8FA4C8123; Tue, 28 Apr 2009 08:35:08 +0200 (CEST)
Message-ID: <49F6A398.4040207@free.fr>
Date: Tue, 28 Apr 2009 08:35:04 +0200
From: Rémi Després <remi.despres@free.fr>
User-Agent: Thunderbird 2.0.0.21 (Macintosh/20090302)
MIME-Version: 1.0
To: Dan Wing <dwing@cisco.com>
References: <D109C8C97C15294495117745780657AE0B8E2371@ftrdmel1> <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> <051301c9c760$f13d15f0$c5f0200a@cisco.com>
In-Reply-To: <051301c9c760$f13d15f0$c5f0200a@cisco.com>
Content-Type: text/plain; charset="ISO-8859-15"; format="flowed"
Content-Transfer-Encoding: 8bit
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: Tue, 28 Apr 2009 06:34:00 -0000

Dan,

At the end of a discussion in 2002 on Itojun's draft, Erik Nordmark 
wrote in www.ops.ietf.org/lists/v6ops/v6ops.2002/msg00263:
"An implementation needs to be configured to either be IPv6-only or
dual stack.
In the dual stack case the mapped addresses at the API correspond
to IPv4 packets on the wire.
In the IPv6-only case the mapped addresses at the API correspond
to IPv6 packets on the wire next to the node, and on the other side of
the translator they correspond to IPv4 packets."

I agree with this.

Note that this statement received no objection in 2002, and that 
Itojun's didn't issue a -01 version of his draft.

Regards,

RD


Dan Wing  -  le (m/j/a) 4/27/09 7:52 PM:
>  
> 
>> -----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
>>
>>
> 
>