Re: [spring] Chair Review of draft-ietf-spring-srv6-srh-compression-11

Tom Herbert <tom@herbertland.com> Mon, 25 March 2024 18:58 UTC

Return-Path: <tom@herbertland.com>
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 301A9C14F6BA for <spring@ietfa.amsl.com>; Mon, 25 Mar 2024 11:58:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.107
X-Spam-Level:
X-Spam-Status: No, score=-7.107 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, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=herbertland.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TeynaFPCqW5R for <spring@ietfa.amsl.com>; Mon, 25 Mar 2024 11:58:50 -0700 (PDT)
Received: from mail-ed1-x536.google.com (mail-ed1-x536.google.com [IPv6:2a00:1450:4864:20::536]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 52A04C151538 for <spring@ietf.org>; Mon, 25 Mar 2024 11:58:50 -0700 (PDT)
Received: by mail-ed1-x536.google.com with SMTP id 4fb4d7f45d1cf-56c197d042fso1078023a12.0 for <spring@ietf.org>; Mon, 25 Mar 2024 11:58:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=herbertland.com; s=google; t=1711393128; x=1711997928; darn=ietf.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=mnEJ7wVHP47RhJNL1IpQ67E/g20/nJ+UfGiNzfYM2cw=; b=d7Amd6oRoZu1nz0ASwYsUb5ZR2gIvDtCCMOepe/gMGgridzPpLPQDLbkmwxo7yL0EL YhG2ORPGOsv/ftjOm3c7F6CdYYAaONz1kFmctFps14DP6mXCksnPvhSUfkFJA74oFy1w 6+cOYTRqPgt2Jn1oo3vg3c9Eo5nfaOY2d0Y5HKsZ7yIm7SiRrLim/NkaetMXY48IBIhB hz835sgh82kgJgU648GfkGuLRsloK6LB+24Zr4Bclc7Etre0i9R+m+KvwyxRLhk3Gp8U IBh1mfSgpL/c0ikpm7noPs/Wjd5MzeCgy242bmKyiYfyToXQ3TfzcWixn7QUU5iP68oq GumA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711393128; x=1711997928; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=mnEJ7wVHP47RhJNL1IpQ67E/g20/nJ+UfGiNzfYM2cw=; b=TX9VXggLHdVdnuBRgjjPp6efMSDNJCIkivzpkgLaOAOOkBR5o3iUmfb+qAPJnA6vI4 lnCOqb3BTwt1OWPPutVzrzBTvdr5d0o2t/oSEpGw75rZSdUkRttX9qqnKsUt1ofKvNKz OQwz1oA3waiu5GMGNeIDk/UoalJgQPW97z7FDyNKhk49VCPIC1Igrs9uaMnoViU4GT6t rM2hZJNkhOYc8vw4PktROdKxlO1HEuPFBWW8qhGhZIqJ5NEhiUCJHrkGhs9zcn0niFZd GcfFRzk/Fls10DEOzC2GC1EEO/dXLDlTVqPqJP66EryltlbunN2VE2q+ZohACn2CzfLG zsAQ==
X-Forwarded-Encrypted: i=1; AJvYcCVe174KCxREHng99+sfs8MpZYfHNlMYVCX+pFfEYr8UH8VlOooUNQb4PcglFh5QTz2COR47f8lEQM8h9xAkMoo=
X-Gm-Message-State: AOJu0YxdK8+6SRnZSOJ45T4Z4ob15rJIUFP/0A7VyT8jK++ATP7zcMY9 glWAt1j41+X0nGX86hPDrMbZFYr4ghEkvhGTvJk38eJ4Zb0eroSsGUli2lEOqdlpNSHMggasL+n a+cDiMAW18OXYxRf/kqvWy3S6S6zgNxY0nf9W
X-Google-Smtp-Source: AGHT+IFgI2XejTjVEil88zWsfn2v0sVu4sFz0Z4x7qfpc6Dp1anM1AY4sg/9FBjLiGdXlIy/J2mnHZ93uR9gzQs4diY=
X-Received: by 2002:a05:6402:26c6:b0:56b:f79e:89e9 with SMTP id x6-20020a05640226c600b0056bf79e89e9mr5813139edd.3.1711393127610; Mon, 25 Mar 2024 11:58:47 -0700 (PDT)
MIME-Version: 1.0
References: <CAMMESsw=PihfkO3nECiBnCALfCC=vTRn6c1_OYPK-jT5=yHFZA@mail.gmail.com> <DU2PR03MB802141D381DD2C716442D01DFA362@DU2PR03MB8021.eurprd03.prod.outlook.com> <CAOj+MMGWkyLqfk-PM8rTCyEpMLQDvujO3P6O=NxGQunB5GBxdA@mail.gmail.com> <DU2PR03MB8021817EDB0676FCDFC0FF3CFA362@DU2PR03MB8021.eurprd03.prod.outlook.com> <CAOj+MMEPZ4O1sTEUm4u-v72MwcptejNWLfcBvFJA98-2qDzzfg@mail.gmail.com> <DU2PR03MB8021CFB963C174317CF604E2FA362@DU2PR03MB8021.eurprd03.prod.outlook.com> <CAOj+MMFDrRq9igN16Dy0LXR=QiopdmHJbTd0SRT=_XdVGgjt+g@mail.gmail.com> <DU2PR03MB80213CDDFC54A4A9C456D654FA362@DU2PR03MB8021.eurprd03.prod.outlook.com> <CAOj+MMGyoo3afahjqfqK50E0NQRN6C-HyZ8HMaK7ZEegRhacsg@mail.gmail.com> <DU2PR03MB8021359DEE67FF457F914384FA362@DU2PR03MB8021.eurprd03.prod.outlook.com> <CAOj+MMHhKVBg2LDqDqZRzAiLLRfCcwv_3g2Jpmud1aLsF2hL_Q@mail.gmail.com> <CALx6S35FDPDMinDYxTL9Bj8bmjzx5q-JGWMTJObCn=uyVVfrZA@mail.gmail.com> <CAOj+MMH95uErZXS7+02KQrguL6S96EzyP1qdf7sXAGtuCjMtxw@mail.gmail.com> <5e644c97-c316-4618-97ec-cb8ec8c097bd@joelhalpern.com> <CAMMESswrX3E3y8EbRmJ2rrE08aF6_vBP9GjuLYtnfJo48fAwCA@mail.gmail.com>
In-Reply-To: <CAMMESswrX3E3y8EbRmJ2rrE08aF6_vBP9GjuLYtnfJo48fAwCA@mail.gmail.com>
From: Tom Herbert <tom@herbertland.com>
Date: Mon, 25 Mar 2024 11:58:35 -0700
Message-ID: <CALx6S36poDF5t1CjSDsjBoC4jKgKhyA3OqhmZ=UJ-L4D075g=g@mail.gmail.com>
To: Alvaro Retana <aretana.ietf@gmail.com>
Cc: Robert Raszuk <robert@raszuk.net>, Joel Halpern <jmh@joelhalpern.com>, "spring@ietf.org" <spring@ietf.org>, Andrew Alston - IETF <andrew-ietf@liquid.tech>, Ron Bonica <rbonica@juniper.net>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/AOKgqee50nohPnjwh9QAw8WtTtc>
Subject: Re: [spring] Chair Review of draft-ietf-spring-srv6-srh-compression-11
X-BeenThere: spring@ietf.org
X-Mailman-Version: 2.1.39
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: Mon, 25 Mar 2024 18:58:54 -0000

On Mon, Mar 25, 2024 at 11:17 AM Alvaro Retana <aretana.ietf@gmail.com> wrote:
>
> FWIW, I agree with most of what Joel wrote. ;-)
>
> I see another path forward: Given that the issue is constrained to an SR domain, the draft could also point out the issues as operational/deployment considerations. Operators can then make an informed decision on whether they want to/can use C-SIDs without an SRH in their network. This path forward (or leaving it out of scope, as Joel suggests below) is something the spring WG can reach consensus on by itself (i.e., without needing to consult or agree with other WGs).

