Re: [Softwires] MAP and 4rd - Relationship with Single translation

Rémi Després <despres.remi@laposte.net> Mon, 26 March 2012 17:16 UTC

Return-Path: <despres.remi@laposte.net>
X-Original-To: softwires@ietfa.amsl.com
Delivered-To: softwires@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A21A421E810B for <softwires@ietfa.amsl.com>; Mon, 26 Mar 2012 10:16:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.414
X-Spam-Level:
X-Spam-Status: No, score=-1.414 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_FONT_FACE_BAD=0.884, HTML_MESSAGE=0.001, MIME_8BIT_HEADER=0.3]
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 6AnzBlVAB+ij for <softwires@ietfa.amsl.com>; Mon, 26 Mar 2012 10:16:11 -0700 (PDT)
Received: from smtpout.laposte.net (smtpout2.laposte.net [193.253.67.227]) by ietfa.amsl.com (Postfix) with ESMTP id B158C21E810A for <softwires@ietf.org>; Mon, 26 Mar 2012 10:16:10 -0700 (PDT)
Received: from [192.168.0.21] ([88.166.221.144]) by mwinf8504-out with ME id qHG51i00337Y3f403HG5ud; Mon, 26 Mar 2012 19:16:08 +0200
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: multipart/alternative; boundary="Apple-Mail-1-140163100"
From: Rémi Després <despres.remi@laposte.net>
In-Reply-To: <CAFFjW4gWV+fv1-cNg=Yy4tmJCt0kWGMEWMX6Ewv47ZgocBTicg@mail.gmail.com>
Date: Mon, 26 Mar 2012 19:16:04 +0200
Message-Id: <06DC52C6-2591-43BD-81EF-2141D5524B9B@laposte.net>
References: <B140D6B2-1B19-43D7-9B63-6BEA83CEB164@juniper.net> <3AAD65F3-5169-49B7-9698-E820EF419B35@employees.org> <171F46DF-2C26-48A8-BE2D-D859C9DE43E9@laposte.net> <8A238676-62B7-4A8B-8986-B24A964CFD9B@juniper.net> <29D1D1C9-CC1E-4F92-81BC-81ECC3402C47@laposte.net> <63E186D0-B49E-4AB4-93C1-C6C7412519E8@laposte.net> <96214733-7D45-436E-81C2-6E6701542C79@employees.org> <4F348EEB.4050908@cernet.edu.cn> <86ABDF99-789A-47D3-AD70-476F998E31AE@laposte.net> <4F59AE74.4090204@cernet.edu.cn> <5AAB9CD9-4C3E-469E-B5C5-64E4C9C3E82F@laposte.net> <4F666409.9050800@cernet.edu.cn> <8B228A6B-4D3C-4E39-BE94-E1B4773649E0@laposte.net> <CAFFjW4ip0DBZ-4qmBBHwyQutnYwJ+F9LOYJ79w2vtqz_5VKEdA@mail.gmail.com> <A03FA585-0426-4DA6-A199-F2E64DF34391@laposte.net> <CAFFjW4gv+EA39=SLsVX4L+79LNuZswooJQ7u42z27DzRL5nz7A@mail.gmail.com> <2BF534DB-3665-4FB4-B7AC-335B9FCA92EB@laposte.net> <CAFFjW4gWV+fv1-cNg=Yy4tmJCt0kWGMEWMX6Ewv47ZgocBTicg@mail.gmail.com>
To: Wojciech Dec <wdec.ietf@gmail.com>
X-Mailer: Apple Mail (2.1084)
Cc: Softwires WG <softwires@ietf.org>, Yong Cui <cuiyong@tsinghua.edu.cn>, Ralph Droms <rdroms@cisco.com>
Subject: Re: [Softwires] MAP and 4rd - Relationship with Single translation
X-BeenThere: softwires@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: softwires wg discussion list <softwires.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/softwires>, <mailto:softwires-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/softwires>
List-Post: <mailto:softwires@ietf.org>
List-Help: <mailto:softwires-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/softwires>, <mailto:softwires-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 26 Mar 2012 17:16:12 -0000

