Re: [Roll] Iotdir telechat review of draft-ietf-roll-useofrplinfo-40

"Pascal Thubert (pthubert)" <pthubert@cisco.com> Thu, 30 July 2020 09:07 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 307BD3A0FF4; Thu, 30 Jul 2020 02:07:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.62
X-Spam-Level:
X-Spam-Status: No, score=-9.62 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=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 header.b=NKi+Krla; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=jGIeo2iG
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 8G6Pk3j7WXwI; Thu, 30 Jul 2020 02:07:41 -0700 (PDT)
Received: from alln-iport-5.cisco.com (alln-iport-5.cisco.com [173.37.142.92]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D62533A0FEE; Thu, 30 Jul 2020 02:07:40 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=6512; q=dns/txt; s=iport; t=1596100061; x=1597309661; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=OXTlzvU2mPiieH3qQbC/OO5HaDHE8GD0AmvQYlDOXhw=; b=NKi+KrlakhIBE/zSpJ6BUdpLX8+dHGH+I78Pd48HZqA7lLcrU9D2RkMM F5T8BGZ531fuCdSxe584culOwgh5LtSaB9Q2ZNtwCyIEc1oJ1GR9xowvL Rx6H0riyZSE28PNn2KLv1m43hggW+PNsG1dzVCIvUYA4gBQmsCKvAM+wV s=;
IronPort-PHdr: 9a23:3bWmuBB+vutTR/ei7AC6UyQJPHJ1sqjoPgMT9pssgq5PdaLm5Zn5IUjD/qw01g3IW5/a4rRKkbmev6PhXDkG5pCM+DAHfYdXXhAIwcMRg0Q7AcGDBEG6SZyibyEzEMlYElMw+Xa9PBtUHtz/bhvcuC764TsbAB6qMw1zK6z8EZLTiMLi0ee09tXTbgxEiSD7b6l1KUC9rB7asY8dho4xJw==
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0CqCACTjCJf/49dJa1gHgEBCxIMQIE/C4FSIy4Hb1gvLIQ1g0YDjU+YYoFCgREDVQsBAQEMAQEjCgIEAQGETAIXghICJDcGDgIDAQELAQEFAQEBAgEGBG2FXAyFcQEBAQMBEhERDAEBNwEECwIBCBoCJgICAjAVEAIEAQ0NGoMFgksDDiABDqQHAoE5iGF2gTKDAQEBBYE3AoNeGIIOAwaBDiqCb4JSS0KGPxqBQT+BEUOCTT6CXAEBA4EeFiqDFDOCLZJykjOPaX0Kgl+IW4Y/iwaCe4lLky6RNWqKM5BHhCUCBAIEBQIOAQEFgWkkgVdwFTuCaVAXAg2OHwkag06FFIVCdDcCBgEHAQEDCXyNTIJFAQE
X-IronPort-AV: E=Sophos;i="5.75,413,1589241600"; d="scan'208";a="531663435"
Received: from rcdn-core-7.cisco.com ([173.37.93.143]) by alln-iport-5.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 30 Jul 2020 09:07:39 +0000
Received: from XCH-RCD-005.cisco.com (xch-rcd-005.cisco.com [173.37.102.15]) by rcdn-core-7.cisco.com (8.15.2/8.15.2) with ESMTPS id 06U97dU3022658 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Thu, 30 Jul 2020 09:07:39 GMT
Received: from xhs-rtp-002.cisco.com (64.101.210.229) by XCH-RCD-005.cisco.com (173.37.102.15) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 30 Jul 2020 04:07:39 -0500
Received: from xhs-rcd-003.cisco.com (173.37.227.248) by xhs-rtp-002.cisco.com (64.101.210.229) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 30 Jul 2020 05:07:38 -0400
Received: from NAM11-DM6-obe.outbound.protection.outlook.com (72.163.14.9) by xhs-rcd-003.cisco.com (173.37.227.248) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Thu, 30 Jul 2020 04:07:38 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eMKSVqvFZ9gIzVlWxug9e6je77pynJPr+n9lS/CnGcqKf3TsRds5Hk1O7Uo0dZYNWzW35hnBwmImaC7B+JaPP9kojyufkvT+tcXReqSP0/LCQ9cHoTxm9hlurNZpXAS4LQHtwVz52IH5qJg+WssQDfNqvp0bBo3+zpGTb1LUV6pXnVQFdcap8OHuVB4Cer1J+FXcmsoM2BMoQwcNSEh43Kc2UIO/ggjR9srpmYu14uELaIs3rtg6amc0yv+9zQ3ePdY/hZCqnbJ5aJ330aqL/UrueM+o057yEYeO4CX9nMlQIhrV6LrBMc71QwYc0eGavW41MM99OCIocu5DKUALZg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=OXTlzvU2mPiieH3qQbC/OO5HaDHE8GD0AmvQYlDOXhw=; b=jGw19bk0Z1k09dGEWYrC5BwA8kBAoCDO357s5YdrbfhjJF3osvXcaIp/pZxqdccPnuOUVQEJ9EQpe5kKvHgy1dbtdZ5HHTrXqHaI2Vauv+uESA1EFBRmbhYD7ilgyRNqlYyh4kYOyvvhiatU31n213SBihJV/cvXGssuQqsTRKwuDEczRZ46n/q68wqCptugV2XyZF0Lsw4DyvZhYF2aLCbwzSCHXlUCH9SwDr4Ro2dPbJpAEDzZiMEl5aORjcOBupcyiT/z+UbQdy4bb3zmjh86Pgqaw0eTwD7eV3Pf/Mp3VlTMQy5sx+f/fnj/zQch3vN+yMR2iBYACgrdAdyn8w==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cisco.com; dmarc=pass action=none header.from=cisco.com; dkim=pass header.d=cisco.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.onmicrosoft.com; s=selector2-cisco-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=OXTlzvU2mPiieH3qQbC/OO5HaDHE8GD0AmvQYlDOXhw=; b=jGIeo2iGzdHCNYDHTYmLgbX6BuSK62LsPbDuB1LaSJ7DegrmAhv3l4fXdll9RcWdI++qxPkKG7d6VxmUVlBbm1zN3cIBLOErbVJp2s9qwgrBpq+dcqz30qV02OdiM+UMPvbibalaPTCvK4vlCvdeUlg39Gb3BlCxYql9vgrnt9I=
Received: from MN2PR11MB3565.namprd11.prod.outlook.com (2603:10b6:208:ea::31) by MN2PR11MB3949.namprd11.prod.outlook.com (2603:10b6:208:138::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3239.19; Thu, 30 Jul 2020 09:07:37 +0000
Received: from MN2PR11MB3565.namprd11.prod.outlook.com ([fe80::a53e:5801:92cc:3204]) by MN2PR11MB3565.namprd11.prod.outlook.com ([fe80::a53e:5801:92cc:3204%5]) with mapi id 15.20.3216.033; Thu, 30 Jul 2020 09:07:37 +0000
From: "Pascal Thubert (pthubert)" <pthubert@cisco.com>
To: Mališa Vučinić <malisa.vucinic@inria.fr>, "iot-directorate@ietf.org" <iot-directorate@ietf.org>
CC: "draft-ietf-roll-useofrplinfo.all@ietf.org" <draft-ietf-roll-useofrplinfo.all@ietf.org>, "roll@ietf.org" <roll@ietf.org>, "last-call@ietf.org" <last-call@ietf.org>
Thread-Topic: Iotdir telechat review of draft-ietf-roll-useofrplinfo-40
Thread-Index: AQHWZatpIbCVz7UqIkiC9q5PoH5DKKkfs90w
Date: Thu, 30 Jul 2020 09:07:31 +0000
Deferred-Delivery: Thu, 30 Jul 2020 09:06:53 +0000
Message-ID: <MN2PR11MB35652FAB1C566C880EC77A04D8710@MN2PR11MB3565.namprd11.prod.outlook.com>
References: <159602896040.32219.18351168129491497436@ietfa.amsl.com>
In-Reply-To: <159602896040.32219.18351168129491497436@ietfa.amsl.com>
Accept-Language: fr-FR, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: inria.fr; dkim=none (message not signed) header.d=none;inria.fr; dmarc=none action=none header.from=cisco.com;
x-originating-ip: [2a01:cb1d:4ec:2200:890d:313a:d060:b71c]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 66053419-5a01-4f69-377e-08d834680149
x-ms-traffictypediagnostic: MN2PR11MB3949:
x-microsoft-antispam-prvs: <MN2PR11MB394920320A53D84883B87414D8710@MN2PR11MB3949.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: 3Ff6yneUuH+0AnrSFWQ6MB8mVgFFZttrajpbPo6I7FBZ62Gol1DxGdRv3yIWnuj2O8fB80FWiTKISIDq84IvS4isHXZNurtsY8utTxN6qV5BBK016DmFu8qva4SgLVbJOCGFq0/5IbrQ+PQ35ukU3Ir/N/jJzUrOPaubQZHqZnV55iSWQQpU35lorOD44bAoh04n7+yj7IOrgSLPJdvh6ioejs8Vb4zjcFUQh2GV+fn505ZKxUMRj96xQ20Y1JBPkmYgeXIA4aK3QAnyopf2tAwpIqHJzF5dVq/xfIuAMbD5j9ymFk8JnjIYpiH+CML6BFPkna38RFAQJd2YPDfZvcBaMeeyAkiAxruhxhsTsGXIx4WOjIn5kFZ/NhgCxHfNeDCd1SxFH/oNNHS031l6xw==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR11MB3565.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(346002)(396003)(366004)(376002)(136003)(39860400002)(71200400001)(4326008)(6666004)(66574015)(478600001)(66446008)(64756008)(66946007)(66556008)(66476007)(966005)(2906002)(83380400001)(33656002)(9686003)(55016002)(8936002)(186003)(86362001)(76116006)(316002)(5660300002)(7696005)(6506007)(8676002)(54906003)(52536014)(110136005); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: MmEVG9kwV/1sdWJeSU2M/my8jVyBkZoiNo9UfLP8zlDUNviOKG6YnCGNtf8Wc+Yn5mbcCWp57dSE67z9SoIPcWi8DRUdm5Xk/tj4P1otgO2TBQ7ltf85eV8BFcZ2KWt3tNMNQD9Fdon5EiEEr7iaLscfZO0R6BPUkM2WjmRumG9/L6nAD0SUq31HDtBCZP6Q/sVyUQdArGZyiwhNU/k9HD0DK8VbiDazTYo7oZErg1d1ePxMyM6/sxIAAc5sJhad6/OJRsmgwBlc5Coks93i8ZDCN/i+M+E01RzXYCkYenrBmDi54PSL8mJV40epPiWxM0MOgZv0nPGArAta9lg6xvPHG88XZumvopONMiMZLg2Rf6g/489sfM09M+hPCBSEuXlcS5wCQPgyE6JKGXr1tr1reU9rGFMHmn62aNmNu3Twt2nIjR16oY80/ROHAxpdPVjsijO8Y5jBXGpgAzg2FfEendikRYMWRmbSmQkJIH782dfGAd4vNBgGSRJsoWcSUheTCpNFdqHo5i0B2rEd6dZs3qxAucfMNPLZFiyNwii2tTuNGWc8NjYLL0GvztGPfTmqdB9ltMv6sfLlwoqO307/XYg/kcyoeiyn8NmdSj3C4p7GxhLaJuDi7NCGMSwQyvFxOL0l8s/2LWovN4ODiR4mp6GlBR1IvnSwouAMdy2ypwGDYHAUUYtaLuCzbRVQ+MefNPpcj7cLs9TSaTBn/A==
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: MN2PR11MB3565.namprd11.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 66053419-5a01-4f69-377e-08d834680149
X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Jul 2020 09:07:37.3924 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5ae1af62-9505-4097-a69a-c1553ef7840e
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: VoJPNgFdvHkFEeNs1aq6jehM+ygNMNl4YJugDQURaozoaRAqahgwBOvhvynwvgJnrgv2QszehBPQ26GrmG65Mw==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB3949
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.37.102.15, xch-rcd-005.cisco.com
X-Outbound-Node: rcdn-core-7.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/roll/zFMvHexlA08waVyBe5jagp_AXL8>
Subject: Re: [Roll] Iotdir telechat review of draft-ietf-roll-useofrplinfo-40
X-BeenThere: roll@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
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: Thu, 30 Jul 2020 09:07:43 -0000

Hello Mališa

Many thanks for your review!

I'm not the editor but I'd like to refine some points here

> 
> Section 1:
> 
> > Since some of the uses cases here described, use IPv6-in-IPv6 encapsulation.
> It MUST take in consideration, when encapsulation is applied, the RFC6040
> [RFC6040], which defines how the explicit congestion notification (ECN) field of
> the IP header should be constructed on entry to and exit from any
> IPV6-in-IPV6 tunnel. - Please clarify the sentence. Consider whether it is
> appropriate to have a normative MUST here.

That's a good point, but then all the best practice of encaps also applies, not sure we need/want to list them all. 
I'm afraid that if we start listing some we miss others and get in an endless discussion at IESG, e.g., fragmentation.

The reverse angle could be the MTU discussion. 
If we use RFC 8138 then the IP in IP does not really steal from the 6LoWPAN MTU of 1280. 
If not it does. So on paper the IP in IP encapsulator should fragment at the IP layer. This might happen in particular in non-storing mode with a routing header that causes a larger encapsulation.
But as it goes, even though the MTU is 1280, the fragmentation allows more (2048 with RFC 4944, no explicit limit with https://tools.ietf.org/html/draft-ietf-6lo-fragment-recovery-21).

So it could be good to add text that says:
- best practice IPv6 encapsulation applies
	- mention RFC6040
- there are exception
	- no IP layer MTU discovery (because MTU is 1280)
	- though MTU is 1280, no IP layer fragmentation when the encapsulated packet is over that (because fragmentation copes with it above 1280)
	- The recomposition buffer SHOULD be large enough. We could RECOMMEND 2048 bytes.


> Section 4.2:
> > The non-storing mode case does not require the type change from 0x63
> > to 0x23,
> as the root can always create the right packet.  The type change does not
> adversely affect the non-storing case. - It is not clear what RPI option type
> should non-storing networks use. A pointer to the discussion in Section 4.3
> would be useful.
> 

Note that adding/removing an RPI on the way (e.g., at the root) always involves en/decapsulations (ask 6MAN!). 
I'm not clear what difference you make there?

The problem is for packets from the LLN node to the internet. This is the same for storing and non-storing.
0x23 allows us to not remove The RPI thus to not encapsulate at the LLN node. Maybe that can be clarified.

We deprecate 0x63 globally and want it replaced by 0x23 in all cases. Maybe that can be clarified too. 


> Section 4.4:
> 
> > A node that is decompressing this header MUST decompress using the RPI
> > Option
> Type that is currently active: that is, a choice between 0x23 (new) and 0x63
> (old). The node will know which to use based upon the presence of the flag in
> the DODAG Configuration option defined in Section 4.3. E.g.  If the network is
> in 0x23 mode (by DIO option), then it should be decompressed to 0x23. - If my
> understanding is correct, this means that in order to decompress data plane
> packets, a node first needs to remember the option type mode the network is
> operating in, advertised in DIOs. Consequently, decompression is not possible
> before at least one DIO is received.
 
True. At that point the node does not even know it is in a RPL network. 
Note that the decompression generally happens at the destination of the outer header which removes the RPI if it is a router and ignores it if it is the final destination. So it does not really matter.
But just in case we can mention that the default is 0x23.


> Section 6:
> 
> > The RPI MUST be present in every single RPL data packet.
> - How is the normative text here appropriate at this point? Is this not
> redundant with RFC6553?

Agreed to lowercase it, and as you point out all the uppercase which echo an existing RFC

> Section 8:
> 
> > The root always have to encapuslate on the way down
> - It is not clear how come does root need to always encapsulate on the way
> down. In the basic case of root to RAL communication, IPv6-in-IPv6 is marked
> as “No”. Please clarify.

Need to clarify that this is for routed traffic not self-generated traffic

> Section 8.2.1:
> 
> - A sentence stating how does RAL recognize that the packet is destined for the
> Internet would be useful.

Note that that it does not need to. With this spec, the RAL may do the same thing whether the destination is a RAL, a RUL, or the Internet.
But yes I agree; we could say that if the RAL knows what the RPL domain is, it may encapsulate to the root when the destination is not in that domain.


Many thanks again!

Take care

Pascal