Re: [spring] C-SIDs and upper layer checksums (draft-ietf-spring-srv6-srh-compression)

Joel Halpern <jmh@joelhalpern.com> Wed, 03 April 2024 21:09 UTC

Return-Path: <jmh@joelhalpern.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 60535C14F6F0 for <spring@ietfa.amsl.com>; Wed, 3 Apr 2024 14:09:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.096
X-Spam-Level:
X-Spam-Status: No, score=-2.096 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, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, 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 (1024-bit key) header.d=joelhalpern.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 OWqDEXqchHVE for <spring@ietfa.amsl.com>; Wed, 3 Apr 2024 14:09:45 -0700 (PDT)
Received: from maila2.tigertech.net (maila2.tigertech.net [208.80.4.152]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 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 D0D55C14CE27 for <spring@ietf.org>; Wed, 3 Apr 2024 14:09:45 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by maila2.tigertech.net (Postfix) with ESMTP id 4V8y7F4PC0z6GtnG; Wed, 3 Apr 2024 14:09:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=joelhalpern.com; s=2.tigertech; t=1712178585; bh=jHQ240dItIqJUnfv+c2I54pLeY0iJnoj1uVKgw524C0=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=NEHWURPpUAsd47tSdWkY601uV8JLzyf5jYEvejXRSMHljQRdahvqtEsNI2RjXgasI bfIjT4fplgHKrk7Sm6gnz9OHK98pIuHIcCaSAXRDvQx3mLeqEENCxM1BibVyJ2P0cM 51w5kcK1SQY0EwzO8V3CWdKxXz7FkZ0Tu/6qv3aE=
X-Quarantine-ID: <PSKlBQ5PWv-y>
X-Virus-Scanned: Debian amavisd-new at a2.tigertech.net
Received: from [192.168.22.20] (unknown [50.233.136.230]) (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 maila2.tigertech.net (Postfix) with ESMTPSA id 4V8y7F0PTSz6G7YP; Wed, 3 Apr 2024 14:09:44 -0700 (PDT)
Content-Type: multipart/alternative; boundary="------------UTxbQLV5yQ3N9Vz0snqIRsyy"
Message-ID: <e50b6a1b-08ae-4c8c-b3f0-0900fe8a9158@joelhalpern.com>
Date: Wed, 03 Apr 2024 17:09:42 -0400
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
To: Robert Raszuk <robert@raszuk.net>, Alvaro Retana <aretana.ietf@gmail.com>
Cc: SPRING WG List <spring@ietf.org>
References: <CAMMESsyCYJwWP48=a9RWx3n8txS1eR4VLnUeE++VEdHKFeKOjw@mail.gmail.com> <CAOj+MMH9-F0nWG6zDZXxAGOQ7T8T9bUn74f4o=Fh2p0zah86Gg@mail.gmail.com>
Content-Language: en-US
From: Joel Halpern <jmh@joelhalpern.com>
In-Reply-To: <CAOj+MMH9-F0nWG6zDZXxAGOQ7T8T9bUn74f4o=Fh2p0zah86Gg@mail.gmail.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/G2xc3yfeP0rpDc4s8HoGAydWSRE>
Subject: Re: [spring] C-SIDs and upper layer checksums (draft-ietf-spring-srv6-srh-compression)
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: Wed, 03 Apr 2024 21:09:50 -0000

There are two cases covered in section 6.5 of the compression draft that 
appear to be at variance with secton 8.1 of RFC 8200.

First, if the final destination in the routing header is a compressed 
container, then the ultimate destination address will not be the same as 
the final destination shown in the routing header.

Second, if a uSID container is used as the destination address and no 
SRH is present, then in addition to the above problem there is no 
routing header to trigger the behavior described.

Yours,

Joel

On 4/3/2024 4:22 PM, Robert Raszuk wrote:
> Hi Alvaro,
>
>     Section 6.5 of draft-ietf-spring-srv6-srh-compression describes the
>     behavior when an originating node inside an SRv6 domain creates a
>     packet with a C-SID as the final destination. _This description
>     differs
>     from the text in Section 8.1 of RFC8200._
>
>
> I would like you to clarify the above statement - specifically of the 
> last sentence.
>
> Reason for this that after looking at both drafts I find section 6.5 
> of the subject draft to be exactly in line with RFC8200 section 8.1 
> especially with the paragraf which says:
>
> *         If the IPv6 packet contains a Routing header, the Destination
>          Address used in the pseudo-header is that of the final
>          destination.  At the originating node, that address will be in
>          the last element of the Routing header; at the recipient(s),
>          that address will be in the Destination Address field of the
>          IPv6 header.
> *
>
> So before we dive into solutions (as Andrew has already provided a few 
> of) I think we should first agree on what precise problem are we 
> solving here ?
>
> Many thx,
> Robert
>
> PS. As a side note I spoke with my hardware folks - just to check if 
> validation of upper-layer checksum is even an option for transit 
> nodes. The answer is NO as most data plane hardware can read at most 
> 256 bytes of packets. So unless there is some specialized hardware 
> processing up to 9K packets in hardware at line rates this entire 
> discussion about checksum violations, fears of firing appeals is just 
> smoke.
>