Re: [Roll] impacts of rfc2460bis on draft-ietf-roll-useofrplinfo

"Pascal Thubert (pthubert)" <pthubert@cisco.com> Wed, 20 July 2016 16:24 UTC

Return-Path: <pthubert@cisco.com>
X-Original-To: roll@ietfa.amsl.com
Delivered-To: roll@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 91F1D12D7FB; Wed, 20 Jul 2016 09:24:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -15.808
X-Spam-Level:
X-Spam-Status: No, score=-15.808 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.287, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cASG7MgUgK5O; Wed, 20 Jul 2016 09:24:12 -0700 (PDT)
Received: from rcdn-iport-2.cisco.com (rcdn-iport-2.cisco.com [173.37.86.73]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CE47312D821; Wed, 20 Jul 2016 09:24:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=5067; q=dns/txt; s=iport; t=1469031851; x=1470241451; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=1MphemYKGSEpW5t37LK8UuxpOkzf3WbsLXBPFocoZQg=; b=JxKAh07bCusW+CgrxNVAE7ILYM8ApTHFKhQFW0/RFeWc2+LfmsKg5XyA KU1eD5KHeK0Vy93QIJL9DzV/zuGuc/+uWUo47/Bl8eKRopZENjRi89Gmw 6XO+gx6PtDloYRZUi53zQU+IVz1bGYLYzM5+kCUdP2eMj5d/DWokUjadF Y=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0AfAgDDpI9X/4cNJK1dDoMxVnysQYwbgXoigkGDNwKBMzgUAQEBAQEBAWUnhFwBAQQBAQFsCwULAgEIGC4hBgslAgQOBYgWAw8IDrkbDYQIAQEBAQEBAQEBAQEBAQEBAQEBAQEBFwWGKoF4CIJNgkOBWSSDLIIvBYgfhiWKLjQBhhKGMYIejzmIJYd6AR42gzg7bgGFYoFEAQEB
X-IronPort-AV: E=Sophos;i="5.28,395,1464652800"; d="scan'208";a="130870143"
Received: from alln-core-2.cisco.com ([173.36.13.135]) by rcdn-iport-2.cisco.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 20 Jul 2016 16:24:10 +0000
Received: from XCH-RCD-005.cisco.com (xch-rcd-005.cisco.com [173.37.102.15]) by alln-core-2.cisco.com (8.14.5/8.14.5) with ESMTP id u6KGOAgL019193 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Wed, 20 Jul 2016 16:24:10 GMT
Received: from xch-rcd-001.cisco.com (173.37.102.11) by XCH-RCD-005.cisco.com (173.37.102.15) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Wed, 20 Jul 2016 11:24:10 -0500
Received: from xch-rcd-001.cisco.com ([173.37.102.11]) by XCH-RCD-001.cisco.com ([173.37.102.11]) with mapi id 15.00.1210.000; Wed, 20 Jul 2016 11:24:10 -0500
From: "Pascal Thubert (pthubert)" <pthubert@cisco.com>
To: Tim Chown <Tim.Chown@jisc.ac.uk>
Thread-Topic: [Roll] impacts of rfc2460bis on draft-ietf-roll-useofrplinfo
Thread-Index: AQHR4X59TqNb256fWESru62KIaaKWqAf4iWAgAAJrAD//7UpV4ACIboA///AmR8=
Date: Wed, 20 Jul 2016 16:24:10 +0000
Message-ID: <87F2A4F0-7EFA-4898-BEEF-6CCC89670464@cisco.com>
References: <24554.1468868593@obiwan.sandelman.ca> <799ab640-bed0-22a6-a9df-97f78c3f0bf8@gmail.com> <30725.1468924267@obiwan.sandelman.ca> <c342e18c-d2d8-8b97-12ba-f67c25413d4f@gmail.com> <C0275292-B25B-4CD3-8C32-C47D6A9D061E@cisco.com>, <F918EDC3-60AF-4464-A762-1B17F6FE86F7@jisc.ac.uk>
In-Reply-To: <F918EDC3-60AF-4464-A762-1B17F6FE86F7@jisc.ac.uk>
Accept-Language: fr-FR, en-US
Content-Language: fr-FR
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-transport-fromentityheader: Hosted
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/roll/U73bOZTeYCirLpCJgpyII60gUqc>
Cc: Michael Richardson <mcr+ietf@sandelman.ca>, Routing Over Low power and Lossy networks <roll@ietf.org>, "6man@ietf.org" <6man@ietf.org>
Subject: Re: [Roll] impacts of rfc2460bis on draft-ietf-roll-useofrplinfo
X-BeenThere: roll@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: Routing Over Low power and Lossy networks <roll@ietf.org>
List-Id: Routing Over Low power and Lossy networks <roll.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/roll>, <mailto:roll-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/roll/>
List-Post: <mailto:roll@ietf.org>
List-Help: <mailto:roll-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/roll>, <mailto:roll-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 20 Jul 2016 16:24:13 -0000

Hello Tim:

The spec of the case that requires IP in IP (in effect the root relaying a packet as opposed to sourcing it) was not followed by implementors. 

People figured that the overhead for encapsulation limited the size of the network to 2 or 3 hops. 

This is now somewhat alleviated by the new 6LoRH compression schema. Thus a first tentative implementation of Michael's draft in openWSN.

But the architectural value vs. energy/ bandwidth cost is still hardly convincing for the world outside IETF. 

Regards,

Pascal

> Le 20 juil. 2016 à 17:11, Tim Chown <Tim.Chown@jisc.ac.uk> a écrit :
> 
> Hi Pascal,
> 
> What RFC6554 (defining the RPL Type 3 RH) appears to say is:
> 
>   1.  If the SRH specifies the complete path from source to
>       destination, the router places the SRH directly in the datagram
>       itself.
> 
>   2.  If the SRH only specifies a subset of the path from source to
>       destination, the router uses IPv6-in-IPv6 tunneling [RFC2473] and
>       places the SRH in the outer IPv6 header.  Use of tunneling
>       ensures that the datagram is delivered unmodified and that ICMP
>       errors return to the source of the SRH rather than the source of
>       the original datagram.
> 
> Which seems to suggest otherwise.
> 
> Is it case 2 where insertion is happening rather than tunnelling? Case 1 is at the source, which is compliant with RFC2460. Curious to know...
> 
> Tim
> 
>> On 19 Jul 2016, at 12:37, Pascal Thubert (pthubert) <pthubert@cisco.com> wrote:
>> 
>> Actually Brian:
>> 
>> What is really needed here is not for routers but for the end hosts to ignore a HbH they are not programmed to recognize. 
>> 
>> The new text says all nodes on the path do. This seems to include the receiver in which case we're good.
>> 
>> This will not change that most open implementations of RPL (all but a prototype implementing this draft) actually do header insertion.
>> 
>> Regards,
>> 
>> Pascal
>> 
>>>> Le 19 juil. 2016 à 13:14, Brian E Carpenter <brian.e.carpenter@gmail.com> a écrit :
>>>> 
>>>> On 19/07/2016 22:31, Michael Richardson wrote:
>>>> 
>>>> Brian E Carpenter <brian.e.carpenter@gmail.com> wrote:
>>>>>> 
>>>>>> The ROLL document draft-ietf-roll-useofrplinfo documents RFC6553 (a
>>>>>> Hop-by-Hop critical option) and 6554 (a form of Source Routing Header, RH3).
>>>>>> There is work on 6lo to allocate additional 6lowpan IPHC codes such that
>>>>>> the work in ROLL:
>>>>>> https://datatracker.ietf.org/doc/draft-ietf-roll-routing-dispatch/ can
>>>>>> know what kinds of things we need to compress.
>>>>>> 
>>>>>> A number of things are constrained by the need to always remove the
>>>>>> RFC6553 Hop-by-Hop option RPI option which had been marked critical:
>>>>>> i.e. drop packet if you don't understand it.
>>>>>> 
>>>>>> As a result of the change in RFC2460bis, which says that intermediate hosts
>>>>>> will in general not examine hop-by-hop options, but should just ignore
>>>>>> them, we can make certain simplications to the useofrplinfo document.
>>>>>> (rfc2460bis, section 4, page 8, "NOTE: While...)
>>>> 
>>>>> You can already do that, because RFC7045 section 2.2 updates RFC2460:
>>>>> " The IPv6 Hop-by-Hop Options header SHOULD be processed by
>>>>> intermediate forwarding nodes as described in [RFC2460]."
>>>>> which of course means that forwarding nodes MAY ignore HbH.
>>>> 
>>>> It's not what *I* want to do, it's what *I* can expect *others* to do.
>>>> So 7045 doesn't help me.
>>> 
>>> Well, it legitimizes a router simply ignoring a HbH header. Isn't that useful?
>>> 
>>>> 
>>>>> 00 - skip over this option and continue processing the header.
>>>> 
>>>> A type=10 option was allocated by RFC6553
>>>> 
>>>> I think it was a mistake.
>>> 
>>> Agreed.
>>>  Brian
>>> 
>>>> We have discussed changing it as we add
>>>> compression for 6553, 6554 and IPIP (which would be a flag day anyway).
>>>> This was considered undesireable, because there was a desire not to leak
>>>> our headers; that the internet would drop our packets if we screwed up.
>>>> 
>>>> But, it turns out that the internet won't drop out packets, so we might
>>>> as well optimize the situation so that if we don't need to remove our
>>>> Hob-by-Hop header, then we don't need extra IPIP headers.
>>>> 
>>>> --
>>>> Michael Richardson <mcr+IETF@sandelman.ca>, Sandelman Software Works
>>>> -= IPv6 IoT consulting =-
>>> 
>>> _______________________________________________
>>> Roll mailing list
>>> Roll@ietf.org
>>> https://www.ietf.org/mailman/listinfo/roll
>> 
>> --------------------------------------------------------------------
>> IETF IPv6 working group mailing list
>> ipv6@ietf.org
>> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
>> --------------------------------------------------------------------
>