Alvaro,.

This wouldn't be robust and would seem to violate the "be conservative
in what you send clause". Punting this to the operators doesn't seem
practical either, in an even moderately large network they wouldn't be
able to know all the potential problems they might hit in devices.
They're about one misconfiguration away from having to debug a rather
unpleasant problem. For instance, if operator gets a packet trace from
a router they would see a whole bunch of packets with bad checksums,
but they would have no way of knowing if these were cases of segment
routing or actually corrupted packets.

Tom


>
> Other solutions that may require updates to rfc8200 or, at least, consultation with 6man may also be possible. Those solutions should be discussed with both WGs. While this topic has been discussed before, I suggest at least using a different thread (with a better subject line).
>
> Thanks!
>
> Alvaro.
>
> On March 25, 2024 at 1:25:57 PM, Joel Halpern (jmh@joelhalpern.com) wrote:
>
> (Speaking technically as an individual, but noting that Alvaro and I are the responsible chairrs who will have to resolve any technical standards incompatibility.  And I have not talked with Alvaro.  So I may be putting my foot in my mouth.)
>
> As I understand it, the current view is that the compressed SID draft permists the case where a single container represents the SR policy.  If that contianer is using uSID, and if the packet is going between two hosts in the SRv6 domain, then the SRH may be omitted and no encapsulation is needed.
>
> In that case, the sending host needs to compute the checksum based on what the receiver will see.  It can do that, and there is text in the draft to do so.  There are however two related issues.  First, that direction for computing the upper layer checksum does not match what RFC 8200 says.  If indeed that is a change to 8200, then that needs to be indicated somehow, and presumably approved by 6man.  related to that, any intermediate node looking at the packet will see an apparently ordinary IPv6 packet whose upper layer checksum is incorrect.
>
> Tom Herbert, if I am understanding him correctly, is arguing that since the shifting of the uSID container is essentially  a DA rewrite, the operation is sufficiently similar to NAT that one should expect the NAT device to correct the checksum (which is a different repair than the current compression draft calls for.)
>
> As far as I can tell, this intradomain, non-SRH, uSID case is intendedd to be supported by the compression solution.  (Another option for the WG would be to declare that out of scope, but I have not seen evidence the WG wants that restriction.)  If so, we need to reach agreement on what we expect of this case, and where it needs to be documented.
>
> Yours,
>
> Joel M. Halpern
>
> PS: Ron has suggested that a HbH optioncould be used to address the inconsistency.  I do not yet understand the desired behavior there.