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

Tim Chown <Tim.Chown@jisc.ac.uk> Wed, 20 July 2016 15:11 UTC

Return-Path: <tim.chown@jisc.ac.uk>
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 924A612D8C1 for <roll@ietfa.amsl.com>; Wed, 20 Jul 2016 08:11:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.111
X-Spam-Level:
X-Spam-Status: No, score=-4.111 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, T_DKIM_INVALID=0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=fail (1024-bit key) reason="fail (message has been altered)" header.d=jisc365.onmicrosoft.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 vray-Fk6weKH for <roll@ietfa.amsl.com>; Wed, 20 Jul 2016 08:11:30 -0700 (PDT)
Received: from eu-smtp-delivery-189.mimecast.com (eu-smtp-delivery-189.mimecast.com [207.82.80.189]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DC51912D98F for <roll@ietf.org>; Wed, 20 Jul 2016 08:11:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jisc365.onmicrosoft.com; s=selector1-jisc-ac-uk; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=TZap93wjfWCqpve/L+WzjIZ+HQQ4YCpk+SM20q/moXE=; b=SWL5BTi4opf4kMwA8jghdv2wJbbVhbRqv0XFg8EzAvup094ZDU16epoN8gaNWNBtPH0sbHzGDP8iIv00SNeobyX6i6V/v97OEq+RdFLC55cIcmQV+CqsYpUa7vHGOL4B25sZZ3UCdvrmgU/3t0rTSnTFhNTysILpKRw9Z767Dmg=
Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-db5eur03lp0086.outbound.protection.outlook.com [94.245.120.86]) (Using TLS) by eu-smtp-1.mimecast.com with ESMTP id uk-mta-58-DaNgdMAhP8mriqxwnaJqfA-1; Wed, 20 Jul 2016 16:11:20 +0100
Received: from AMSPR07MB455.eurprd07.prod.outlook.com (10.242.106.148) by AMSPR07MB456.eurprd07.prod.outlook.com (10.242.106.149) with Microsoft SMTP Server (TLS) id 15.1.534.14; Wed, 20 Jul 2016 15:11:06 +0000
Received: from AMSPR07MB455.eurprd07.prod.outlook.com ([10.242.106.148]) by AMSPR07MB455.eurprd07.prod.outlook.com ([10.242.106.148]) with mapi id 15.01.0539.021; Wed, 20 Jul 2016 15:11:06 +0000
From: Tim Chown <Tim.Chown@jisc.ac.uk>
To: "Pascal Thubert (pthubert)" <pthubert@cisco.com>
Thread-Topic: [Roll] impacts of rfc2460bis on draft-ietf-roll-useofrplinfo
Thread-Index: AQHR4Scc3IsoEvP+qkam64X61wE+OqAfOpcAgABUa4CAAAmsAIAACPsAgAHOPYA=
Date: Wed, 20 Jul 2016 15:11:06 +0000
Message-ID: <F918EDC3-60AF-4464-A762-1B17F6FE86F7@jisc.ac.uk>
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>
In-Reply-To: <C0275292-B25B-4CD3-8C32-C47D6A9D061E@cisco.com>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-mailer: Apple Mail (2.3124)
x-ms-exchange-messagesentrepresentingtype: 1
x-originating-ip: [2001:67c:370:160:7d03:333f:9868:5854]
x-ms-office365-filtering-correlation-id: 945269d2-8eec-4492-a1cb-08d3b0b0129c
x-microsoft-exchange-diagnostics: 1; AMSPR07MB456; 20:L5bbxqeWUpDrJwLQ8jK+pTm2oq4QdmBwYWq6TMXblWRH7zJsrIVQ44HnTKtzZ8CzE8DuD0kfEogQ/9g/vbyuQyKcSGfvWuvQfugJgYvJ+Fj57Sgp05SSof9nkFw3dcXMabF7CZK3Fjht8hxQUQK+h1ZafhO5dkVQ463rQIKnoRo=
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:AMSPR07MB456;
x-microsoft-antispam-prvs: <AMSPR07MB456D61C87EEEA97718C2766D6080@AMSPR07MB456.eurprd07.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(120809045254105)(95692535739014);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001); SRVR:AMSPR07MB456; BCL:0; PCL:0; RULEID:; SRVR:AMSPR07MB456;
x-forefront-prvs: 000947967F
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(7916002)(24454002)(199003)(189002)(8936002)(74482002)(3280700002)(586003)(8676002)(81156014)(7846002)(2950100001)(2900100001)(3660700001)(81166006)(76176999)(15975445007)(2906002)(93886004)(102836003)(110136002)(82746002)(6116002)(19580395003)(19580405001)(122556002)(7736002)(305945005)(11100500001)(97736004)(4326007)(77096005)(50226002)(92566002)(106356001)(101416001)(83716003)(105586002)(57306001)(5002640100001)(106116001)(50986999)(230783001)(36756003)(86362001)(87936001)(10400500002)(189998001)(33656002)(68736007)(3826002)(104396002); DIR:OUT; SFP:1101; SCL:1; SRVR:AMSPR07MB456; H:AMSPR07MB455.eurprd07.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en;
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-ID: <8290B68AB5D40B4AAA680371A4D3E482@eurprd07.prod.outlook.com>
MIME-Version: 1.0
X-OriginatorOrg: jisc.ac.uk
X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Jul 2016 15:11:06.0137 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 48f9394d-8a14-4d27-82a6-f35f12361205
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AMSPR07MB456
X-MC-Unique: DaNgdMAhP8mriqxwnaJqfA-1
Content-Type: text/plain; charset="WINDOWS-1252"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/roll/mIdWQq_9aw3lrE8LMApr9G4zBxw>
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 15:11:38 -0000

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
> --------------------------------------------------------------------