Re: [Roll] [roll] #90: use of transient instance ID

"Pascal Thubert (pthubert)" <pthubert@cisco.com> Wed, 11 April 2012 06:15 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 0105421F86A2 for <roll@ietfa.amsl.com>; Tue, 10 Apr 2012 23:15:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.027
X-Spam-Level:
X-Spam-Status: No, score=-10.027 tagged_above=-999 required=5 tests=[AWL=0.572, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AufVceLZCXng for <roll@ietfa.amsl.com>; Tue, 10 Apr 2012 23:15:43 -0700 (PDT)
Received: from ams-iport-1.cisco.com (ams-iport-1.cisco.com [144.254.224.140]) by ietfa.amsl.com (Postfix) with ESMTP id 85F4B21F86A6 for <roll@ietf.org>; Tue, 10 Apr 2012 23:15:42 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=pthubert@cisco.com; l=7800; q=dns/txt; s=iport; t=1334124942; x=1335334542; h=mime-version:content-transfer-encoding:subject:date: message-id:in-reply-to:references:from:to:cc; bh=GeHn7u+jua4g4kzKD9uZ39wsxLUfsTZGIi5f5NsH9Yc=; b=lV2JPn+eNTVnH+prUWm5AIcPvmIl34MCYNREN3m7sj0UVn9ihEC5gv8c nhRoeslWDo5go0/Sbug+DCQD0pQ+AvPKm+FlZXcLrI8lyH2ZOi9RKRKAt iix3qxDAtoJiCpJlov2XbOF/3MU2lminryxNMelvRgWFWd9nCUN9JoqSA 0=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AgIFAD4hhU+Q/khL/2dsb2JhbABCDoVlsmB7gQeCCQEBAQQBAQEPARANBDoLDAQCAQgRBAEBAwIGBhcBAgICAQElHwkIAQEEEwgRCYdsC55gjRCLN4EviWWFEzVjBJZ9jTyBaYIwOYFSFw
X-IronPort-AV: E=Sophos;i="4.75,403,1330905600"; d="scan'208";a="134780265"
Received: from ams-core-2.cisco.com ([144.254.72.75]) by ams-iport-1.cisco.com with ESMTP; 11 Apr 2012 06:15:41 +0000
Received: from xbh-ams-101.cisco.com (xbh-ams-101.cisco.com [144.254.74.71]) by ams-core-2.cisco.com (8.14.3/8.14.3) with ESMTP id q3B6FfUF015757; Wed, 11 Apr 2012 06:15:41 GMT
Received: from xmb-ams-108.cisco.com ([144.254.74.83]) by xbh-ams-101.cisco.com with Microsoft SMTPSVC(6.0.3790.4675); Wed, 11 Apr 2012 08:15:41 +0200
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: base64
Date: Wed, 11 Apr 2012 08:14:52 +0200
Message-ID: <BDF2740C082F6942820D95BAEB9E1A84016A83CD@XMB-AMS-108.cisco.com>
In-Reply-To: <1728662895.1887339.1334108343320.JavaMail.root@mail17.pantherlink.uwm.edu>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: [Roll] [roll] #90: use of transient instance ID
Thread-Index: Ac0Xg+ibrH9gg/KNRMOgN5BLi6jn7wAJcWbg
References: <BDF2740C082F6942820D95BAEB9E1A84016A80ED@XMB-AMS-108.cisco.com> <1728662895.1887339.1334108343320.JavaMail.root@mail17.pantherlink.uwm.edu>
From: "Pascal Thubert (pthubert)" <pthubert@cisco.com>
To: Mukul Goyal <mukul@uwm.edu>
X-OriginalArrivalTime: 11 Apr 2012 06:15:41.0359 (UTC) FILETIME=[8566ABF0:01CD17AA]
Cc: roll@ietf.org
Subject: Re: [Roll] [roll] #90: use of transient instance ID
X-BeenThere: roll@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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, 11 Apr 2012 06:15:44 -0000

Hello Mukul:

[Pascal] Also, when there are no routing states in intermediate routers, an indication from upper layers can be used in the end points to consider that all states for an instanceID are now cleaned up.

[Mukul] Not sure what you mean. 

[Pascal2] Let me reword:  if HbH routin gis not used, the only states with any persistence are on the origin and target(s). The upper layer protocol (ULP) in origin and target may know when they are done with their need for the routes. If they are done before (config option) lifetime is up, they can tear down the states. This requires a new cross layer interaction triggered by ULP, similar to IPv6 ND in DELAY state.

Cheers,

Pascal

----- Original Message -----
From: "Pascal Thubert (pthubert)" <pthubert@cisco.com>
To: "Mukul Goyal" <mukul@uwm.edu>, roll@ietf.org
Sent: Tuesday, April 10, 2012 4:52:50 AM
Subject: RE: [Roll] [roll] #90: use of transient instance ID

Mukul:

I meant a suggestion, not a capitalized word. I prefer the suggestion but I'm still OK with your proposal. If we get in agreement on the lifetime of the states (issue #85), then you can indicate that lifetime is one way to determine when all stale states can be considered gone. Also, when there are no routing states in intermediate routers, an indication from upper layers can be used in the end points to consider that all states for an instanceID are now cleaned up.

Cheers,

Pascal


-----Original Message-----
From: roll-bounces@ietf.org [mailto:roll-bounces@ietf.org] On Behalf Of Mukul Goyal
Sent: dimanche 8 avril 2012 18:09
To: roll@ietf.org
Subject: Re: [Roll] [roll] #90: use of transient instance ID

Hi Pascal

Re-read your proposed resolution text. I am not sure that the draft should suggest rotating the instance ids. My proposed resolution is to simply suggest not using instance id that might be in use.

" [Mukul2] Makes sense. I think it is sufficient to caution (with a SHOULD
 NOT) against reusing instance ids for which the stale state might exist  in the nodes."