Le 2012-03-26 à 18:42, Wojciech Dec a écrit :

> 
> 
> On 26 March 2012 13:34, Rémi Després <despres.remi@laposte.net> wrote:
> 
> Le 2012-03-26 à 11:08, Wojciech Dec a écrit :
> 
>> With the checksum re-computed, as per the rfc6145 option, translated IPv6 packets would get the right checksum. With 4rd-u so far I see no such option.
> 
> Are you saying that, when original IPv4 packets have null UDP checksums, MAP-T would REQUIRE CEs and BRs to recompute UDP checksums of complete packets? 
> This would certainly prevent packets containing fragments to be forwarded on the fly, and would therefore have performance implication.
> 
> The fragmented packet case is not what I'm referring to,

I didn't write "fragmented" packet, just "complete" packet.
CE or BR, to compute a checksum has to process the "complete"contents of the packet.
This is by reference to what RFC6145 says, namely:
"For UDP packets that do not contain a UDP checksum (i.e., the UDP checksum field is zero), the translator SHOULD provide a configuration function to allow:
1. Dropping the packet and generating a system management event that specifies at least the IP addresses and port numbers of the packet.
2. Calculating an IPv6 checksum and forwarding the packet (which has performance implications)."

As regards, fragmented packets, RFC 6145 says: "Fragmented IPv4 UDP packets that do not contain a UDP checksum (i.e., the UDP checksum field is zero) are not of significant use in the Internet, and in general will not be translated by the IP/ICMP translator. However, when the translator is configured to forward the packet without a UDP checksum, the fragmented IPv4 UDP packets will be translated."

=> two questions:
a) How do you see this to be configured if a particular configuration isn't imposed by the MAP-T specification?
b) If fragmented packets are translated, isn't this as I said incompatible with packet forwarding on the fly (fragment per fragment)?


> but rather, the case where regular unfragmented IPv4 UDP checksum 0 packets are sent. As per rfc6145, the checksum recalculation of such packets is allowed.

Allowed, and therefore not mandatory.
That's fuzziness in the specification.


> In any case, this is not specified yet (one more open issue of the MAP set of documents).
> 
> There doesn't seem to be a need to do that as it's already specified in rfc6145.

See above.

With E or U, none of this is a concern.

