Re: [Roll] Error flows, which ICMP errors and to which root

"Pascal Thubert (pthubert)" <pthubert@cisco.com> Tue, 01 December 2020 06:35 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 DF85C3A0B5D for <roll@ietfa.amsl.com>; Mon, 30 Nov 2020 22:35:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.619
X-Spam-Level:
X-Spam-Status: No, score=-9.619 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, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H3=-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=ck5yHs3n; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=KOm/64iO
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 ue2mKWrcN24l for <roll@ietfa.amsl.com>; Mon, 30 Nov 2020 22:35:44 -0800 (PST)
Received: from alln-iport-7.cisco.com (alln-iport-7.cisco.com [173.37.142.94]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 37D423A0B5C for <roll@ietf.org>; Mon, 30 Nov 2020 22:35:44 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=30120; q=dns/txt; s=iport; t=1606804544; x=1608014144; h=from:to:subject:date:message-id:references:in-reply-to: mime-version; bh=KM+IqIR57tt9YbBkxpC85nEHH+qLIG+uvqECyOoYvkQ=; b=ck5yHs3n40tFNbTQjJEOVVmFUFC24+wHgZBQLBHF8jiQ4gBGdidA3jB2 G00OmBnO/oP92KmZP7TnZlclTaZXTcyx1SoC91pupwUx3znxYPJ6BvzfR Yx+dlIfcFB89xmb6FfFWBz9F7n/889YvBbDcGY101c9UwUT20Ok+8/lsY A=;
X-IPAS-Result: A0B4BwDZ48VffZ1dJa1cBh0BAQEBCQESAQUFAYIPgSMBLiMufFovLoN8QINJA41amQaBQoERA1QLAQEBDQEBGAEMCAIEAQGBNIMWAheCEgIlOBMCAwEBAQMCAwEBAQEFAQEBAgEGBBQBAYY8DIVyAQEBAQIBAQEKBhEKEwEBLAwECwIBBgIRAwEBASEHAwICAiULFAkIAgQTCBqCfwQCgX5XAw4gAQ6QZJBrAoE8iGl2gTKDBAEBBYUMAxWCEAMGgTiCc4JmTkKGVxuBQT+BEAFDgicuPoJdAQECAYEeIA4SBQcJCQYHCYJhM4Isk32HJZ1QCoJwiReSN4Mgih2UX5VsiQWRLoQ8AgQCBAUCDgEBBYFtIQ+BSnAVO4JpUBcCDY4hg3GFFIVEdAIBNAIGAQkBAQMJfI5pAQE
IronPort-PHdr: 9a23:zQof9BJ7jZl7m2E9f9mcpTVXNCE6p7X5OBIU4ZM7irVIN76u5InmIFeGvK8/jVLVU8Pc8f0Xw+bVsqW1X2sG7N7BtX0Za5VDWlcDjtlehA0vBsOJSCiZZP7nZiA3BoJOAVli+XzoMEVJFoD5fVKB6nG35CQZTxP4Mwc9L+/pG4nU2sKw0e36+5DabwhSwjSnZrYnJxStpgKXvc4T0oY=
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-AV: E=Sophos;i="5.78,383,1599523200"; d="scan'208,217";a="604742826"
Received: from rcdn-core-6.cisco.com ([173.37.93.157]) by alln-iport-7.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 01 Dec 2020 06:35:42 +0000
Received: from XCH-RCD-004.cisco.com (xch-rcd-004.cisco.com [173.37.102.14]) by rcdn-core-6.cisco.com (8.15.2/8.15.2) with ESMTPS id 0B16ZgCw016695 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL) for <roll@ietf.org>; Tue, 1 Dec 2020 06:35:42 GMT
Received: from xhs-rcd-003.cisco.com (173.37.227.248) by XCH-RCD-004.cisco.com (173.37.102.14) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 1 Dec 2020 00:35:42 -0600
Received: from xhs-aln-002.cisco.com (173.37.135.119) by xhs-rcd-003.cisco.com (173.37.227.248) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 1 Dec 2020 00:35:41 -0600
Received: from NAM02-SN1-obe.outbound.protection.outlook.com (173.37.151.57) by xhs-aln-002.cisco.com (173.37.135.119) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Tue, 1 Dec 2020 00:35:42 -0600
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TKkwKhFnPzRn+veBdZV3a5ug289Bul2kIQo4kAfl1PHah1sm33D8wWt7TklnjHIkoXqWP6zcKqhk28c+q+7uODwer+auZ0btAgGUs1/uXmoxWlJitPWVaX9+48bhw6f7OiOsIe1XARtnaEuX1meY+QhVeW80VShsWBaJJ9jNhkeB7fTa1bNsAbOBW33227ueBrxat3U81MKuAAgnM2WI7WI0IvYSnIisgZgeDnfFe4rFFBh3CSNfo/5rNZsLSHNbigiScjBe3YCW6DuXQzxKlIgrwPE51mFWLPALW9/IMyywRUvgpCmy50Lx/ZRXSEgyRIOOD2Cf0q94amiRjIOVnQ==
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=KM+IqIR57tt9YbBkxpC85nEHH+qLIG+uvqECyOoYvkQ=; b=c1H4/Xgtsda9MnXFkouwB4lmq0SS1qFeLPVnd1rHWp8vheuqUBl2QzPoLy2zzNMNHJUuKfS4Uk9iR0Wa6cx3uIpTt2ERvU+LP5K8520VDSqM2HLinHU6VJxHmSqtakR5B3tT2ucHssf3SvcRy7PkQ7UiKgwm/bUwUfyFnqf5WVToZpGwLyyLPWw33/7a5HvY9OPkNKsa+VszdUHluT3pzc4to7+8PbPSg1dqRgNgkdkcO0tagf5+ibSitnFqa+ECnyeqrFMT6Htmw36Z4ZEXoHcZ50xFHIB+Re8466JNe3lmUTp+WEQOH5mvNuYKJCzQNzMTENRHN5nhLYhgjL8g8A==
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=KM+IqIR57tt9YbBkxpC85nEHH+qLIG+uvqECyOoYvkQ=; b=KOm/64iOfagJtfciBpWWVSx2BFv8N83WEKHz3QA49xND8OxOROzyZHNna2DIDa0YYrMBQDwF4rTuPdGnwnPStTsEKAF7Nvy6mNMya8Ybxm2H6l6n5a5Om45FnUKo3pRn9A7jVWneTmi2wOXBjpJUW/HvddiMyVaPaeeBOOwXjnc=
Received: from PH0PR11MB4885.namprd11.prod.outlook.com (2603:10b6:510:35::14) by PH0PR11MB5078.namprd11.prod.outlook.com (2603:10b6:510:3e::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3611.22; Tue, 1 Dec 2020 06:35:41 +0000
Received: from PH0PR11MB4885.namprd11.prod.outlook.com ([fe80::d9d7:eaa0:34c9:91ee]) by PH0PR11MB4885.namprd11.prod.outlook.com ([fe80::d9d7:eaa0:34c9:91ee%7]) with mapi id 15.20.3611.025; Tue, 1 Dec 2020 06:35:41 +0000
From: "Pascal Thubert (pthubert)" <pthubert@cisco.com>
To: Routing Over Low power and Lossy networks <roll@ietf.org>
Thread-Topic: [Roll] Error flows, which ICMP errors and to which root
Thread-Index: AQHWxvDsqJzT1olGwECZKYhlRsF+1KngaEJHgAFPuoyAAAqV0A==
Date: Tue, 01 Dec 2020 06:35:29 +0000
Deferred-Delivery: Tue, 1 Dec 2020 06:34:28 +0000
Message-ID: <PH0PR11MB488590F8FA7632517929B0F1D8F40@PH0PR11MB4885.namprd11.prod.outlook.com>
References: <26D2BCD1-D47E-46CA-9F3E-781A17A60398@cisco.com>, <FF8B5C6D-8CE5-4ABB-8DFF-0147F7BA9374@cisco.com> <MWHPR11MB1742A66061E5BE87DD387CE88CF40@MWHPR11MB1742.namprd11.prod.outlook.com>
In-Reply-To: <MWHPR11MB1742A66061E5BE87DD387CE88CF40@MWHPR11MB1742.namprd11.prod.outlook.com>
Accept-Language: fr-FR, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: ietf.org; dkim=none (message not signed) header.d=none;ietf.org; dmarc=none action=none header.from=cisco.com;
x-originating-ip: [2a01:cb1d:4ec:2200:5915:fffd:1d6b:49a5]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 4629e3c5-f985-4de1-f567-08d895c352bb
x-ms-traffictypediagnostic: PH0PR11MB5078:
x-microsoft-antispam-prvs: <PH0PR11MB5078458284103BBF42A52AA0D8F40@PH0PR11MB5078.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: P0oQUM2ZmpYv9eMPdZVybL+I6S1TltVUoV1M5toI51xlJudSYstOfqaY1jJiaaETYDyFN/1yAfKdxcksogkHaaNjenlRQotmbux9HJch/52O2qs6lBSOXtxRkrD0vrILPP394zS/aJZLCFsHUg4i5tQ7hL9WPygkLU1ifUpm/saUUrO4M3UGO42prZEi/3KFuVfPVztJKw1cKoy62lzza+N/4o3bpxcyDOIpr4V+//a4NbqEbZiTaH6ndlGv6fUOXK3wndHesVQqMEARjOCkGwk2vGHVN+tSrD2pOgX/33vGs5WkfOwTQMTD308VB2+hHY8wY3zEcv4cSwV67CllrC/Yvqa92NjLkKxhCc+kDgzg3Hm4EeHDcw65UmZxk6z4Js1Pfw5OE2ns5pmy+41+Ig==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR11MB4885.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(396003)(39860400002)(346002)(136003)(376002)(86362001)(71200400001)(52536014)(6916009)(2906002)(5660300002)(6506007)(7696005)(316002)(83380400001)(966005)(6666004)(66574015)(33656002)(478600001)(53546011)(66946007)(66476007)(64756008)(66556008)(45080400002)(8676002)(66446008)(9686003)(8936002)(166002)(186003)(76116006)(55016002); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: WLzWeRzYkcXRSsNC6vtFbcDIKZg+a3OHoo3p6qLmi2z9T33y6vQHJfykeW+Ot7cAqV3T25OgI0P7dDvwROXtCj6UvKKhiiiVBaXAz+yxc8LmsZho/HGmciDSeEgz3POdGp7AVFimUIzVMgGgyvg4stfIY8nph/geiFUfTtsaqG8XEwlLsPrUTrl0OVxaumNSpjMJiyYLALR8sNG4VBOEW8xt9LkTNiRXErCrsPFs6x2jkU8pujT8WjnesleoHd5xG4fervkwAxCj/j2JfUxJmQcqdXk/24lFGljIUY8sKAsi+HyAMecblczzefTIjF4bxOaM+Ovrzv1Ogui0+1mAGG5+dVxQy/I2SnaM8MgIycpPncW0EtEk+SKHpVwuIKtN2+I/YVNU2MFGHQhJM8/zqq9hGgba89weyVdTr20dxVm7wb9eYQ6KmEPLRjJOXlN2gKmQC6YGCPcPjB+zaEPkzhUrmppjck2hVHLvWC8jNfM3nIRARqBD5+p/ZETiGzssJWDERHDyuNwFFa4+S3/azyZYGAZTdQM4pIsVxQCnqhDRlw1h7ThImPg/gakhVmQCGkKuxGYJ9fXXHRTkaxrVRT3uB7eATEfoslpr5gU2GoxPxKhgTKckjKfcBUbUhwfKFnQt3evaXhxVFrjr6DdM1MZ6NJ/4KD/TNTATZtCd0luKZzWEAIvmqkfTIzcBCg9ahxDJkw6UpTrDnT6jGtm34MVDRVBPoZ9i2SHSGtbdDC52jq9vr6YNU4N713NY4YEdmZt1JrbrUd/u77QyFo3lv3ULesgl2/vO0VQiycElDloBcrGs7OvF7l/EftgBcGnvI4HTQ+3fI6ttnKoAyvBl1kHqzooeAUwkDPK5KACYsZCxHWQ6OLP06bICQGg/uKguY87MlHQeB3LxdJLgs7Ix7yvPlsUQwCv68TDWpzz8gwZuAAEKv7u0XJpIDfy2v5u8eD5XeKKtF3UQFaL+h38wzSKu2Q+ufnlmyw9tRs8KUpCSpGtYlCl0JziGZ9F30W5FDn66MI5063y97ab71ePmZ9DpqJadrGcGBXCFqySiYj3zyXTC7F5avW9jtER6+DVI
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_PH0PR11MB488590F8FA7632517929B0F1D8F40PH0PR11MB4885namp_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB4885.namprd11.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 4629e3c5-f985-4de1-f567-08d895c352bb
X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Dec 2020 06:35:41.1489 (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: 6NbOV8228PueZoxcQwHGjuygwiSYBIE7T7U+IdjlzVorPQrX8Duh+tyUOjlGa3MXHNIp0HmUqO3EpBTIidDigA==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB5078
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.37.102.14, xch-rcd-004.cisco.com
X-Outbound-Node: rcdn-core-6.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/roll/RMZtEIJjT8ZkJVV6kbtOpkbL4Ho>
Subject: Re: [Roll] Error flows, which ICMP errors and to which root
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: Tue, 01 Dec 2020 06:35:50 -0000

Hello Li

But P-DAO does not distribute a Rank. The new P-SRH-6LoRH elides it. So the ‘R’ flag does not make sense either.
For now the Track is not reversible, so the ‘O’ flag is useless as well.

I was wondering for the ‘F’ flag. We could still use it in both modes. But that is extra code, little value since the ICMP to the root is already there.

Finally, you’ll find that there is no room left in

                0                   1                   2
                0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3
               +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
               |1|0|E| Length  | 6LoRH Type 7  | RPLInstanceID |
               +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

That is because I want the P-RPI-6LoRH to be either elective or critical, which implies that buts 3..7 are a length, no room for the ‘F’ bit.
For memory, the RPI-6LoRH is critical, you HAVE to support it if it is in the packet, else you drop. In the above format, if the ‘E’ bit is set, the implementation can fully ignore the RPI (that’s one of the nice things about RFC 8138), which can be OK in some strict source routing situations.

So I thought, let us ignore all the bits and keep things simple.

Works?

Pascal


From: Roll <roll-bounces@ietf.org> On Behalf Of Li Zhao (liz3)
Sent: mardi 1 décembre 2020 06:35
To: Routing Over Low power and Lossy networks <roll@ietf.org>
Subject: Re: [Roll] Error flows, which ICMP errors and to which root

Hello Pascal,

One concern for section 4 “Extending RFC 6553”.
Are other fields “'O', 'R', 'F' flags, SenderRank ” necessary to be zero if ‘P’ flag is set?
For storing-PDAO, maybe we can leverage these fields for error-detection if need. So do we need replace “MUST” to “SHOULD” or “MAY” to keep the flexibility?


Best regards,
Li

From: Roll <roll-bounces@ietf.org<mailto:roll-bounces@ietf.org>>
Date: Monday, November 30, 2020 at 17:28
To: Routing Over Low power and Lossy networks <roll@ietf.org<mailto:roll@ietf.org>>
Subject: Re: [Roll] Error flows, which ICMP errors and to which root
Yes Huimin

And this is the normal behavior.

With PDAO we created the unusual behavior to send the error in p-route to the root. This was to make things faster since the communication through the Track is directional so you cannot talk back. Also in non storing talking to the source is via the Root and ultimately the Root needs to update the P DAO.

With RAW we may want to to something faster but unclear for now.

Please note that after the discussion with you and Li I published a revision that has the flag in the RPI that indicates that the packet is forwarded on a P-route.

Do you want to change the error flow?

Pascal

> Le 30 nov. 2020 à 09:15, Huimin She (hushe) <hushe=40cisco.com@dmarc.ietf.org<mailto:hushe=40cisco.com@dmarc.ietf.org>> a écrit :
>
> Hi Pascal,
>
> RFC 6550 section 11.1 says the ICMPv6 error in SRH should be sent to the source of the packet.
>
> Best regards,
> Huimin
>
>    Message: 2
>    Date: Fri, 27 Nov 2020 07:47:22 +0000
>    From: "Pascal Thubert (pthubert)" <pthubert@cisco.com<mailto:pthubert@cisco.com>>
>    To: Routing Over Low power and Lossy networks <roll@ietf.org<mailto:roll@ietf.org>>
>    Subject: [Roll] Error flows, which ICMP errors and to which root?:
>        [extends] IETF 109 open Questions on P-DAO
>    Message-ID:
>        <CO1PR11MB4881A724B04EA29D32DC9C81D8F80@CO1PR11MB4881.namprd11.prod.outlook.com<mailto:CO1PR11MB4881A724B04EA29D32DC9C81D8F80@CO1PR11MB4881.namprd11.prod.outlook.com>>
>
>    Content-Type: text/plain; charset="us-ascii"
>
>    Hello Li
>
>    This is the wrong thread. I created a new one.
>
>> Section 7.9 of pdao-draft defines a new code for  ICMPv6 error message "Error in Projected Route". Does it only work for ICMP errors sent to the main Root?
>
>    Section 5 says "
>
>
>       In case of a forwarding error along a Projected Route, an ICMP error
>
>       is sent to the Root with a new Code "Error in Projected Route" (See
>
>       Section 7.9<https://tools.ietf.org/html/draft-ietf-roll-dao-projection-14#section-7.9>).  The Root can then modify or remove the Projected
>
>       Route.  The "Error in Projected Route" message has the same format as
>
>       the "Destination Unreachable Message", as specified in RFC 4443<https://tools.ietf.org/html/rfc4443>
>
>       [RFC4443<https://tools.ietf.org/html/rfc4443>].
>
>    "
>
>    So yes the intention was to send the ICMP to the main Root. But as you point out the packet does not indicate it is following a P-route. This was related to storing mode P DAO. In non-storing the node does not know it's a P-route.
>
>
>> In non-storing PDAO, forwarder can't recognize whether data packet is in PDAO instance. Forwarder should send ICMP Destination Unreachable error to root (the source of the packet), then root generates ICMPv6 error message with "Error in Projected Route" to main Root.  Is it correct?
>
>    That would work. Seems neat. The alternate would be to signal it is a P route in the RPI. That's item 2) in the list in this thread. If we do that the current text works. What makes more sense to you?
>
>> In storing PDAO, forwarder can recognize the PDAO instance from the RPI. It can send "Error in Projected Route" or  "Destination Unreachable error" to root. Maybe we need more claims for which code forwarder should use.
>
>    We have to decide if we send it to the main root as written in the current draft or to the Track Root. If the P route is reversible could be done that way. But that's added complexity. I'm not very convinced either way. The Okham razor could be to do the simplest.
>
>    Keep safe!
>
>    Pascal
>
>
>
>
>
> _______________________________________________
> Roll mailing list
> Roll@ietf.org<mailto:Roll@ietf.org>
> https://www.ietf.org/mailman/listinfo/roll
_______________________________________________
Roll mailing list
Roll@ietf.org<mailto:Roll@ietf.org>
https://www.ietf.org/mailman/listinfo/roll