Re: [Roll] UNaware leaves: separating EDAR proxy from 'R"' flag processing

"Pascal Thubert (pthubert)" <pthubert@cisco.com> Mon, 26 August 2019 17:34 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 244CD120AE2 for <roll@ietfa.amsl.com>; Mon, 26 Aug 2019 10:34:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.501
X-Spam-Level:
X-Spam-Status: No, score=-14.501 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, 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 header.b=i4GcKgr1; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=MyOurcMa
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 qqoDGh0eZK1S for <roll@ietfa.amsl.com>; Mon, 26 Aug 2019 10:34:08 -0700 (PDT)
Received: from alln-iport-1.cisco.com (alln-iport-1.cisco.com [173.37.142.88]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A0759120AA2 for <roll@ietf.org>; Mon, 26 Aug 2019 10:34:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=9268; q=dns/txt; s=iport; t=1566840848; x=1568050448; h=from:to:subject:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version; bh=UYpiJIfhmLuNQXMAK5kfslgBNY5XbcdCadfG/X6Mnus=; b=i4GcKgr1I9+41sZv/ebJVKDSSN13fW2mhlFCnYPnvyIdTjuFawdL0xeE S2BeNvHXaIr26FjJPd/OPG+QEiC4xwB405GODpVv4Y7frvv0gAshU2CTG mvTHiQhzJSQLBxVVWc222zd7sfrnahjid/6krA68EmXzJMkcB6PHJXwdG Q=;
IronPort-PHdr: 9a23:WQKlmRZZ3mDAefN6gjTdsjf/LSx94ef9IxIV55w7irlHbqWk+dH4MVfC4el20gabRp3VvvRDjeee87vtX2AN+96giDgDa9QNMn1NksAKh0olCc+BB1f8KavycywnFslYSHdu/mqwNg5eH8OtL1A=
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0CTCABfF2Rd/4MNJK1kHAEBAQQBAQcEAQGBZ4FFJCwDgUMgBAsqh2gDim1Ngg+QCIdggUKBEANUCQEBAQwBAS0CAQGEPwKCZyM4EwIKAQEEAQEBAgEGBG2FLQyFSgEBAQEDEi4BATgLBAIBCBEEAQEvMh0IAQEEEwgahGsDHQECni0CgTiIYYIlgnsBAQWFARiCFgmBNIR9hnUYgUA/gRFGgkw+hAw6gzuCJpRUXJY+CQKCHo19hmGCMpYdjx6WcAIEAgQFAg4BAQWBZyGBWHAVgyeCQgwXg0+KU3KBKY4nAQE
X-IronPort-AV: E=Sophos;i="5.64,433,1559520000"; d="scan'208";a="314828825"
Received: from alln-core-1.cisco.com ([173.36.13.131]) by alln-iport-1.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 26 Aug 2019 17:34:07 +0000
Received: from XCH-RCD-010.cisco.com (xch-rcd-010.cisco.com [173.37.102.20]) by alln-core-1.cisco.com (8.15.2/8.15.2) with ESMTPS id x7QHY7LP027630 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL) for <roll@ietf.org>; Mon, 26 Aug 2019 17:34:07 GMT
Received: from xhs-rtp-003.cisco.com (64.101.210.230) by XCH-RCD-010.cisco.com (173.37.102.20) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Mon, 26 Aug 2019 12:34:06 -0500
Received: from xhs-aln-003.cisco.com (173.37.135.120) by xhs-rtp-003.cisco.com (64.101.210.230) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Mon, 26 Aug 2019 13:34:05 -0400
Received: from NAM01-SN1-obe.outbound.protection.outlook.com (173.37.151.57) by xhs-aln-003.cisco.com (173.37.135.120) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Mon, 26 Aug 2019 12:34:05 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LkUHifF217RUyp59JP9X2OcCLJp835UWH4uxyDIB7ehRo4c8/8uvV05526siGnhV7ZyiW4T2gFLqrq48Vk6zBHaRZFENYc08KJBIV9/ompqEr7sxn8C45UZZ9elsXAcm06b8iimDWyOpdt31OmBEsLJT+llY2atVfQgtYfY+nOmYJYuMlPcOML3vpwuBvnDSnNZmlnp9cIkSWvD4r/bbZYLTogHSm8JE2xcdO5+IuaK2LfVhIGi+OLzGZJg1Nd13rP15nd1ccnbA8BArBMRijN2CS5PZYGQRMZQo6SgMn4Av8gMLBjhLPS1lXFkXFVPNeyx110cz/65LzSilrnNSEA==
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=IG+UtDxV4c1PSKWQB2FfEKXbmzzk+N7ch2aanjiGhhk=; b=forWvY2TCYyCsXYYuH/1QtC+Shl0hgCtuhkrJk0ehpxhm7c7vmeN+juDB1SjN3iw8131Gl/OdIGECR/SyWQkT+CR+Y9BK/hVLH6DCBI2r5j98OTzpz7yqCsjgSQ+cfZyEX0eEM/8Cmuqzkwjh5oigeFqRmihecNVeYgl8enSbDLtVbV29IPJxmomjqethzAJvfYZhTGix8aG0Ax+NU7r5TRWqb8pgnFPD2bnHlrmLo2bcYPgu8xx8mpYPp/2qDsPCzCofRIWmH4w3XhE7zqFUBs+pQ8ZGKqCB8GCdGYijot9DjMASm6UKma+nnN+lhI17pr4LdthlSufS0658qH3Ew==
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=IG+UtDxV4c1PSKWQB2FfEKXbmzzk+N7ch2aanjiGhhk=; b=MyOurcMaILuxSwexqPzhmqk/tRnp/CO0MkAnnUGFw/r8L1hXTeDZcplo6mfmC3YgLTk4BBamtQMatmKPvXpdHFKM+3ETut0qFEVp2CLV42a3IWwiagp1tZ+BORcpXt4iBkXZRAbwylvB0R6dYnviq1Ip1Y1Ddt6GdqwWIj5YKhQ=
Received: from MN2PR11MB3565.namprd11.prod.outlook.com (20.178.250.159) by MN2PR11MB3616.namprd11.prod.outlook.com (20.178.251.79) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2199.19; Mon, 26 Aug 2019 17:34:04 +0000
Received: from MN2PR11MB3565.namprd11.prod.outlook.com ([fe80::89cf:9d:8a75:266e]) by MN2PR11MB3565.namprd11.prod.outlook.com ([fe80::89cf:9d:8a75:266e%3]) with mapi id 15.20.2199.021; Mon, 26 Aug 2019 17:34:04 +0000
From: "Pascal Thubert (pthubert)" <pthubert@cisco.com>
To: Routing Over Low power and Lossy networks <roll@ietf.org>
Thread-Topic: [Roll] UNaware leaves: separating EDAR proxy from 'R"' flag processing
Thread-Index: AdVcHnfKNmcwp4yRQFixHoiRz0Xm0wAB5voA
Date: Mon, 26 Aug 2019 17:33:37 +0000
Deferred-Delivery: Mon, 26 Aug 2019 17:32:49 +0000
Message-ID: <MN2PR11MB3565D584BCBAFAFADCD13BB4D8A10@MN2PR11MB3565.namprd11.prod.outlook.com>
References: <MN2PR11MB35656D60EA95201CEC2A2400D8A10@MN2PR11MB3565.namprd11.prod.outlook.com>
In-Reply-To: <MN2PR11MB35656D60EA95201CEC2A2400D8A10@MN2PR11MB3565.namprd11.prod.outlook.com>
Accept-Language: fr-FR, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=pthubert@cisco.com;
x-originating-ip: [2001:420:c0c0:1006::74]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: cf286521-91cc-4d6b-341c-08d72a4b977d
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(5600166)(711020)(4605104)(1401327)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7193020); SRVR:MN2PR11MB3616;
x-ms-traffictypediagnostic: MN2PR11MB3616:
x-microsoft-antispam-prvs: <MN2PR11MB361687A4B27A2BEEF1D8AF2DD8A10@MN2PR11MB3616.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 01415BB535
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(366004)(39860400002)(136003)(376002)(346002)(396003)(13464003)(199004)(189003)(51444003)(229853002)(66946007)(86362001)(316002)(76116006)(256004)(478600001)(33656002)(2940100002)(66446008)(46003)(66476007)(14444005)(66556008)(64756008)(186003)(102836004)(305945005)(8936002)(8676002)(7736002)(6666004)(71190400001)(71200400001)(53546011)(74316002)(66574012)(6506007)(81166006)(81156014)(5660300002)(6436002)(25786009)(6116002)(6246003)(2906002)(53936002)(99286004)(9686003)(7696005)(14454004)(476003)(6916009)(55016002)(52536014)(486006)(76176011)(11346002)(446003); DIR:OUT; SFP:1101; SCL:1; SRVR:MN2PR11MB3616; H:MN2PR11MB3565.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: cisco.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: XHmuCncJ2NCuR/R81iz4slfumwZWgdSvvTFj+nfDDHpL4LJesg+fjt4PYo08uC1WzwE5aq4J4BV0+wNP+yGyR6SWly7jwwe6zT0ttG3+/EBJM9XAsBoG5Fgsd/TbcZzeFHFmtK3SYGMqLxuWKr8HbhD0jFdhUQ1awBxl6JsblQ0EYxvh9eJLb6xitkVUld9K2bYhizt4mpjbTPKTTTLgJAzPKCjdjgrwOfO9qi2ije3Pj3J9wyYcuCkST/2WH1R46wzqIiEA2B6Fo8LWrMfx0b/IHWHdJ8t20HHl1F4PFhyQLQM+2Ryd50jKlz82m8ZgGtnIeNGN34ZPPSBpeX3sleatT3zZdCpNDZWFz4sv27Na02WWRWfON29EzWfcOYmtAIGRbbdOrrSg+pNtIDeSQ8C5gWxnDASfxpUliypqX70=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: cf286521-91cc-4d6b-341c-08d72a4b977d
X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Aug 2019 17:34:04.7344 (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: 7s/D2vGFjNiV0oT7aE/9AeYw+yDeBqaOie1KNsOZJdN3xo16VDoUa/ihyW8n5qxTDW2fOd/UchgFCrB4opB/Og==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB3616
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.37.102.20, xch-rcd-010.cisco.com
X-Outbound-Node: alln-core-1.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/roll/qwfZy6y_1tLO5AqDuhSkJQUOr1A>
Subject: Re: [Roll] UNaware leaves: separating EDAR proxy from 'R"' flag processing
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: Mon, 26 Aug 2019 17:34:11 -0000

Dear all

It would be neat to suppress the keep alive DAR across the network for all 6LNs from the 6LN to the 6LBR. 
The problem is that the 6LR needs to make sure that there is a DAO to trigger a proxy DAR from the root to the 6LBR to replace it.
For a RUL the 6LR knows because it generates it. For a RPL aware node that does its own DAOs, the 6LR may not see them (e.g., in non-storing mode).
So suppressing the keep alive DAR would be on the faith that the 6LN does the right thing and injects a or whatever else will trigger a DAR to the 6LBR.

All the best,

Pascal

> -----Original Message-----
> From: Pascal Thubert (pthubert)
> Sent: lundi 26 août 2019 16:57
> To: roll@ietf.org
> Subject: RE: [Roll] UNaware leaves: separating EDAR proxy from 'R"' flag
> processing
> 
> Hello Michael:
> 
> > OLD:
> >    In RPL terms, a plain host that does not
> >    participate to the routing protocol is called a Leaf.  It must be
> >    noted that a 6LN could participate to RPL and inject DAO routes to
> >    self, but refrain from advertising DIO and get children.  In that
> >    case, the 6LN is still a host but not a Leaf.
> >
> > NEW:
> >    In RPL terms, a plain host that does not contribute forwarding services
> >    to the routing protocol is called a Leaf.
> >    Such a 6LN would still contribute DAO routes to itself, but would refrain
> >    from advertising DIOs, and will not have any children.
> >
> > But, I'm rather unclear about this next part:
> >    In that case, the 6LN is still a host but not a Leaf.
> >
> > I think that it should say:
> >    In the case where the 6LN does not contribute DAOs to inject routes
> >    to itself, then the 6LN is a host but not a Leaf.
> >
> That text was obsolete. At the time of the writing a RUL was not a leaf but
> now we changed that, didn't we?
> I mean, useofrplinfo uses RAL and RUL.
>  I think we agreed that anything connected to RPL but not routing is a leaf, so
> no we have RAL and RUL.
> 
>    Such a 6LN would still contribute DAO routes to itself, but would
>    refrain from advertising DIOs, and will not have any children.  "When
>    to use RFC 6553, 6554 and IPv6-in-IPv6" [I-D.ietf-roll-useofrplinfo]
>    introduces the term RPL-Aware-Leaf (RAL) for that type of 6LN.  In
>    contrast, a RPL-Unaware Leaf (RUL) designates a leaf does not
>    contribute to RPL but is reachable over a RPL network.  In that case,
>    the 6LN is a plain host that needs an interface to the RPL router to
>    obtain routing services over the LLN.
> 
> Note that this document introduces RAN that is either a RPL router or a RAL.
> 
> 
> > Would be good to have a reference for the "kinetically powered light
> switch."
> > I have asked some people for one, because we always talk about them in
> > the abstract.
> >
> > I think that section 3 should be clearer about whether the "R" bit
> > already exists or not. (It is part of 8505).  I suggest:
> >
> >     <t>
> > -   The 'R' flag that is set if the Registering
> > -   Node expects that the 6LR ensures reachability for the Registered
> Address,
> > -   e.g., by means of routing or proxying ND.
> > -   </t> <t>
> > +     This document specifies the use of the existing 'R' flag. It is to be set
> > +     if the Registering Node expects that the 6LR is to ensures reachability
> > +     for the Registered Address, e.g., by means of routing or proxying ND.
> > +   </t>
> > +   <t>
> 
> Actually the use by the host is defined in RFC 8505. This specification defines
> the reaction of the router to the R flag setting.
> What about
> 
>     [RFC8505] specifies the use of the 'R' flag by the Registering Node.
>    The Registering Node sets the 'R' flag to indicate that the 6LR
>    should ensure reachability for the Registered Address, e.g., by
>    means of routing or proxying ND.  This document specifies the
>    behavior of the RPL router depending on the setting of the 'R' flag.
> 
> 
> >
> > section 5:
> >
> >    The behavior defined in this specification [[whereby the 6LR that
> >    processes the registration advertises the Registered Address in DAO
> >    messages and bypasses the DAR/DAC process for the renewal of a
> >    registration]], is only triggered by an NS(EARO) that has the 'R' flag
> >    set.  If the 'R' flag is not set, then the Registering Node is
> >    expected to be a RAN router that handles the reachability of the
> >    Registered Address by itself.
> >
> 
> 
> 
> > Can we just omit the [[]] part?  It's really a mouthful.
> > Or give the behaviour a name/section number.
> > Maybe that means a section 3.1?
> >
> 
> Well it is a bit more complicated.
> 
> Seems to me that the suppression of DAR / DAC at the 6LR to be recreated by
> the root should be done regardless of the 'R' flag.
> Any node will send a periodic NS (EARO) to its parent / router whether it is a
> RUL or a RAN of any sort . We want to have the root generate the keep alive
> EDAR/EDAC to the 6LBR upon a DAO as opposed to the 6LR, to save a traversal
> of the network.
> One problem is for the 6LR to know if the root and the 6LBR have an
> agreement to do the keep-alive based on DAO. This needs to be signaled by
> the root, we probably need a flag in the 6CO.
> Another is that the keep-alive DAO from the root is lacking the ROVR unless
> we add an option in RPL to carry it.
> 
> 
> > Also I want to be clear that the "This document" in section 5 refer to
> > unware- leaves, and not RFC8505.
> >
> 
> 4.  Updating RFC 6550
> 
>    This document specifies a new behavior whereby a 6LR injects DAO
>    messages for unicast addresses registered through the updated 6LoWPAN
>    ND [RFC8505] on behalf of leaves that are not RPL-aware.
> 
>    [RFC8505] specifies the use of the 'R' flag in the EARO by the
>    Registering Node.  With that specification, the Registering Node sets
>    the 'R' flag to indicate whether the 6LR should ensure reachability
>    for the Registered Address, e.g., by means of routing or proxying ND.
> 
>    Conversely, this document specifies the behavior of the RPL router
>    depending on the setting of the 'R' flag.  The 6LR advertises the
>    Registered Address in DAO messages, if and only if it is triggered by
>    an NS(EARO) that has the 'R' flag set, indicating that the 6LN is a
>    RUL.  If the 'R' flag is not set, then the Registering Node is
>    expected to be a RAN that handles the reachability of the Registered
>    Address by itself.
> 
>    As prescribed by [RFC8505], a RPL router SHOULD NOT set the 'R' flag,
>    unless it relies on the 6LR to generate the DAO messages on its
>    behalf.
> 
> 5.  Updating RFC 8505
> 
>    [RFC8505] specifies a periodic Extended DAR/DAR exchange that takes
>    place between the 6LR and the 6LBR.  It is triggered by a NS(EARO)
>    message and is intended to create and then refresh the corresponding
>    state in the 6LBR for a lifetime that is indicated by the 6LN.
>    Conversely, RPL [RFC6550] specifies a periodic DAO that maintains the
>    routing state in the RPL network for a lifetime that is indicated by
>    the source of the DAO.  This means that there are two periodic
>    messages that traverse the whole network to indicate that an address
>    is still reachable, one to the root and one to the 6LBR.  This
>    specification enables to synchronize the liveness monitoring at the
>    root and the 6LBR, which may or may not be the same node.  A same
>    value of lifetime is used for both, and a single keep alive message,
>    the RPL DAO, traverse the RPL network.
> 
>    Upon the renewal of a 6LoWPAN ND registration, this specification
>    changes the behavior of a RPL router acting as 6LR for the
>    registration as follows: If the root indicates the capability to
>    proxy the keep-alive EDAR/EDAC exchange, then the 6LR refrains from
>    sending an EDAR message.  If the root is separated from the 6LBR, it
>    regenerates a keep-alive message to the 6LBR upon a DAO message.  In
>    that flow, the RPL Root acts as a proxy on behalf of the 6LR to
>    refresh the state in the 6LBR, which saves the traversal of the
>    network by a second keep-alive message.
> 
>    This document also specifies a keep-alive EDAR message that the RPL
>    Root may use to maintain an existing state in the 6LBR upon receiving
>    DAO messages.  The keep-alive EDAR message may only act as a
>    refresher and can only update the Lifetime and the TID of the state
>    in the 6LBR.
> 
>    This document similarly specifies a keep-alive NS(EARO) message that
>    the RPL Root may use to maintain an existing state in a 6BBR upon
>    receiving DAO messages when the root is located on a same link as the
>    6LBR.  The keep-alive NS(EARO) message may only act as a refresher
>    and can only update the Lifetime and the TID of the state in the
>    6BBR.
> 
> 
> I'll continue with you review in another thread, this is already a lot!
> 
> Many thanks Michael
> 
> Pascal