Re: [spring] Suggest some text //RE: Request to close the LC and move forward//RE: WGLC - draft-ietf-spring-srv6-network-programming

Robert Raszuk <robert@raszuk.net> Sat, 29 February 2020 11:06 UTC

Return-Path: <robert@raszuk.net>
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 047863A048D for <spring@ietfa.amsl.com>; Sat, 29 Feb 2020 03:06:30 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 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, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=raszuk.net
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 aNRkFeQkwEcM for <spring@ietfa.amsl.com>; Sat, 29 Feb 2020 03:06:27 -0800 (PST)
Received: from mail-ot1-x343.google.com (mail-ot1-x343.google.com [IPv6:2607:f8b0:4864:20::343]) (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 10D063A0496 for <spring@ietf.org>; Sat, 29 Feb 2020 03:06:26 -0800 (PST)
Received: by mail-ot1-x343.google.com with SMTP id r16so5136394otd.2 for <spring@ietf.org>; Sat, 29 Feb 2020 03:06:26 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raszuk.net; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=jKXwbEJk/xj0ki9T1LYaIP4qigmToxpOCf3leVjhEPo=; b=Q4RLowpdnk2SeKOtuyaHLFea6/z2RUf+PZHiwMgp/+ABC7mfVJer0tOnqZPsS5GZIm NZaQq0xXNLMlt0iw+fcZgB04gvyjTk4UM/TW476J7Eryx5X6hOyllLgHfDyVlaKuT1JY EYNcuItl2yMespWmZaJ9qN1HqmqNN8pfds3AZAXbRoc2MlW3jQ87gSU4Qy3rXEKXmjRK dwPxRn23DkIuQ3ALPI0E47tt78pkviWu5skMZb3xF8Jy4dc2/hSiPJZEwY6FH02vP+A5 ulfg6M9fl8rjVRU5YwHLGOGjlps1XCXHAclufFPwdQxXEuE18qYzM4wGCDcvprUKvyq0 ZAXQ==
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; bh=jKXwbEJk/xj0ki9T1LYaIP4qigmToxpOCf3leVjhEPo=; b=SvYOMgye+/Xi878nA/QAROtpkgy+Xqq9/+bWVMFXyBUrGlu/esSZdfNomOhwlmB/A8 SG8D2wrb+w+GbWRFGaqvICnk3ALtJj/Hfgqpa6Vup4Xq32fWxTfEnuc5goc+eV9SzKYs 9InBmYMDGReC21+ChNwztCHezlJrUUPlS/MTHdUF+jECS5ZJhrfP+l+mNSLldIUU3aXU 0Eip324BIU7jMXgQnrYYJHWf10SSNeAXohy4D7F3/XF3QwKbQxPEDyIFYzvToilI37YG iFUSrIE8PF5d6ymw/P/DVQ4oVhIwh+z+ehs+IfljFf1A4NXDDbCwSfTaqUFLu3j+wVFw InZA==
X-Gm-Message-State: APjAAAUWOoldDA3FFSyyVVjcxuJtwUIxrae6KFYsKtKTsty03tTgZi+w 2hGOMo8EvH8rOIGAa4Z1neFSfbq4NYTwKDVddAcL3QtgJDI=
X-Google-Smtp-Source: APXvYqza28rEicIcGDH/8fc4k4pedjL5u/LzPyNK5/Exp8vPKfpxk4DgOEsFeG1ee4wOT6krK0diMDHOgH+DfIW7XGY=
X-Received: by 2002:a05:6830:160c:: with SMTP id g12mr6411733otr.82.1582974386254; Sat, 29 Feb 2020 03:06:26 -0800 (PST)
MIME-Version: 1.0
References: <965ff6bbf1cb4c2f8d48b7b535a0cf5b@huawei.com> <CAJE_bqcTNWt==mtYKeNVXOBAzBNLG=+_mXQQ9xMHYOCDRqCb_Q@mail.gmail.com>
In-Reply-To: <CAJE_bqcTNWt==mtYKeNVXOBAzBNLG=+_mXQQ9xMHYOCDRqCb_Q@mail.gmail.com>
From: Robert Raszuk <robert@raszuk.net>
Date: Sat, 29 Feb 2020 12:06:17 +0100
Message-ID: <CAOj+MMEzbyzy98iFyfe6Z=dQiWHo=triX6bHKx9fNEUCaSuy3Q@mail.gmail.com>
To: 神明達哉 <jinmei@wide.ad.jp>
Cc: "Xiejingrong (Jingrong)" <xiejingrong@huawei.com>, "spring@ietf.org" <spring@ietf.org>, "6man@ietf.org" <6man@ietf.org>, Ted Lemon <mellon@fugue.com>, Bob Hinden <bob.hinden@gmail.com>, Brian E Carpenter <brian.e.carpenter@gmail.com>, "Joel M. Halpern" <jmh@joelhalpern.com>, "Pablo Camarillo (pcamaril)" <pcamaril@cisco.com>
Content-Type: multipart/alternative; boundary="000000000000fb40f1059fb4f1e6"
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/kTS1vGovjMCcEYtajT8D6WnzngA>
Subject: Re: [spring] Suggest some text //RE: Request to close the LC and move forward//RE: WGLC - draft-ietf-spring-srv6-network-programming
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: Sat, 29 Feb 2020 11:06:30 -0000

Dear Jinmei,

Even if RFC8200 section 4 text would say:

 "Extension headers cannot be added to a packet after it has left its
source node and extension headers cannot be removed from a packet until it
has arrived at its ultimate destination".

PSP would be still not be violating anything said in this sentence. Reason
being is that we are dealing here with an *encapsulated* packet which has
as its ultimate destination SR node X. That SR node X is to perform or not
PSP. So it is still fully compliant with the specification.

IMHO the only grey area as pointed by Brian is if RFC8200 section 4.4
really mandates you to look at segments_left before processing the packet
or it is equally legal to look at that value after local processing occurs.
Definition says:


      Segments Left       8-bit unsigned integer.  Number of route
                          segments remaining, i.e., number of explicitly
                          listed intermediate nodes still to be visited
                          before reaching the final destination.


which to me really means that as long as you recognize given routing header
type you can decrement this value and if zero remove it.

Besides that is a minor detail - as NPG draft could be updated to say:

 S14.1.   If (Segments Left Before Local Decrement == 1) {
 S14.2.      Update the Next Header field in the preceding header to the
                Next Header value of the SRH
 S14.3.      Decrease the IPv6 header Payload Length by the Hdr Ext Len
                value of the SRH
 S14.4.      Remove the SRH from the IPv6 extension header chain
 S14.5.   }


Many thx,
R.

On Sat, Feb 29, 2020 at 2:28 AM 神明達哉 <jinmei@wide.ad.jp> wrote:

> At Fri, 28 Feb 2020 07:54:28 +0000,
> "Xiejingrong (Jingrong)" <xiejingrong@huawei.com> wrote:
>
> > The design of PSP for the benefits of deployment is based on the
> understanding
> > that it does not violate section 4 of RFC8200. In case the RFC8200 text
> may be
> > modified in the future, the PSP may also need to change accordingly.
>
> No, it violates Section 4 of RFC8200.  It's a pity that we have to
> discuss it at this level due to the poor editorial work then (I was
> also responsible for that as one of those reviewing the bis draft),
> but anyone who involved the discussion should know the intent of this
> text intended to say (borrowing from Ron's text) "Extension headers
> cannot be added to a packet after it has left the its source node and
> extension headers cannot be removed from a packet until it has arrived
> at its ultimate destination".  It might look "an attempt of blocking
> an innovation by a small group of vocal fundamentalists", but if you
> see the responses without a bias, you'd notice that even some of those
> who seem neutral about the underlying SRv6 matter interpret the text
> that way.
>
> I'd also note that simply because PSP violates RFC8200 doesn't
> immediately mean it (PSP) "needs to change".  It can update RFC8200 with
> explaining why it's necessary and justified.  That's what I
> requested as you summarized:
>
> > Jinmei: it should say it updates this part of RFC8200 and explain why
> it's justified.
>
> And, since PSP at least wouldn't break PMTUD, I guess the update
> proposal will have much more chance to be accepted than a proposal
> including EH insertion.  On the other hand, pretending there's no
> violation will certainly trigger many appeals and objections at the
> IETF last call (I'll certainly object to it).  In the end, it can
> easily take much longer, or even fail, than formally claiming an
> update to RFC8200.
>
> --
> JINMEI, Tatuya
>
> _______________________________________________
> spring mailing list
> spring@ietf.org
> https://www.ietf.org/mailman/listinfo/spring
>