Re: END SID Without SRH

Bob Hinden <bob.hinden@gmail.com> Wed, 12 June 2019 23:04 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 3F8C01200FA for <ipv6@ietfa.amsl.com>; Wed, 12 Jun 2019 16:04:37 -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 5dhioSCkGYN6 for <ipv6@ietfa.amsl.com>; Wed, 12 Jun 2019 16:04:35 -0700 (PDT)
Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) (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 175AA12008F for <ipv6@ietf.org>; Wed, 12 Jun 2019 16:04:35 -0700 (PDT)
Received: by mail-wr1-x42e.google.com with SMTP id f9so18594290wre.12 for <ipv6@ietf.org>; Wed, 12 Jun 2019 16:04:35 -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=4Tv0owXQE1qXDJS3uT6utBG2+ST2MLiDKzVBydSseZE=; b=txh5BFiqvrBwYS3ehVbooUgejXG/Xcg5zTFeC3DT9UM5H+A5dzWIqIHmRLsofziF6K 7GxK1HRn3oDXj+z3eeQTZ3bsaViJdX0mA9by9fc7iOfDBd93ticsRzuHMPWrbLnLU4+4 +huJquLsnUZjFBaztG6CKwadbzwcb6+dZLNa+MoYl1SZvMmiKnVmmacOYQX0WmUNXLCq nDElyc5zC7vIoSyPRDg+PfIsEBfCA8hUps64LvZdSI3CTMcgFYTbQG/WwhtTGQhA0foV fNojaezrTP3+ri7bbyWeYCWNLn8zu/NI0yQmhfRbgkmgvZDiX5iz9qj8fyYYKGsMRK3X Ky3g==
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=4Tv0owXQE1qXDJS3uT6utBG2+ST2MLiDKzVBydSseZE=; b=RRKVX3/eDOt9Hy3DEE3Obu99kx2Z97zohpJ/p70pVXNBrcUvoY5W/8iow/NtzfE9wf HQNfuml9sm7hmBPFgfZlXHjpl/jGnTucPsAGISouGEAPRDIo4up6cc2K/HpcN2/+oweh 3PmfUAmLjPMhjXuD010kortCL4WbH3sCpJPT0I6ZLPgUP6wWmD6ToWbxwl+8qBre6Rnw y76WtMwdEpWAcrGRH700y9TADsGU49ZGczrRsvQaiLs3yl2ihUR6f1qHb0UwnNuiaUjy wW4BfAdLkSYbhFFMRyNQUP5k9Jx8ZpeGPYoiwDB2StTGMu80eTawq2CsmKGAS0RR7Y9C WNaA==
X-Gm-Message-State: APjAAAVUn7mJ82iMDu7xN2cjLO+Oz2X/j1VO64HBaWHTYuOVD9tUtN4L yUk5B32Vv23rMLRqfP8IRJQ=
X-Google-Smtp-Source: APXvYqzRzTh40q+ZS1PEcrRy3UZL0mmeTH1gKTMHbf/sFyGmvIlcVVqHZ40v8yUWYpIK/iLPswwuDQ==
X-Received: by 2002:a5d:65c5:: with SMTP id e5mr4775438wrw.266.1560380673664; Wed, 12 Jun 2019 16:04:33 -0700 (PDT)
Received: from [10.0.0.199] (c-24-5-53-184.hsd1.ca.comcast.net. [24.5.53.184]) by smtp.gmail.com with ESMTPSA id g5sm1048124wrp.29.2019.06.12.16.04.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 12 Jun 2019 16:04:32 -0700 (PDT)
Content-Type: text/plain; charset="us-ascii"
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: <B254E985-A848-4FC4-868D-E2F04CF7E0DB@cisco.com>
Date: Wed, 12 Jun 2019 16:04:27 -0700
Cc: Bob Hinden <bob.hinden@gmail.com>, IPv6 List <ipv6@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <104B106B-8130-4931-9DBF-2FE5C5633CB0@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>
To: "Darren Dukes (ddukes)" <ddukes@cisco.com>
X-Mailer: Apple Mail (2.3445.104.11)
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/t2bJCDZ3s7acLYWlB_LT5yoyGq8>
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: Wed, 12 Jun 2019 23:04:37 -0000

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.   A node who does not know that it is an SRv6 SID, will process the packet normally as defined in RFC8200/etc/etc.

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?

Bob