Re: Extension Header Insertion

Brian E Carpenter <brian.e.carpenter@gmail.com> Tue, 10 December 2019 01:02 UTC

Return-Path: <brian.e.carpenter@gmail.com>
X-Original-To: ipv6@ietfa.amsl.com
Delivered-To: ipv6@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E25FC120020 for <ipv6@ietfa.amsl.com>; Mon, 9 Dec 2019 17:02:13 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 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_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable 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 uVf9B3EJ-PTT for <ipv6@ietfa.amsl.com>; Mon, 9 Dec 2019 17:02:11 -0800 (PST)
Received: from mail-pl1-x62a.google.com (mail-pl1-x62a.google.com [IPv6:2607:f8b0:4864:20::62a]) (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 3EDF412002F for <6man@ietf.org>; Mon, 9 Dec 2019 17:02:11 -0800 (PST)
Received: by mail-pl1-x62a.google.com with SMTP id c23so1253243plz.4 for <6man@ietf.org>; Mon, 09 Dec 2019 17:02:11 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:organization:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=jvDyvnrz4qh+gqaBSCuV7wWnK0DjkN8Voqr5my21nlo=; b=M+zb1qLz3uK58s8jvcUxFXy4rWe+wWsEyLXoEgPnWFqAfD9+AQjBw61OmzU8DaYwAx djizI8O8ZmQ0ZzFhGx1RuireOTclll8iIB6CEW3GL4fzg3fIVP/QJHqMAkq0/BsLWguW waVyCO8+nHLldEM25moedOaTk2iWHRBywsvEW4Byv7jkSIAxU5jaDTeOPFLb3OYAanCo w6Oa5/mZvHn2d4MbGrkRkeQlXNLWFTmaWybS+eRUjncpm+Z0F6P3MRv0gkjaWmKygy/E 5220uTz/1hr5jyeKvPXpGMHO6eJrnFc+LUoSfENfSj7IOt5fo7wMSkpTdD+TC47DIoNK 2pRg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:organization :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=jvDyvnrz4qh+gqaBSCuV7wWnK0DjkN8Voqr5my21nlo=; b=YIozxnWo7UEqBRI2bJz1D/5Va+bktFZ6FkU3qamNgqgpaujr/tTY2ufd1+DjhotiU4 6TEx4dfsRQ8xGgzoAiLr6JlwkJ1py2xIRdVepPC2IOmY41RcOa7EzO5OaT3X12dt1QJ8 0wJU2W0/bX4yDhyd7ti4FSPWoQUaDP/ktShYEpJ+r/szMZ1alCh9cIg82yJ6NY5+spP/ 8X08xj0j2CYXSQ+epNd7eRaVHbWpHFOeTRTKpObbzFhFuMryPWTwWGdDHqq+37gEWmNg yIyg3LK+X9jxBQXR9ZVDDlytO1EpbUnv8I4ws0cLaBLdRZBJBV20Y2FitT3DU/oPcBop 4Jdw==
X-Gm-Message-State: APjAAAVYsHntr/TKoledpnwYH/3I3EQYLs5ZclGzxVOJDcePeDk+LLQY DxgbnVqO4lJptLokNCTQn7wh5D0P
X-Google-Smtp-Source: APXvYqxwwmR609HBAtwvUGgjJrpd/K1yMSD8SUxyPwXHsoICRQTzlsnYSv1A1JTG45djzSERhSJSfg==
X-Received: by 2002:a17:90a:1aa3:: with SMTP id p32mr2339830pjp.8.1575939730399; Mon, 09 Dec 2019 17:02:10 -0800 (PST)
Received: from [192.168.178.30] (228.147.69.111.dynamic.snap.net.nz. [111.69.147.228]) by smtp.gmail.com with ESMTPSA id f81sm668010pfa.118.2019.12.09.17.02.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Dec 2019 17:02:09 -0800 (PST)
Subject: Re: Extension Header Insertion
To: adrian@olddog.co.uk, 'Ron Bonica' <rbonica=40juniper.net@dmarc.ietf.org>, '6man' <6man@ietf.org>
References: <BN7PR05MB5699D9BA988F96E2F41CD390AE580@BN7PR05MB5699.namprd05.prod.outlook.com> <00dc01d5ae73$c361b450$4a251cf0$@olddog.co.uk>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Organization: University of Auckland
Message-ID: <dbcdeb1a-0091-da2b-20df-d991e6c06091@gmail.com>
Date: Tue, 10 Dec 2019 14:02:08 +1300
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1
MIME-Version: 1.0
In-Reply-To: <00dc01d5ae73$c361b450$4a251cf0$@olddog.co.uk>
Content-Type: text/plain; charset="utf-8"
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/KyzHGR-lc0g1tJMa_QuTOUebDr4>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ipv6/>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 10 Dec 2019 01:02:14 -0000

On 09-Dec-19 22:33, Adrian Farrel wrote:
> Hi Ron,
> 
> I think we can jump to a quick answer on this because draft-ietf-spring-srv6-network-programming-05 says:
> 
>    We assume that the SRH may
>    be present multiple times inside each packet.
> 
> Thus we may assume that the proponents of Extension Header insertion do think that it is acceptable to insert a second routing header into a packet that already has one.
> 
> And 8200 is clear when it says:
>    Each extension header should occur at most once, except for the
>    Destination Options header, which should occur at most twice (once
>    before a Routing header and once before the upper-layer header).

That's "should", which in a non-RFC2119 document like RFC 8200, means "should".
It's not "must". So while I would prefer that the relevant SRH document justifies
the exception, there isn't a breach of a mandatory requirement.
  
> So draft-ietf-spring-srv6-network-programming-05 includes a false assumption which need to be either removed or secured through an update to 8200.
>  
> Ideally, I suppose, draft-ietf-6man-segment-routing-header would have contained the clarification that the SRH could be present multiple times 

Yes

> (updating 8200 as it went).

Unnecessary, IMHO.

    Brian

> 
>  
> 
> Cheers,
> 
> Adrian
> 
>  
> 
> *From:*ipv6 <ipv6-bounces@ietf.org> *On Behalf Of *Ron Bonica
> *Sent:* 09 December 2019 03:04
> *To:* 6man <6man@ietf.org>
> *Subject:* Extension Header Insertion
> 
>  
> 
> Folks,
> 
>  
> 
> This question is posed primarily to the proponents of Extension Header insertion.
> 
>  
> 
> Do you think that it is acceptable to insert a second routing header into a packet that already has one, so the resulting packet looks like the following:
> 
>  
> 
>   * IPv6 header
>   * SRH
>   * SRH
>   * Upper-layer header
> 
>  
> 
> Would this be common in TI-LFA?
> 
>  
> 
>                                                                       Ron
> 
>  
> 
>  
> 
> Juniper Business Use Only
> 
> 
> --------------------------------------------------------------------
> IETF IPv6 working group mailing list
> ipv6@ietf.org
> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> --------------------------------------------------------------------
>