Re: [Roll] impacts of rfc2460bis on draft-ietf-roll-useofrplinfo

Brian E Carpenter <brian.e.carpenter@gmail.com> Tue, 19 July 2016 05:29 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 7862012D0E2; Mon, 18 Jul 2016 22:29:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 ACwsQlC4tf_H; Mon, 18 Jul 2016 22:29:00 -0700 (PDT)
Received: from mail-wm0-x22d.google.com (mail-wm0-x22d.google.com [IPv6:2a00:1450:400c:c09::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A657B12D08F; Mon, 18 Jul 2016 22:28:59 -0700 (PDT)
Received: by mail-wm0-x22d.google.com with SMTP id o80so11727731wme.1; Mon, 18 Jul 2016 22:28:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:cc:from:organization:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=BlDnyk/gP83XS7vzrB9KBqbrGZEKxsD7+w8yL1B/hrU=; b=KYnEg8vFSRD3K+VUA9mEIklyPAxyiJ6CxVbMiliOBnct6sUy/NeU37JYl+2FrWxU/9 uLC6a3kqYb6kyBmHyVxrmo9qsf3oqv/6rOjs4YxOSlYBmj9pi1EgKVtFuQShDRwtEDA5 3BqytCblgRCJz/27NHB0ZH5ojpu+ET3zanRFwCncldgMqHyMHWLdpmCmdCVr0q1/MN6V a6Azd8dXt8QL4wRqzUFtpXrVUcejElo339jyPzxBUQhTFM066cgvWwY17Oavt6fm/qWk KQGV3CMqXL4X7v6qK7/GU+9LFImw3BvN65GkXeM++6pb8wbvrGdl/yIWHppWdq+wTI8t t++g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:organization :message-id:date:user-agent:mime-version:in-reply-to :content-transfer-encoding; bh=BlDnyk/gP83XS7vzrB9KBqbrGZEKxsD7+w8yL1B/hrU=; b=LwXObDjk5GT5vR8vNvXmz4SZRc0tKTvNTPq1wGnO2nSH47Wak6PbF+uNz0h05m8y9c +YuZra43GOz5paIA7JUSYS0OiPobxWoRHhhibQ3q3go3mJ0XDN9GPiNfAmZE+jzfzTmz nfBo0lUi5qCxpyCcgxalW5D9+9VPk70e5iRzQAZUwGNxbB/65+wQxarZFyCtaZtniDY/ M76mRsNpEh7l4bqPLGFfHad7gaY5alsmCkLyff3BbxBXp8VInWG5SsDoQVK1XnUzLwfe dsJfccCETi2K44p5M9pp0zFcwcnBsLcSPKRuUDAzzRfN5K8aMLgV5EeM2uarpeuWyH19 B86A==
X-Gm-Message-State: ALyK8tIIZUQh3DZuSoG+NfTbom9If2BCR4OT6GrhJhZYpFx0OSFMOOxTjP7AOeGnnv8izg==
X-Received: by 10.194.176.34 with SMTP id cf2mr4617336wjc.172.1468906138114; Mon, 18 Jul 2016 22:28:58 -0700 (PDT)
Received: from ?IPv6:2001:67c:370:136:28cc:dc4c:9703:6781? ([2001:67c:370:136:28cc:dc4c:9703:6781]) by smtp.gmail.com with ESMTPSA id i195sm21946093wmg.1.2016.07.18.22.28.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 18 Jul 2016 22:28:57 -0700 (PDT)
To: Michael Richardson <mcr+ietf@sandelman.ca>, roll@ietf.org
References: <24554.1468868593@obiwan.sandelman.ca>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Organization: University of Auckland
Message-ID: <799ab640-bed0-22a6-a9df-97f78c3f0bf8@gmail.com>
Date: Tue, 19 Jul 2016 17:28:58 +1200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0
MIME-Version: 1.0
In-Reply-To: <24554.1468868593@obiwan.sandelman.ca>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/roll/cNXigklpTaG6gVhbVtHWAT69AVY>
Cc: 6man@ietf.org
Subject: Re: [Roll] impacts of rfc2460bis on draft-ietf-roll-useofrplinfo
X-BeenThere: roll@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: Routing Over Low power and Lossy networks <roll@ietf.org>
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, 19 Jul 2016 05:29:01 -0000

On 19/07/2016 07:03, Michael Richardson wrote:
> 
> The ROLL document draft-ietf-roll-useofrplinfo documents RFC6553 (a
> Hop-by-Hop critical option) and 6554 (a form of Source Routing Header, RH3).
> There is work on 6lo to allocate additional 6lowpan IPHC codes such that
> the work in ROLL:
> https://datatracker.ietf.org/doc/draft-ietf-roll-routing-dispatch/ can
> know what kinds of things we need to compress.
> 
> A number of things are constrained by the need to always remove the
> RFC6553 Hop-by-Hop option RPI option which had been marked critical:
> i.e. drop packet if you don't understand it.
> 
> As a result of the change in RFC2460bis, which says that intermediate hosts
> will in general not examine hop-by-hop options, but should just ignore
> them, we can make certain simplications to the useofrplinfo document.
> (rfc2460bis, section 4, page 8, "NOTE: While...)

You can already do that, because RFC7045 section 2.2 updates RFC2460:
" The IPv6 Hop-by-Hop Options header SHOULD be processed by
  intermediate forwarding nodes as described in [RFC2460]."
which of course means that forwarding nodes MAY ignore HbH.

> (It is unclear what end-hosts can/should do. I will assume they can
> also ignore hop-by-hop options if they haven't been told to pay attention to
> them).

If they are 00 options, yes, RFC2460 is clear that for all options:

   The Option Type identifiers are internally encoded such that their
   highest-order two bits specify the action that must be taken if the
   processing IPv6 node does not recognize the Option Type:

      00 - skip over this option and continue processing the header.

  Brian

> 
> https://goo.gl/cxWkP5 this is a reference to an RFC diff between:
>       draft-ietf-roll-useofrplinfo-06.txt
> and   draft-richardson-roll-useofrplinfo-2460bis-00.txt
> 
> (Note we have only re-analyzed storing mode , so please ignore changes in
> section 6)
> 
> The summary is that in storing mode we never need to use per-hop
> IPv6-in-IPv6 encapsulation with the 2460bis text.  Packets originating from
> not-RPL aware nodes (i.e. 6LN leafs or Internet nodes), need to be
> encapsulated so that the RPI option can be added, but no complex
> considerations need apply for where to remove the RPI, as it can be left in
> place until the end-host.
> 
> --
> Michael Richardson <mcr+IETF@sandelman.ca>, Sandelman Software Works
>  -= IPv6 IoT consulting =-
> 
> 
> 
> 
> 
> --------------------------------------------------------------------
> IETF IPv6 working group mailing list
> ipv6@ietf.org
> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> --------------------------------------------------------------------
>