Re: Extension Header Insertion

Tom Herbert <tom@herbertland.com> Mon, 09 December 2019 15:08 UTC

Return-Path: <tom@herbertland.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 324C012000F for <ipv6@ietfa.amsl.com>; Mon, 9 Dec 2019 07:08:30 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level:
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=herbertland-com.20150623.gappssmtp.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 tFOQN5Ag9UBc for <ipv6@ietfa.amsl.com>; Mon, 9 Dec 2019 07:08:28 -0800 (PST)
Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) (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 15771120043 for <6man@ietf.org>; Mon, 9 Dec 2019 07:08:28 -0800 (PST)
Received: by mail-ed1-x52b.google.com with SMTP id e10so12930207edv.9 for <6man@ietf.org>; Mon, 09 Dec 2019 07:08:28 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=herbertland-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=gDv8Str/YC/MQFwkKfyz3MxEvJWVfffrZbOjmDHJO9g=; b=nWNCuQzq2DrDIUIJEMtGmfUiTyOG8rekGVBm+M04S2TjKW6il5evSjPQM6buviTRvL bmbTyvoxELQfWISSPo1ojFwn8SHLLiatD2AS6eg1EYYNe1UM0aOOw+i83GE2tgaY9ZPw NJvPxljmAPYWyTbYKMDW19Y90zVa9YR7putAYkWBskuKS3snSbQ82o+80XC49lSNMzzh ArIdOwsQRF6CPy1uP9Wyzbo/ZxtQJiJ/dBtabl/44WrwuRazkiUR30tT150RCXJK4CU7 fFQ/KlD5KjeBO8oqY/KV8P016MzfSpT+EZzD2kIgcFB14f6v8Smms/WxPAuu+rpERDoq yScg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=gDv8Str/YC/MQFwkKfyz3MxEvJWVfffrZbOjmDHJO9g=; b=ruol5V/hZSnvP3F5wlt5X1P9SmrFxj/ogWr7ThP4XlcIPsYZLdiHAC3gr+KczzPEgf UcqQDDgm3/gwIWLqWf5ze0XyOo/W7LrNpTlRDSKeUk7nZKqhukaVDUZ7IfTHwPcgqhFw 2SQ7DDmLLFmIVQ4RcQbt9uq2eg2HOo3VKv+TAxrNUpHjQaWGqv6Nu2C8DLgfBe0XSPr3 KgYKxo17XzcDKnpl+EXyLpxNDjeU9jiH8sznxDbcM9NJUxHkmS5gzh/1sM7JvTTA1uxz dpyZAnHUJOnEzO1j3g/haqtvF76BSra6LEjs9KgcdplkX2Q+jSkdLv1LoqJLyCqyYPH1 4Pvw==
X-Gm-Message-State: APjAAAWNXuIlilUpEGTA7FiQ6O7jWc4VQLleAmXlL1MkyI3zelL/2as9 ilwQ+jYlJTgJmyM8od0WGJ7URuMQaM65+wjpH/H8uQ==
X-Google-Smtp-Source: APXvYqwm8XBDSJK6L2oyT7JaWSFYrZoNv1t+rBFksW1PEs5d28Trz8gEZOs9jLvf8Qx39cp0D3ntApeDQz89cl019Mk=
X-Received: by 2002:a50:8d52:: with SMTP id t18mr33216960edt.26.1575904106432; Mon, 09 Dec 2019 07:08:26 -0800 (PST)
MIME-Version: 1.0
References: <BN7PR05MB5699D9BA988F96E2F41CD390AE580@BN7PR05MB5699.namprd05.prod.outlook.com> <00dc01d5ae73$c361b450$4a251cf0$@olddog.co.uk>
In-Reply-To: <00dc01d5ae73$c361b450$4a251cf0$@olddog.co.uk>
From: Tom Herbert <tom@herbertland.com>
Date: Mon, 09 Dec 2019 07:08:15 -0800
Message-ID: <CALx6S37FWWrvsW54jQ9ujkk8R9VQ7CoOh9MT9rYLr+7y4bai8Q@mail.gmail.com>
Subject: Re: Extension Header Insertion
To: Adrian Farrel <adrian@olddog.co.uk>
Cc: Ron Bonica <rbonica=40juniper.net@dmarc.ietf.org>, 6man <6man@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/IZ9huqlX5xwR7VKMggRXoi2tsmo>
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: Mon, 09 Dec 2019 15:08:30 -0000

On Mon, Dec 9, 2019 at 1:34 AM Adrian Farrel <adrian@olddog.co.uk> 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).
>
Adrian,

It's probably arguable if that would be a SHOULD or a MUST requirement
in normative language. In either case, the expectation is that
different types of extension headers only appear once. It is
conceivable that some receiving implementations enforce this
assumption so that in the presence of multiple occurrences things
could fail (i.e. be conservative in what you send).

Note that encapsulation with EH instead of Eh insertion would avoid
multiple occurrences of EH within the same IP packet thereby
maintaining the expectation in RFC8200.

Tom

>
>
> 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 (updating 8200 as it went).
>
>
>
> 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
> --------------------------------------------------------------------