Re: [spring] Question on draft-ietf-spring-srv6-network-programming-12

Sander Steffann <sander@steffann.nl> Tue, 17 March 2020 17:54 UTC

Return-Path: <sander@steffann.nl>
X-Original-To: spring@ietfa.amsl.com
Delivered-To: spring@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 747493A09A3 for <spring@ietfa.amsl.com>; Tue, 17 Mar 2020 10:54:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level:
X-Spam-Status: No, score=-2.099 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=steffann.nl
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 rLAdyi7bzK-8 for <spring@ietfa.amsl.com>; Tue, 17 Mar 2020 10:54:24 -0700 (PDT)
Received: from mail.sintact.nl (mail.sintact.nl [83.247.10.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 59DE73A09A1 for <spring@ietf.org>; Tue, 17 Mar 2020 10:54:24 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mail.sintact.nl (Postfix) with ESMTP id E743A49; Tue, 17 Mar 2020 18:54:21 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=steffann.nl; h= x-mailer:references:in-reply-to:date:date:subject:subject :mime-version:content-type:content-type:message-id:from:from :received:received; s=mail; t=1584467660; bh=8YPp4bmUt+aPP0IygvO orBnS4R7GRZyKCX4h6kXyfhI=; b=KPZudrkAp/Jh96ikgbsUS45GGu9akn79juu hU4GmSwNQ68BR+zHSDAGTuFPi2egd0rJbGbOred5b6WMWgoZ3my0RSViDU9LMrZf N5NupOqsC/pSQJ5AcJz2rUmwxg1jljW0todI1Ep6LuZBkEpEUycYJxjJE9lIDroN 43x21tn4=
X-Virus-Scanned: Debian amavisd-new at mail.sintact.nl
Received: from mail.sintact.nl ([127.0.0.1]) by localhost (mail.sintact.nl [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id FVk7Sh4uPxpw; Tue, 17 Mar 2020 18:54:20 +0100 (CET)
Received: from [IPv6:2a02:a213:a300:ce80:947f:692:904e:d23] (unknown [IPv6:2a02:a213:a300:ce80:947f:692:904e:d23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mail.sintact.nl (Postfix) with ESMTPSA id A888E3C; Tue, 17 Mar 2020 18:54:19 +0100 (CET)
X-Clacks-Overhead: GNU Terry Pratchett
From: Sander Steffann <sander@steffann.nl>
Message-Id: <C48E37CF-C65F-4D5E-86FB-366F14BA4D01@steffann.nl>
Content-Type: multipart/signed; boundary="Apple-Mail=_2200BE97-368F-4C5D-B39C-6F93B82B5630"; protocol="application/pgp-signature"; micalg="pgp-sha256"
Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3594.4.19\))
Date: Tue, 17 Mar 2020 18:54:14 +0100
In-Reply-To: <305A5FB1-345F-4207-89BA-9C7F63452F16@cisco.com>
Cc: "Joel M. Halpern" <jmh@joelhalpern.com>, "spring@ietf.org" <spring@ietf.org>
To: "Pablo Camarillo (pcamaril)" <pcamaril=40cisco.com@dmarc.ietf.org>
References: <D5A410FF-EEA3-4F01-8147-5E180EE35DE6@chopps.org> <A6B1D2E0-0230-468B-931F-C6C976BDC9DC@cisco.com> <8ef9a49b-0edf-2040-86d6-7c68381352c6@joelhalpern.com> <C060BCFF-49E9-43DE-A816-35509B47033D@cisco.com> <9e2ea3c8-67c4-2442-4ce8-d42cc89a3a0d@joelhalpern.com> <305A5FB1-345F-4207-89BA-9C7F63452F16@cisco.com>
X-Mailer: Apple Mail (2.3594.4.19)
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/kuMP74BwZoXOwVVBDkPSH6BocRs>
Subject: Re: [spring] Question on draft-ietf-spring-srv6-network-programming-12
X-BeenThere: spring@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Source Packet Routing in NetworkinG \(SPRING\)" <spring.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/spring>, <mailto:spring-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/spring/>
List-Post: <mailto:spring@ietf.org>
List-Help: <mailto:spring-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/spring>, <mailto:spring-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 17 Mar 2020 17:54:28 -0000

Hi,

>>    Having said that, the text about motivating PSP reads:
>>         PSP allows, for example, for an egress PE to receive a packet
>>         with a segment in the DA of the outer header without any need to
>>         process the	SRH.
>>    is a very weak and confusing explanation.  Given that 8200 requires
>>    nodes to be able to ignore any routing header with SL=0, the text as
>>    written seems to be without benefit.
> 
> Joel, how do you know whether you can ignore a routing header?
> I believe that the only option is for the router to process the routing header to check whether the Segments Left value is equal to zero.
> PSP avoids any routing header processing at the egress PE, as the quoted text above states. Hence the benefit.

What benefit?
Sander

PS:

Just because PSP removed a routing header doesn't mean the egress PE doesn't have to look for any remaining routing headers.

From 8200: "Each extension header should occur at most once…".
That is a should, not a must

And: "IPv6 nodes must accept and attempt to process extension headers in any order and occurring any number of times in the same packet…"
That is a must, not a should.