Re: END SID Without SRH

Mark Smith <markzzzsmith@gmail.com> Thu, 13 June 2019 23:59 UTC

Return-Path: <markzzzsmith@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 9F2BD120181 for <ipv6@ietfa.amsl.com>; Thu, 13 Jun 2019 16:59:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.498
X-Spam-Level:
X-Spam-Status: No, score=-0.498 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, FROM_LOCAL_NOVOWEL=0.5, HK_RANDOM_ENVFROM=0.001, HK_RANDOM_FROM=0.999, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no 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 onyaTOvAi1mS for <ipv6@ietfa.amsl.com>; Thu, 13 Jun 2019 16:59:49 -0700 (PDT)
Received: from mail-oi1-x232.google.com (mail-oi1-x232.google.com [IPv6:2607:f8b0:4864:20::232]) (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 9BDFE120075 for <ipv6@ietf.org>; Thu, 13 Jun 2019 16:59:49 -0700 (PDT)
Received: by mail-oi1-x232.google.com with SMTP id v186so660767oie.5 for <ipv6@ietf.org>; Thu, 13 Jun 2019 16:59:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=r0MyriZLcpLp36Kj0knBpQmF2IE4tgPAc/NbsuRjKKY=; b=CMpHpM/z27FPTxWkV1u354XSRnZE8jeRVqFB0jiQ61ya6hnuo2Sp1xf+q2Q2/l17Js 7D7MqSWoHgltf0jlFpJPUYg0TV5UzDjRI7c4T3wLl4MqDHZqZ0hxgImQ6DHAiSMlh40+ DtTDPt5x5h6Gu87IP2fceWl43Ih+jyJ8akdD2snDH/eBR5MaWhdF3fXpBIRMqnp3GCz2 e/4ZD01XHWQiwMd+imsT0HS+h0N4sN+Em5Vn91baqUcE4/aWKTCo8w2+F70Mt60TZkBo gwN2CVuVbFsT6gYcNJ/vEO3aM20L0ETJNmOs2U9BDZI7P4eGDzPIqjwCHAeYIZPLk4k6 udGQ==
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:content-transfer-encoding; bh=r0MyriZLcpLp36Kj0knBpQmF2IE4tgPAc/NbsuRjKKY=; b=VHtTX8NL7p63JAGBaELO3TcX2ueS16GJmrC/z80JiqxVsWBWppic5jePqDeBY6YqJz 8+mv3fzPebrA1sOYU5Vh/OqX1OtnAQsfETg4+H+8cqHWChOI/POeQNoKnmeoIajWguxX IJIREvKvv7Xd4MFu+NJrslekEqyOGJJ7I0o4McjCrQvlrlrCHDxEo6pyrBwN9HvsEm9e vf5eMgkIir7O8GdjE1raBf4tl7wyLZ4N4BdxMMshjmo5gtlPjX/q+DWKoYtw7bH3zeXq Nz9X4Um1RF0xgo4UuRr+2gfdnEjD01fyifHzq7pEpaLxX2M4HkXDvyRPEtNdCCGNYHIu 0Yag==
X-Gm-Message-State: APjAAAVVHk4SGFMY40jdsEglMoaqhPcRWrA6+Um1V3+ZWZdCoy8SI92m TuqjPhVlyttbiwkjaWcmIdZ7hoIlOFuu4uNLaq0=
X-Google-Smtp-Source: APXvYqwAR64Mg1ptAwM0rfFhRYmLQu2I40DI65HKbzeywlGcpENkn9g3c6w9iS1UIKqItdRFyHH+d5CINKuW4WH/dlU=
X-Received: by 2002:aca:ba56:: with SMTP id k83mr87899oif.7.1560470388796; Thu, 13 Jun 2019 16:59:48 -0700 (PDT)
MIME-Version: 1.0
References: <BYAPR05MB42456C75487CF9283A0ED1D0AE100@BYAPR05MB4245.namprd05.prod.outlook.com> <CAO42Z2y_D-xe+tX9n-KQYjnk5bkYXibO0Zs3E=JfAWWMZnJcSA@mail.gmail.com> <3030A68F-6CE1-4179-930C-D60BEB73063A@employees.org> <CAO42Z2yLkCRNXKp8KKnqh8VRRo6p1dx4h0-gyLBFZ=Jq0xQj2w@mail.gmail.com> <0C40BEFF-B050-40A1-BCB7-F76ADF18E3E0@employees.org> <BYAPR05MB42457C37AE7DC3F4CACC8FD7AEEC0@BYAPR05MB4245.namprd05.prod.outlook.com> <B254E985-A848-4FC4-868D-E2F04CF7E0DB@cisco.com> <104B106B-8130-4931-9DBF-2FE5C5633CB0@gmail.com> <B0D2092F-CC6E-4990-857B-E88229FA80AF@cisco.com> <277E6E14-8FD4-45A3-9350-E30B82C0FA86@gmail.com> <CAN-Dau1MDKpFrmmDFpj3s4cZYwFyB0KnWMrc-yjw_m5mO_8REw@mail.gmail.com>
In-Reply-To: <CAN-Dau1MDKpFrmmDFpj3s4cZYwFyB0KnWMrc-yjw_m5mO_8REw@mail.gmail.com>
From: Mark Smith <markzzzsmith@gmail.com>
Date: Fri, 14 Jun 2019 09:59:22 +1000
Message-ID: <CAO42Z2wgZ8gE1pTDy2xbxetdLqf8EWpKRmbi=n7qfgEALwVmVQ@mail.gmail.com>
Subject: Re: END SID Without SRH
To: David Farmer <farmer@umn.edu>
Cc: Bob Hinden <bob.hinden@gmail.com>, IPv6 List <ipv6@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/EgDzuc-vOJShhXNOzmBCfXfyrkc>
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: Thu, 13 Jun 2019 23:59:52 -0000

On Fri, 14 Jun 2019 at 02:45, David Farmer <farmer@umn.edu> wrote:
>
>

<snip>

>> >
>>
>> Thanks.   I don’t see any issue here, the document is appropriately scoped.
>
>
> It might be nice if there was a clear simple statement someplace to the effect, "IPv6 addresses that are used for SIDs SHOULD NOT also be used and a regular IPv6 destination."
>

What's a "regular IPv6 destination"?

It would need to be explicitly defined now, because it has been implicit.

It's one thing to encode function or service destinations in IPv6
addresses. That's is done and supported in IPv6 with anycast and
multicast.

When the packet arrives at that function or service destination
encoded in an anycast or multicast address, it is processed as per the
instructions encoded in the chain of EH and upper layer headers in the
packet. For example, even though the use of TCP with multicast doesn't
make sense, once the multicast packet holding the TCP segment has
arrived at a node with the multicast address, the node is to hand the
TCP segment to the TCP module.

It's quite a different thing to encode packet processing in the
destination address that contradicts or ignores the instructions
encoded in the chain of EH and upper layer headers. I think this might
be a more significant change to the IPv6 packet processing model and
operation than we realise.

RFC 8200 is very clear and explicit on multiple occasions about
following the processing encoded in the EH chain and upper layer
headers when the packet arrives at the destination device that holds
the matching DA:

4.  IPv6 Extension Headers

...

"Extension headers (except for the Hop-by-Hop Options header) are not
   processed, inserted, or deleted by any node along a packet's delivery
   path, until the packet reaches the node (or each of the set of nodes,
   in the case of multicast) identified in the Destination Address field
   of the IPv6 header." (For context for the next two quotes.)

...

"At the destination node, normal demultiplexing on the Next Header
   field of the IPv6 header invokes the module to process the first
   extension header, or the upper-layer header if no extension header is
   present.  The contents and semantics of each extension header
   determine whether or not to proceed to the next header. ***Therefore,
   extension headers must be processed strictly in the order they appear
   in the packet***; a receiver must not, for example, scan through a
   packet looking for a particular kind of extension header and process
   that header prior to processing all preceding ones."

...

4.1.  Extension Header Order

...

  "IPv6 nodes must accept and attempt to process extension headers in
   any order and occurring any number of times in the same packet,
   except for the Hop-by-Hop Options header, which is restricted to
   appear immediately after an IPv6 header only.  Nonetheless, it is
   strongly advised that sources of IPv6 packets adhere to the above
   recommended order until and unless subsequent specifications revise
   that recommendation."

...

Regards,
Mark.



> Thanks
> --
> ===============================================
> David Farmer               Email:farmer@umn.edu
> Networking & Telecommunication Services
> Office of Information Technology
> University of Minnesota
> 2218 University Ave SE        Phone: 612-626-0815
> Minneapolis, MN 55414-3029   Cell: 612-812-9952
> ===============================================
> --------------------------------------------------------------------
> IETF IPv6 working group mailing list
> ipv6@ietf.org
> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> --------------------------------------------------------------------