Re: [Roll] using the flow label instead of hop by hop

Philip Levis <pal@cs.stanford.edu> Thu, 25 October 2012 18:00 UTC

Return-Path: <pal@cs.stanford.edu>
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 2CBF821F8992 for <roll@ietfa.amsl.com>; Thu, 25 Oct 2012 11:00:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level:
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jX14nH2Yq350 for <roll@ietfa.amsl.com>; Thu, 25 Oct 2012 11:00:21 -0700 (PDT)
Received: from cs-smtp-2.Stanford.EDU (cs-smtp-2.Stanford.EDU [171.64.64.26]) by ietfa.amsl.com (Postfix) with ESMTP id 72C5F21F8940 for <roll@ietf.org>; Thu, 25 Oct 2012 11:00:20 -0700 (PDT)
Received: from dn52219v.sunet ([10.33.5.63]) by cs-smtp-2.Stanford.EDU with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.77) (envelope-from <pal@cs.stanford.edu>) id 1TRRj9-0000rH-86; Thu, 25 Oct 2012 11:00:19 -0700
Mime-Version: 1.0 (Apple Message framework v1283)
Content-Type: text/plain; charset="us-ascii"
From: Philip Levis <pal@cs.stanford.edu>
In-Reply-To: <50881297.4050801@gmail.com>
Date: Thu, 25 Oct 2012 11:00:20 -0700
Content-Transfer-Encoding: quoted-printable
Message-Id: <399491E5-8BC7-4A33-9426-B9047FC051FF@cs.stanford.edu>
References: <E045AECD98228444A58C61C200AE1BD8221CB0DA@xmb-rcd-x01.cisco.com> <5081A327.9010505@exegin.com> <E045AECD98228444A58C61C200AE1BD8221D85A6@xmb-rcd-x01.cisco.com> <5087F457.1050409@gmail.com> <E045AECD98228444A58C61C200AE1BD8221DEA68@xmb-rcd-x01.cisco.com> <B700D2B3-0AB4-441D-9506-550E9604D7DA@gmail.com> <50881297.4050801@gmail.com>
To: Brian E Carpenter <brian.e.carpenter@gmail.com>
X-Mailer: Apple Mail (2.1283)
X-Scan-Signature: 3134a374f3853b94094f80bd9e2b84a0
Cc: roll <roll@ietf.org>
Subject: Re: [Roll] using the flow label instead of hop by hop
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: Thu, 25 Oct 2012 18:00:22 -0000

On Oct 24, 2012, at 9:08 AM, Brian E Carpenter wrote:

> On 24/10/2012 15:40, Ralph Droms wrote:
>> Seems to me this conversation ought to include 6man fairly soon.
> 
> If ROLL wants to go this way, I agree. I *think* the proposal does
> no violence to the 6man RFCs, but that's only my opinion.
> 
>   Brian

Brian,

My thought process is simple. From my reading, the proposal violates RFC6437:

 "A forwarding node MUST either leave a non-zero flow label value unchanged or change it only for compelling operational security reasons as described in Section 6.1."

Its seems to me that using the flow label as more efficient representation of a hop-by-hop option isn't a "compelling operational security reason." It's an optimization. There hasn't yet been any evidence or data presented on the potential efficiency benefits this will have (hand-waving "energy" is not evidence). Adding *more* complexity to RPL though an alternative representation of the hop-by-hop header seems to me to add complexity without much benefit. If there were evidence indicating that in a large number of operational scenarios this optimization would lead to a significant savings, then that might be compelling. But my experience is that the overall benefit of this compression is going to be minimal. Using the flow label in a way which someone reading RFC6437 would not guess or assume is problematic from an interoperability standpoint. So, significant possible cost in terms of interoperability, significant cost in terms of increased complexity, minimal gain in terms of performance.

If 6man obsoletes RFC6437 such that this proposed use doesn't violate a MUST, then I'd be all ears. RFC6437 does say that you MAY modify a flow label of zero (so routers may fill it in for end hosts that not do so), says that the end host SHOULD set it to a non-zero value, and that nodes MUST keep non-zero labels unchanged. I don't want to repeat the headache that NATs introduced by violating end-to-end in an unanticipated way.

Phil

------

Philip Levis
President, Kumu Networks
Associate Professor, Stanford University
http://csl.stanford.edu/~pal