RD

 
> 
> -Woj.
>  
> 
> RD
> 
> 
>> 
>> -Woj.
>> 
>> On 23 March 2012 14:55, Rémi Després <despres.remi@laposte.net> wrote:
>> Hi, Wojciech,
>> 
>> Are you suggesting that T would work with IPv4 packets having UDP checksum = 0?
>> 
>> RFC6145 says that IPv4 packets with UDP checksum = 0 are either always discarded, or optionally discarded if not fragmented (with checksum recomputed if not discarded). 
>> I don't see:
>> - how this would work with double translation
>> - why anything should be added to U for checksum-less UDP  (IPv6-only hosts don't support it anyway).
>> 
>> Cheers,
>> RD
>> 
>> 
>> 
>> Le 2012-03-23 à 13:46, Wojciech Dec a écrit :
>> 
>>> 
>>> 
>>> On 19 March 2012 14:22, Rémi Després <despres.remi@laposte.net> wrote:
>>> Hi, Xing,
>>> 
>>> I look forward to face to face discussions in Paris if we don't clarify everything before that (I will be busy on something else in the next 3 days).
>>> 
>>> 
>>> Le 2012-03-18 à 23:39, Xing Li a écrit :
>>> ...
>>>>> 
>>>>>  A key point is that 4rd doesn't prevent a 4rd-capable dual-stack CE node, when it receives no 4rd mapping rule, to exercise single translation. 
>>>>>  Actually, I believe that using for this the BIH of RFC6535 is both sufficient and recommendable.
>>>>>  Translated IPv4 packets, because they are sent from CE nodes to DNS64 synthesized addresses, are appropriately routed to their destinations. (It can be via the NAT64-CGN if needed, or via more direct paths if possible.)
>>>>> Anything missed?
>>>> 
>>>> Sorry, this is a misunderstanding. 
>>>> Hint: Single translation and double translation are based on the same mapping rule in the CERNET2 deployment.
>>> 
>>> I am well aware of this, but this doesn't explain why 4rd mapping rules similar to those of CERNET2 wouldn't have, like MAP-T, "IPv4 to IPv6 communication (single translation) supported".
>>> 
>>> As said in RFC6219, CERNET hosts have their IPv6 addresses configured "via manual configuration or stateful autoconfiguration via DHCPv6".
>>> Hosts can therefore be assigned Interface IDs that have the 4rd-u format (with V octet and CNP).
>>> 
>>> Now, when both addresses happen to be checksum neutral, RFC6145 translation doesn't modify L4 data, so that it doesn't matter whether the DS node has used 4rd-u header mapping or single translation. 
>>> Thus, IPv6-only hosts can exchange packets with IPv4 applications of 4rd CE nodes. 
>>> 
>>> If those packets are UDP checksum 0, the IPv6 host would either need to be customized, or something else would need to changed/configured on the 4rd-u CE specifically to get that to work for specific IPv6 destinations, while with MAP-t this would be transparent (and not require specific forwarding rules). 
>>> 
>>> -Woj.
>>>  
>>> 
>>> Regards,
>>> RD
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>>> Regards,
>>>> 
>>>> xing
>>>> 
>>>> 
>>>>> 
>>>>> Regards,
>>>>> RD
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>>> Regards,
>>>>>> 
>>>>>> xing
>>>>>> 
>>>>>> 
>>>>>>> 
>>>>>>> Regards,
>>>>>>> RD
>>>>>>>  
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> Le 2012-02-10 à 04:28, Xing Li a écrit :
>>>>>>> ... | | | | |
>>>>>>>>>>   |  5 | IPv6 web caches work for IPv4        |  Y  |  N  |  Y  |  N  |
>>>>>>>>>>   |    | packets                              |     |     |     |     |
>>>>>>>>> suggest you rename to "IPv4 to IPv6 communication (single translation) supported"
>>>>>>>>> 
>>>>>>>> 
>>>>>>>> (2) More clarification should be added here. I am not sure 4rd-H can support single translation.
>>>>>>>> 
>>>>>>>> (a) According to (1), 4rd-H does not perform header translation defined by RFC6145. 
>>>>>>>> 
>>>>>>>> (b) In the softwire mailing list, it seems that 4rd-H cannot support single translation.  See the thread containing http://www.ietf.org/mail-archive/web/softwires/current/msg03324.html and other posts.
>>>>>>>> 
>>>>>>>> (c) If 4rd-H cannot support single translation, then "IPv6 web caches work for IPv4 packets" requires special configurations, it cannot do IPv6 web caches for non 4rd-H packets.
>>>>>>> 
>>>>>>> ...
>>>>>>> 
>>>>>>>> (5) I would like to see the details of how 4rd-H handles ICMP and ICMP error messages. In the softwire mailing list there were some discussions. See the thread containing http://www.ietf.org/mail-archive/web/softwires/current/msg03324.html and other posts. Please add
>>>>>>>> 
>>>>>>>>  | 17 | Handle ICMP (RFC6145) | Y | n/a | ? | ? |
>>>>>>> ...
>>>>>>> 
>>>>>> 
>>>>> 
>>>> 
>>>> 
>>> 
>>> 
>>> _______________________________________________
>>> Softwires mailing list
>>> Softwires@ietf.org
>>> https://www.ietf.org/mailman/listinfo/softwires
>>> 
>>> 
>> 
>> 
> 
>