Re: What if? [was Re: Extension Header Insertion]

Brian E Carpenter <brian.e.carpenter@gmail.com> Tue, 10 December 2019 19:27 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 12A1B120814 for <ipv6@ietfa.amsl.com>; Tue, 10 Dec 2019 11:27:19 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 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] 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 id6PTk6-qdaD for <ipv6@ietfa.amsl.com>; Tue, 10 Dec 2019 11:27:16 -0800 (PST)
Received: from mail-pl1-x62d.google.com (mail-pl1-x62d.google.com [IPv6:2607:f8b0:4864:20::62d]) (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 A16621208B0 for <6man@ietf.org>; Tue, 10 Dec 2019 11:27:16 -0800 (PST)
Received: by mail-pl1-x62d.google.com with SMTP id bd4so250131plb.8 for <6man@ietf.org>; Tue, 10 Dec 2019 11:27:16 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=wIZEKIEir1/GgDeRenPjTRJeTPIwmRntKg00u9cdPio=; b=GxAfWet0XCTtYjIbFj2lz535mHy31LTzd8E+KkvmrfNKZ8oL9RAqCcB0tTiXO3H62Z utVvCe0ElOhcPBRUadFk0bdjRtI5GI+CI6KhoHtNRuYhnj0sbiB+2tt9kmPMsVVmBYd6 tPYx9u0LnR72EqbyGGc/KwIyESSMowlV0cw17Q46kRb1qojsQ6Nq64M/QRb4ID4Etn7w qRTCcEHFtK5cxCH2AlPPLEGD+OJyrmPEuAmnFT6ZFav81dlb6kDaGB7GKesbwiDUPJjl u6kojUYWOitgxMuo8m9zZu60y/WVVE9/R65dLfhMEVfWFzMs5gK4Acbjj78WJvLkRnV1 bpnw==
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:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=wIZEKIEir1/GgDeRenPjTRJeTPIwmRntKg00u9cdPio=; b=XCkXmJxv+H5XVGcP8jR/3LB/2G/fglgVmxS8sAT9xL4y3583U+0FKNvylNqHXiPb+H mkHlGyI5G8piKbcOdI/H8kdTuR9pnJj9aH3ML3ZEloE5AO5/cQCmhq5ND1l7RLuT+Jes COOfLUj5ImYtFGTJv10lpM2ftkfbcou1vwIjsc8SS2CNGRnjJ/pdpBaKWJB9sD+Bt8nu Yfe0c7XqI9053mFVU+Jr5DeQWCyM4B4NNfMZC+Q+xJ4tD026Vv89aRyRgKyFoXkEq061 jiiFU1PXluFh5T7Q8xwkM1rYP0Tnbk0UM+wWW3/QyIz+5e4R6iMX3kPn3YCCLWq0z0ZZ aQfQ==
X-Gm-Message-State: APjAAAX9lKkOCTf5hiiXJEgMXdXWq+ubn8ImMqUy8zu03LEZxN+rgvst RzsVuITRigKU+zmSkztOnTrFzWHF
X-Google-Smtp-Source: APXvYqzixReDS7yOZTsnZr0lQoeP64SAHrE8IeHIbC95m9BWNTDOJOIOEfAa8C63Hg1fswYWnUdzYg==
X-Received: by 2002:a17:90a:b009:: with SMTP id x9mr7208857pjq.124.1576006035773; Tue, 10 Dec 2019 11:27:15 -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 a14sm4344674pfn.22.2019.12.10.11.27.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 10 Dec 2019 11:27:15 -0800 (PST)
Subject: Re: What if? [was Re: Extension Header Insertion]
To: Fernando Gont <fernando@gont.com.ar>, 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> <dbcdeb1a-0091-da2b-20df-d991e6c06091@gmail.com> <9bc47200-4fea-37ce-0ede-cbf6a5f70ea9@gmail.com> <99e4bdd0-711d-7406-d3bf-786b0238c1e7@gont.com.ar>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Message-ID: <44e6225f-97bc-37ba-c13e-b7bafa446fcc@gmail.com>
Date: Wed, 11 Dec 2019 08:27:13 +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: <99e4bdd0-711d-7406-d3bf-786b0238c1e7@gont.com.ar>
Content-Type: text/plain; charset="utf-8"
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/vxL7KFx5YGRNG7L1NzL7edTQxkI>
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 19:27:19 -0000

Hi Fernando,

On 10-Dec-19 21:39, Fernando Gont wrote:
> Hi, Brian,
> 
> On 9/12/19 20:21, Brian E Carpenter wrote:
>> So, let's assume that two consecutive SRH headers are allowed in the same packet.
> 
> Part of the problem with all these discussions is that folks seem to
> assume that there is no rationale for the existing rules, and they
> insist on changing them without providing any analysis/rationale.
> 
> RFC8200 contains what should be considered a recommendation (at the very
> least) against multiple routing headers.
> 
> 
> A RH is meant to convey some sort of information about the path that a
> packet can traverse. So two SRHs would mean that the same packet should
> follow two different paths, at the same time. That doesn't seem to be
> much sense to me.

I agree. That's why I am seriously asking whether we should recall
draft-ietf-6man-segment-routing-header-26 from the RFC Editor in order
to resolve this. Either (a) there MUST be at most one SRH in a packet,
or (b) the semantics and conflict resolution for multiple SRHs need to
be specified.

At the moment we (6MAN) are on track to publish a Proposed Standard RFC
that leaves this ambiguous, and SPRING has a draft in WGLC that assumes (b).

   Brian

> 
> 
> 
>> So the first one (an example from draft-ietf-6man-segment-routing-header-26) is:
>>
>>        Segments Left=2
>>        Last Entry=2
>>        Flags=0
>>        Tag=0
>>        Segment List[0]=S3
>>        Segment List[1]=S2
>>        Segment List[2]=S1
>>
>> and the second one is
>>
>>        Segments Left=1
>>        Last Entry=1
>>        Flags=0
>>        Tag=0
>>        Segment List[0]=S4
>>        Segment List[1]=S5
>>
>> I made that up and it's obviously nonsense, but if this is allowed why aren't the rules for processing conflicting SRHs described in draft-ietf-6man-segment-routing-header-26? Do we need to recall it from the RFC Editor queue to be fixed?
> 
> It is clearly recommended against.
> 
> However, the very draft-voyer-6man-extension-header-insertion doesn't
> even provide a rationale for EH insertion in the first place, let alone
> for this specific case that you (reasonably) raise.
> 
> Unfortunately, when operating in a mode where analysis is discoraged,
> and "why?" questions are dismissed, I'm not sure there is any other
> possible alternative outcome than this -- documents with lots of
> unspecified stuff, violating specs at will, and designs try to cover up
> what seem to be sub-optimal design choices (like using 128-bit labels
> for what are expected/supposed to be limited domains) by screwing up the
> architecture to save bytes that were wasted elsewhere.
> 
> Thanks,
>