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

Brian E Carpenter <brian.e.carpenter@gmail.com> Thu, 25 October 2012 18:17 UTC

Return-Path: <brian.e.carpenter@gmail.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 A0D0721F8722 for <roll@ietfa.amsl.com>; Thu, 25 Oct 2012 11:17:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.696
X-Spam-Level:
X-Spam-Status: No, score=-101.696 tagged_above=-999 required=5 tests=[AWL=-0.005, BAYES_00=-2.599, RCVD_ILLEGAL_IP=1.908, RCVD_IN_DNSWL_LOW=-1, USER_IN_WHITELIST=-100]
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 FlAPxq4qLLzq for <roll@ietfa.amsl.com>; Thu, 25 Oct 2012 11:17:09 -0700 (PDT)
Received: from mail-ea0-f172.google.com (mail-ea0-f172.google.com [209.85.215.172]) by ietfa.amsl.com (Postfix) with ESMTP id A8F3821F8508 for <roll@ietf.org>; Thu, 25 Oct 2012 11:17:08 -0700 (PDT)
Received: by mail-ea0-f172.google.com with SMTP id k13so707773eaa.31 for <roll@ietf.org>; Thu, 25 Oct 2012 11:17:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:organization:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=qGRe5jWtdjwqxjgopHh9nIUo7y0wrWgWk3WdAGJuWNU=; b=Ad1vSMXRDQy1tgiAx0zS2d8lniR96TwmAjMY/hbKWApXRCi5uWVcHTYRpKCsoAo42w ta8pLXU1Dhtxuu+blH/raVfQQPlTMSTGfs7M8JLchVNbzALl1uZteaHC6BX6zOtU3b1s kfpotpO9edGLIWI1KqJoIBYwrl184GS6/PdGLOmkj/b+fTmNABuhQ3yaLVdO0RwB/ZVs yw/Rw0WGZOLtz2v/aQj4fxN6N26QlTfaDq0u0kzlIyAs/3hNaErthmnia6fr5Jpjj5VY ibGRUs2gnMWWUzpAFajeRt2NT3SI9GHuRWAogRqf0ePoukxoYfULSo0SYVdrNaOjvg9n 6Hcg==
Received: by 10.14.203.65 with SMTP id e41mr28092384eeo.34.1351189027752; Thu, 25 Oct 2012 11:17:07 -0700 (PDT)
Received: from [192.168.1.65] (host-2-102-218-61.as13285.net. [2.102.218.61]) by mx.google.com with ESMTPS id s1sm31748459eem.9.2012.10.25.11.17.05 (version=SSLv3 cipher=OTHER); Thu, 25 Oct 2012 11:17:06 -0700 (PDT)
Message-ID: <50898229.1030105@gmail.com>
Date: Thu, 25 Oct 2012 19:17:13 +0100
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Organization: University of Auckland
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
MIME-Version: 1.0
To: Philip Levis <pal@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> <399491E5-8BC7-4A33-9426-B9047FC051FF@cs.stanford.edu>
In-Reply-To: <399491E5-8BC7-4A33-9426-B9047FC051FF@cs.stanford.edu>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
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:17:09 -0000

On 25/10/2012 19:00, Philip Levis wrote:
> 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."

I have to say it's a while since I read the draft all through, but I seemed
to remember that the packet would always be encapsulated in an outer packet,
in which case there is no problem if the outer packet's flow label is
set locally and vanishes at the ROLL boundary. If not, then yes, there's
a violation.

> 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 ter
ms 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.

I think it would be entirely possible (I am not particularly advocating this)
for RFC-roll to formally update RFC 6437 for this particular usage. Speaking
purely personally, I wouldn't oppose this, although others might object.

The reason I wouldn't oppose it is that the idea is that on the open
Internet, any forwarding device should be able to use the flow label
for ECMP, LAG or some other kind of load balancing. If the label is
set according to RFC 6437 at a well-defined point (such as the ROLL/Internet
boundary), this would be satisfied. Yes, I am being a bit heretical
about my own RFC ;-).

   Brian


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