Thanks
Mukul

----- Original Message -----
From: "roll issue tracker" <trac+roll@trac.tools.ietf.org>
To: mukul@UWM.EDU, jpv@cisco.com
Cc: roll@ietf.org
Sent: Wednesday, April 4, 2012 8:11:44 AM
Subject: [roll] #90: use of transient instance ID

#90: use of transient instance ID

 Problem (resolution agreed upon)
 ------------------------------
 P2P creates temporary states in the transient DAG with a transient  instance ID. The protocol must ensure that if the instance ID is reused  then the new operation it is not confused with states resulting from the  previous use of the same instance ID. Suggestion is to propose a  rotation.

 Discussion
 -------------

 [Pascal]
 "RPLInstanceID: RPLInstanceID MUST be a local value as described in  Section 5.1 of [I-D.ietf-roll-rpl]. The origin MUST NOT use the same  RPLInstanceID in two or more concurrent route discoveries."

 I'd suggest that you enforce a round robin or an opaque circulation so  that the new instanceID is the least recently used one out of the 64  possible.

 [Mukul]
 I think we should leave it to the origin to decide which value it wants  to use for RPLInstanceID. I know some implementations are planning to  use a fixed RPLInstanceID value for all route discoveries.

 [Pascal2] Changing the instance ID will help debug the network and avoid  conflicts with stale states. What's really up to the device is the  initial sequence. Leaving it up to the origin may help the origin defeat  some attacks to some degree. OTOH, after all the instances have been  played, LRU forces to replay the same sequence again so the shield  drops. My preferred approach would be a SHOULD that would say that the  next instance ID SHOULD NOT be one of the (16?) most recently used and  MUST NOT be one for which states might still exist in the network. IOW  either the states deletion was acknowledged, or all pending lifetimes  are exhausted.

 [Mukul2] Makes sense. I think it is sufficient to caution (with a SHOULD
 NOT) against reusing instance ids for which the stale state might exist  in the nodes. Using a "MUST NOT" may not be OK since a node may never be  100% sure about non-existence of stale state with a particular instance  id (thus, all possible instance id values will become suspect and hence  unusable after a while).

 [Pascal3] Agreed. Note that a circulation is a bonus to defeat replays.
 And now we're back to the issue above. How does the device know that  there is no state left? A lifetime definition would be very useful. That  lifetime is different from the DAG's one in RDO. I think we have an open  issue here.

 [Mukul3] As I mentioned above, the life time parameters inside the DODAG  configuration option specify the life time of the hop-by-hop routing  state for the routes discovered using P2P-RPL.

 [Pascal4] This boils down to the thread above. Only one issue really,  which lifetime is which? So IMHO no need to log anything for this  thread.

 [Mukul4] OK.

 Pascal

-- 
-----------------------------------+---------------------
 Reporter:  jpv@…                  |      Owner:  mukul@…
     Type:  defect                 |     Status:  new
 Priority:  major                  |  Milestone:
Component:  p2p-rpl                |    Version:
 Severity:  Submitted WG Document  |   Keywords:
-----------------------------------+---------------------

Ticket URL: <https://svn.tools.ietf.org/wg/roll/trac/ticket/90>
roll <http://tools.ietf.org/wg/roll/>

_______________________________________________
Roll mailing list
Roll@ietf.org
https://www.ietf.org/mailman/listinfo/roll