Re: END SID Without SRH

Bob Hinden <bob.hinden@gmail.com> Thu, 13 June 2019 02:26 UTC

Return-Path: <bob.hinden@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 C96CF120098 for <ipv6@ietfa.amsl.com>; Wed, 12 Jun 2019 19:26:53 -0700 (PDT)
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=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 0sDmBBLQ6Iba for <ipv6@ietfa.amsl.com>; Wed, 12 Jun 2019 19:26:51 -0700 (PDT)
Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) (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 6F01C12006A for <ipv6@ietf.org>; Wed, 12 Jun 2019 19:26:51 -0700 (PDT)
Received: by mail-wm1-x336.google.com with SMTP id s3so8451847wms.2 for <ipv6@ietf.org>; Wed, 12 Jun 2019 19:26:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=SqHdEtIHy6kxgc5sXxDvcuTI0l7nz7VusisFBsFfjqM=; b=bnR5jQIOhKO9iMMEKGSBeyuzYuVZd9tqzxo6cEzl1DcfqciYTV5rM0uWwYEkviZGl0 ae166GGt8qph7c3H4twGMcIaTGRo3W1FHNzIreg8Dx5TQ40hWbqH38EbZ1vI0lo2vJ/R imOLhnh/7xw+VYaDVqQEiuM1JaSArfYgKG2bfLVRMKJ9uJQc+xwtTPBtboK+81cMV9hR n240puXwpV1quX/88ZEPuiKfsboNvhPyoyq2tblHjdw901UhTQnO4gqAaI6zeJkPXN3H lOEI+NDXwAZ3il5UL8r6YAlwFBdIFLKo4/7Q+oyJYzk+GPkhb7DIBbMSU39fY1KNRV67 YkbQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=SqHdEtIHy6kxgc5sXxDvcuTI0l7nz7VusisFBsFfjqM=; b=EvqKZNGc63O3n6CRSbbDe1cnhWetCObiJ0T4l5vrxV45aZOIQQaaOVrDs1j3FWcaRW dUXVz6mdnsYyK7GEB6C7/2/ga7E+/lWnehvHNFyvd2bpi8224Gstc3DtfGfp4vITWytW AZKdE+Fh7h5jF308oK8p50+TDzgnWoQl5e2N+XePh3UHz2Co/YW6B8lxNTt7N8qjsSYF VxDDLYsP2CX5bhvRUIcGrIMXWoBY81h8t9QxYbyoQThWP9BF2QvecOzqs6/fmjA0NOu+ f7ra9m76EDHi3E8MKKe5rUstoj9Ru6cxDMW7ARgA904LHPvjJpgENAizsoFD9IJ2IJYd OU/A==
X-Gm-Message-State: APjAAAX4ksW3SKkfRc3xyJtsyFY9mWFPmHASos81ttBefRzy5qqsB6CT oPUd4Q9DrQr+AqoljwGgYf4=
X-Google-Smtp-Source: APXvYqzSz3S9Rh3wA1ubECetXu+GBsVQVPiVNN3C7SXLJ0f4chTagQ65/YZ6hdqaMhx8/If++4vatQ==
X-Received: by 2002:a1c:f21a:: with SMTP id s26mr1345559wmc.163.1560392809858; Wed, 12 Jun 2019 19:26:49 -0700 (PDT)
Received: from ?IPv6:2601:647:5a00:ef0b:b814:fcf:8b52:57e1? ([2601:647:5a00:ef0b:b814:fcf:8b52:57e1]) by smtp.gmail.com with ESMTPSA id p3sm2040469wrd.47.2019.06.12.19.26.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 12 Jun 2019 19:26:49 -0700 (PDT)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\))
Subject: Re: END SID Without SRH
From: Bob Hinden <bob.hinden@gmail.com>
In-Reply-To: <B0D2092F-CC6E-4990-857B-E88229FA80AF@cisco.com>
Date: Wed, 12 Jun 2019 19:26:45 -0700
Cc: Bob Hinden <bob.hinden@gmail.com>, IPv6 List <ipv6@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <277E6E14-8FD4-45A3-9350-E30B82C0FA86@gmail.com>
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>
To: "Darren Dukes (ddukes)" <ddukes@cisco.com>
X-Mailer: Apple Mail (2.3445.104.11)
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/z7WbVonpgiRfi-UhjWRCC_G_X5U>
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 02:26:54 -0000

Darren,

> On Jun 12, 2019, at 5:57 PM, Darren Dukes (ddukes) <ddukes@cisco.com> wrote:
> 
> Hi Bob. See inline. 
> 
> On Jun 13, 2019, at 1:04 AM, Bob Hinden <bob.hinden@gmail.com> wrote:
> 
>> Darren,
>> 
>>> On Jun 12, 2019, at 2:52 PM, Darren Dukes (ddukes) <ddukes@cisco.com> wrote:
>>> 
>>> Hello everyone.
>>> 
>>> This document defines an SRH and a SID, and how that SID is processed.
>>> 
>>> I expect anyone "surprised" by this fact should have read this draft at some point:
>>> a - within the past 2 years; since this document has defined a SID and its processing.
>>> b - within the past 13 months; since section 4.3.1 specifically described discarding the packet based on upper layer header being processed.
>>> c - within the past 8 months; since the current version of 4.3.1.2 was updated with the new ICMP error code, published, and the WG was notified via email.
>>> 
>>> And recall section 3.1 defines a Source SR node as 
>>>  "any node that originates an IPv6 packet with a
>>>  segment (i.e.  SRv6 SID) in the destination address of the IPv6
>>>  header.  The packet leaving the source SR Node may or may not contain
>>>  an SRH."
>>> 
>>> In other words, there is no surprise.
>> 
>> I am trying to sort out this discussion. 
>> 
>> I think the text in the draft this discussion is about is:
>> 
>>> 4.3.1.2.  Upper-layer Header or No Next Header
>>> 
>>>   When processing the Upper-layer header of a packet matching a FIB
>>>   entry locally instantiated as an SRv6 SID defined in this document.
>>> 
>>>   IF (Upper-layer Header is IPv4 or IPv6) and
>>>       local configuration permits {
>>>     Perform IPv6 decapsulation
>>>     Resubmit the decapsulated packet to the IPv4 or IPv6 module
>>>   }
>>>   ELSE {
>>>     Send an ICMP parameter problem message to the Source Address and
>>>     discard the packet.  Error code (TBD by IANA) "SR Upper-layer
>>>     Header Error", pointer set to the offset of the upper-layer
>>>     header.
>>>   }
>>> 
>>>   A unique error code allows an SR Source node to recognize an error in
>>>   SID processing at an endpoint.
>> 
>> 
>> If I understand it correctly, the case for the action described in this section  is:
>> 
>>   When processing the Upper-layer header of a packet matching a FIB
>>   entry locally instantiated as an SRv6 SID defined in this document.
>> 
>> A node receiving this packet that knows it is SRv6 SID (because it was locally instantiated), would follow this procedure.   
> 
> Correct. 
> 
>> A node who does not know that it is an SRv6 SID, will process the packet normally as defined in RFC8200/etc/etc.
>> 
> 
> Yes. This case is covered by section by 4.3.3 specifically, where the destination lpm matches a non-local Route.
> 
> 
> 4.3.3. FIB Entry Is A Non-Local Route
> 
> Processing is not changed by this document.
> 
>> Essentially, a node will only do this if it is in an SRv6 domain because it has had SRv6 SID information configured manually or via some protocol.
>> 
>> Am I correct?
> 
> Yes you are correct. 
> 

Thanks.   I don’t see any issue here, the document is appropriately scoped.

Bob