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

Andrew Alston - IETF <andrew-ietf@liquid.tech> Thu, 04 April 2024 17:30 UTC

Return-Path: <andrew-ietf@liquid.tech>
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 F39BBC14F5ED for <spring@ietfa.amsl.com>; Thu, 4 Apr 2024 10:30:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 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_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 (2048-bit key) header.d=liquid.tech
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 A7HAU1eC9Ioi for <spring@ietfa.amsl.com>; Thu, 4 Apr 2024 10:29:58 -0700 (PDT)
Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on2108.outbound.protection.outlook.com [40.107.6.108]) (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 9291BC15155B for <spring@ietf.org>; Thu, 4 Apr 2024 10:29:56 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AngBlOLc7FIs/pW6hizlfnYleI6GdLj3BhlXgluxvVdLd/cTdfifII1EmjmzvyBDjHqTy1aZdEjGEWCzOqShPzjsxB+bqy5y+mJ5REr18zrW0SaYz7iNuXWbdENP2d9iQuZQBqBPAU2WQxrhBy2V3Ilc4TdLd67v2Llb1LRdXg+AIVrQitjcMmjdbTTKh6iO8yfFCrHHDv5+CAvfDBbTmZu4EnmW5XkPLBf9vJyJBUM5+KdF3HUejFHEiAlWnekl5MgAqHSezZVsyJcVsfOx/Ibq/6BcIKTz4PvV3MqAE6xOtlHmqqtTmHN0zQIcd+t3OsY4Q3UifhBfCWtLm3Nszw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=zdqy0TO34C4xbW8BuL2k2wSOp03w/P1siF5/Rubg5Fk=; b=VXhRbVX3qMaOCFN2d+ZIvCW+nSk635EN7qGpz4rMFgmZ7A3gqw9uspks7gICW6UMHFqPpcJ4iJraEwnLQuhMdlCoaufcX7v/zHLLhJMXjPhEM5AYbyv0jBL8tKrSobc0zvw76fzW45sKFatMG5M8lw7j+ccBqipJwJzUscPRD4YH5+NR6ymv5CYk/+EnpfcaZl4QHSTCI8MZmGmDFqJih83KgGmK5ualHtlJo/rJ/b0jASWV1UIufOuH7V/bGweX03Pl8gfnPSEFOqgqXpykMu0ktQGi/JF8gTwj1RQOz52ChtfZyLrn89VBecmLJSleImJptjlfkeTiwmNs/1Dnrw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=liquid.tech; dmarc=pass action=none header.from=liquid.tech; dkim=pass header.d=liquid.tech; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=liquid.tech; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zdqy0TO34C4xbW8BuL2k2wSOp03w/P1siF5/Rubg5Fk=; b=LDZI979IJ0OngbYTiViFdY4N3+L0aZxE/Ol2PUvu+7JrwRdw5XvJlcRURd8qZVZ31ALfoz8cvj6DStFv0uu6i+QBChfNGOcD+D4/dS7hMUXqprIRg1Dm3+k+y9JqK9z3e5A831qGP+q7FwL0NweKG+PLXaFoCy+I/OX6mvLlpWgmdL5/ogbeiEBFGp5cC+8uF5ylwhJzvjjwPg9+ey7EygZRGhx3Ai8kGtE026asHwLdjawK4bPXmi+c+aHXgNwCw5bRER7th432SXYxD9YtSyU+f4wY+4HggIvsuQeH9pHPE5i+Vp3mG+S2y5VjiiMH1uQIR7jqEjMunQmPHETHcg==
Received: from DU2PR03MB8021.eurprd03.prod.outlook.com (2603:10a6:10:2dc::9) by DBBPR03MB7020.eurprd03.prod.outlook.com (2603:10a6:10:20f::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7452.26; Thu, 4 Apr 2024 17:29:51 +0000
Received: from DU2PR03MB8021.eurprd03.prod.outlook.com ([fe80::1ed8:108f:76c2:adf7]) by DU2PR03MB8021.eurprd03.prod.outlook.com ([fe80::1ed8:108f:76c2:adf7%6]) with mapi id 15.20.7409.042; Thu, 4 Apr 2024 17:29:51 +0000
From: Andrew Alston - IETF <andrew-ietf@liquid.tech>
To: "jmh.direct" <jmh.direct@joelhalpern.com>, Francois Clad <fclad.ietf@gmail.com>
CC: SPRING WG List <spring@ietf.org>, Robert Raszuk <robert@raszuk.net>
Thread-Topic: [spring] C-SIDs and upper layer checksums (draft-ietf-spring-srv6-srh-compression)
Thread-Index: AQHagQglTBAWLjx2/E+beXYg3VAJo7FXBz6AgAANLwCAAAGYAIAAA7wAgAAKJwCAAAGggIAA5IKAgAAb4YOAAAiEgIAAAx2AgAADmoCAAAG1gIAALR4AgAAEYwCAAACbNA==
Date: Thu, 04 Apr 2024 17:29:51 +0000
Message-ID: <DU2PR03MB8021CBC316021894B3E5C59BFA3C2@DU2PR03MB8021.eurprd03.prod.outlook.com>
References: <CAHT6gR84V9w5Htp7sQ67iu7+X8esohKOUE99gVbbZfZeLqyEGw@mail.gmail.com> <4V9T74452Sz1nsk5@mailb2.tigertech.net>
In-Reply-To: <4V9T74452Sz1nsk5@mailb2.tigertech.net>
Accept-Language: en-GB, en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
msip_labels: MSIP_Label_99ef9a43-ff34-4715-a5f5-dfd82916d644_Enabled=True; MSIP_Label_99ef9a43-ff34-4715-a5f5-dfd82916d644_SiteId=68792612-0f0e-46cb-b16a-fcb82fd80cb1; MSIP_Label_99ef9a43-ff34-4715-a5f5-dfd82916d644_SetDate=2024-04-04T17:28:31.9983088Z; MSIP_Label_99ef9a43-ff34-4715-a5f5-dfd82916d644_ContentBits=0; MSIP_Label_99ef9a43-ff34-4715-a5f5-dfd82916d644_Method=Standard
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: DU2PR03MB8021:EE_|DBBPR03MB7020:EE_
x-ms-exchange-atpmessageproperties: SA
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: FIrf8LcWkXRJf2zHgvVTMKaG1DnLqprHS0vO8uspIezZFGA6ZQHO7uZA1g0dQbJDEpvciuajPFnh4CvUoTFGQ02GeYuR1kuFPGjYTGLBQmijZWPJhqKDDIrIeuFYvFc3oveCQSdHgdqwpYmHCwxHsDKdCswpw29vZXZRV4r14cNeMA82jQb7p7EQLojTj97fkcOxiWAosTSzDVEfYe635Za13bLCkz91KKnYaFpkuuXQHxk54ex5elUDGEzIT6V9Wmz6t8sc9jTNhGI6lKyEt98I2C+BATStKI9ETGscMo3EItmBAzgTTTLRd/cmpNlq5gMc3U4LShDSUbhav1I4qiVXipVB7XKqvYVBHosc4unCCDu0Qpgaq5nOv9kvcLpzMM0RJtm0zpObXjVSNQzQjx1m2vuxXeKE8ateWTE4P9eT3cTTNBeFG3Wcxe1szOxMKGovlItz2JZCXSz4FcCgv/k5Im6gazUrQMV7VFB01n/n+MraqydNFjm9AY001rHkuJTUPiu1fy0Zy0eQBZqoG1e0NA4NASYccqyIJeIfZdWXbJLN4+/LlaIDbOtOOaNjw3j+Coqbk6aUM7gBP4pCV+bGCwjcK5mjWq0ld/5cAe8=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DU2PR03MB8021.eurprd03.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(366007)(376005)(1800799015); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: 9Np2VHbADaiuwymDHR6M2FrziXjfg6ke/lZWTh746mMV52uSW3eDwbwql5avlvnf7bPZtffjvgviKab9fEqDqddBojwD+CJHlaSyY0U6wDymrdzZ9iueJhD7F9LiTo5CbFQ2+vH8xC962JZCC6vn9C0zGP+302HzCDdtGnaX357zkPB7Fd/02ZSfyUbFpqGKHT2LoMWsr4uxuwSq/7XLEm4O04HjEtULUrFx0fho8Yv4iXAOujg9XrJefqU7wRZn5kvknej9PpSwJj8lhTU+0MiaKDWNpiEx2+r4ZrRri9rhh1mhBEX0Jp4z3EoRGWj/meO5xJBEprYvqRIfRQGBaLKv+T9aYuIqYsqaWohaXxy25yq79u/iz/7eS2k1sliTVn19RVjsZDbxm3jg4MCXRT7F6tv5fMwDzEzjYrm1ReIZr5+9vRSW+KUToOlLagzVS7dMzA+B/ebh5n3ZcPkYoYSJfmAHmXwvdQjwJ+1WH+lLWs95DYjQ7EVFs6WxALs1pP1rxT5O3lycBACkn0Ix/fLiEmrOO2HOKhS6yEceE2etkNMeYUCOiDqTIV0ynDMzQ4vqZVhD3rhFuxUefgYisZ/qq0xlPBP04RSkxerIUmwJQ5k2HrrILjBZkjLIr+TCg07SQpPAgpFi+kOJ24TJyJIHJebxMbbmiSLgZkt4dC/a/k2vy8QM3xaqJOXQ2YNLTbmyy0CAYu7Ahyd4mXDophevOXdtpMLgQRSwtdxrvO41NGmvvKTenYLQB0bX32SNeb8BXiWN7Tik6AYdgddPF1Yz7nMGkVCOWI/hoLoS86z4AhCxBkCyhzKnR04q/qCSjN6u/bKaB6P2FoapqUXqf0+erU6fy/qcfq1M7zcpCNH1YKX86QZ9FhMVf1BEJzKyFuINuTGbFEb2qpddwDmV/ge1mehnKGN0yA8ikfQIrS1F6p4/z6LaxhPR0T4gVNz77mgbO1c1swVX0EAP4Cvm24341LItKdf+kxS4vhd50RMcdLZas2O2+jdsKCGFhFDnFspQf30TY33kl/pNk9VjnyCvBfNemeuLABBMMfU23SMVK5HbSjcZRyH9x0Z20QfNCVkzR4GgvhBej/p6JUT098Z389MzS9XRx0Dinpx67Ea/H3bQFwlBEQp9SyOEbhNq/+tw2fx+R0TmT+9QTrwsnbi7qMyz7/JkTzxbSUOqt18pb1HWN0R1ob2Nedm0D9K2SGcVYW0Pzk9UKUFEpauA+v9KiN+ksy/DAjUqs6pj1qlbrnhFypJB4UYvv0eVHHsTM5je1mWXg+g794sPI074Lanbb5TNpiKPVdTJBlLWTSofNewZMA8+2H1DbJEOXvhbYLrtE91nvkQXEVMRfchl46bXhdYZ9d2TczxEfDKoK57GkvkMnQurwelhJ92YpmfnPXgTkaEwiF0fzNvS9/bHO1VjLSnMg8ng//F0NwknLyGUfDEKpdiGJKAixUPOHGe8wM9D6fNGA2RvFNoEOMEu2I0oTot7o/kt3jGpVMmadhTpp+6ezJpK1/BSedTkaSWaCWOCRruppJMe3EopRG1PdczyjRmgby6sBktd6bS/wB2rkgytOHNn88gMjc9rPMCIMRJ37Nii6bbV4Jeeu8ZRz1iUl+Jnx+IxidcAIjNOnts8SLSANDOSaXT0SjhidJ+NbNOcMst7zhX4+iu5yQiILg==
Content-Type: multipart/alternative; boundary="_000_DU2PR03MB8021CBC316021894B3E5C59BFA3C2DU2PR03MB8021eurp_"
MIME-Version: 1.0
X-OriginatorOrg: liquid.tech
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: DU2PR03MB8021.eurprd03.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 8d6de97b-a0cf-4d69-fcd5-08dc54ccd5a3
X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Apr 2024 17:29:51.3759 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 68792612-0f0e-46cb-b16a-fcb82fd80cb1
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: EO2B7mRzD7Isaq0ZWvtI4Z+W29DvlumL+Uz6e2rF4jIMW4ZpfEVA/fSXYVcB3aicXmfQMezN0bkpG77hJluxFg==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR03MB7020
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/qEilod_A-QDrBPOMFcWCYkn1Vm8>
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: Thu, 04 Apr 2024 17:30:04 -0000

No - because doing that would result in on path adjustment of the DA - and the end point checksum would be invalid both on path and technically a point of origin if the box originating the packet was not aware that the address being pinged was a microsid

Andrew Alston


Internal All Employees

________________________________
From: jmh.direct <jmh.direct@joelhalpern.com>
Sent: Thursday, April 4, 2024 8:26:22 PM
To: Francois Clad <fclad.ietf@gmail.com>
Cc: SPRING WG List <spring@ietf.org>; Robert Raszuk <robert@raszuk.net>; Andrew Alston - IETF <andrew-ietf@liquid.tech>
Subject: Re: [spring] C-SIDs and upper layer checksums (draft-ietf-spring-srv6-srh-compression)

So you can't ping a uSID list by just specifying the uSID as the DA?
Yours,
Joel



Sent via the Samsung Galaxy S20 FE 5G, an AT&T 5G smartphone


-------- Original message --------
From: Francois Clad <fclad.ietf@gmail.com>
Date: 4/4/24 1:10 PM (GMT-05:00)
To: Joel Halpern <jmh.direct@joelhalpern.com>
Cc: SPRING WG List <spring@ietf.org>, Robert Raszuk <robert@raszuk.net>, Andrew Alston - IETF <andrew-ietf@liquid.tech>
Subject: Re: [spring] C-SIDs and upper layer checksums (draft-ietf-spring-srv6-srh-compression)

Hi Joel,

One can ping a SID of this document without a segment list by simply running the ping command with that SID as an argument (2nd paragraph of section 9.1).

To ping a SID of this document via a SID list, one needs to configure the originator node to impose that SID list, like any other SRv6 SID list.

Hope this helps.

Cheers,
Francois


On 4 Apr 2024 at 16:29:11, Joel Halpern <jmh.direct@joelhalpern.com<mailto:jmh.direct@joelhalpern.com>> wrote:

<No Hats>

It seems that the text you quote requires that the ping code or kernel code know that the user has specified a uSID for the ping DA.   Maybe I am missing something, but it is not obvious to me how that would be achieved?  And does seem to imply that an unmodified ping will get incompatible and unexpected results?

Yours,

Joel

On 4/4/2024 10:23 AM, Francois Clad wrote:
Hi Joel,

The ping behavior is described in section 9.1 of the draft (https://www.ietf.org/archive/id/draft-ietf-spring-srv6-srh-compression-14.html#section-9.1).

Specifically,
"When pinging a SID of this document via a segment list, the SR source node MUST construct the IPv6 packet as described in Section 6 and compute the ICMPv6 checksum as described in Section 6.5."

Please let me know if anything in this text is not clear.

Thanks,
Francois

On 4 Apr 2024 at 16:10:11, Joel Halpern <jmh.direct@joelhalpern.com<mailto:jmh.direct@joelhalpern.com>> wrote:

<No Hat>

Does this mean that if I have a source and destiantion host inside an SRv6 domain, and I am trying to verify a uSID path between them, so I issue the command ping <usUD-DA>, it will fail?  Given that we have documents describing the use of ping and traceroute with SRv6, shouldn't the comrpession document say someething about this?

Your,s

Joel

On 4/4/2024 9:59 AM, Francois Clad wrote:
Hi Andrew,

The originator (TX Linux box in your case) acting as an SR source node for C-SID must follow the entire Section 6 of draft-ietf-spring-srv6-srh-compression, including section 6.5 about the checksum calculation. One cannot expect it to work if it only implements half of it.

On the receive side, there is nothing special to do. The DA in the received IPv6 header is the one that was used for the checksum calculation.

I do not see anything broken.

Cheers,
Francois

On 4 Apr 2024 at 15:32:12, Andrew Alston - IETF <andrew-ietf@liquid.tech><mailto:andrew-ietf@liquid.tech> wrote:

So in investgiating this further, there is a further problem.



I’ve checked on 4 different linux boxes with 4 different network cards.



Linux by default offloads TX checksumming on a lot of network cards.  If you originate a packet with a microsid and no SRH – and the linux box offloads the checksum generation – the checksum generated by the NIC will be incorrect – and when the packet arrives at the end host – if that end host is running RX checksumming – the checksum will fail and the packet will be dropped.



If you disable TX checksumming – the kernel will have no way to tell if the packet is an Ipv6 or a microsid packet, it will therefore use the DA – and generate an incorrect checksum.  Again – if RX checksumming is enabled on the receiving end point – the packet will get dropped.



Effectively this does NOT just affect middle boxes – it effects anything generating a packet directed to a microsid that either offloads the tx to hardware (whichi will have no clue this is a microsid) or in the alternative is generating tx checksums itself via kernel mechanisms that will treat these packets as standard Ipv6 packets.



This is broken – severely broken.



Andrew




Internal All Employees

From: spring <spring-bounces@ietf.org<mailto:spring-bounces@ietf.org>> on behalf of Francois Clad <fclad.ietf@gmail.com<mailto:fclad.ietf@gmail.com>>
Date: Thursday, 4 April 2024 at 14:49
To: Joel Halpern <jmh.direct@joelhalpern.com<mailto:jmh.direct@joelhalpern.com>>
Cc: SPRING WG List <spring@ietf.org<mailto:spring@ietf.org>>, Robert Raszuk <robert@raszuk.net<mailto:robert@raszuk.net>>
Subject: Re: [spring] C-SIDs and upper layer checksums (draft-ietf-spring-srv6-srh-compression)


Some people who received this message don't often get email from fclad.ietf@gmail.com<mailto:fclad.ietf@gmail.com>. Learn why this is important<https://aka.ms/LearnAboutSenderIdentification>


CAUTION: This email has originated from a free email service commonly used for personal email services, please be guided accordingly especially if this email is asking to click links or share information.



Hi all,



Section 6.5 of draft-ietf-spring-srv6-srh-compression specifies how an SR source node originating a packet with an upper layer checksum determines the Destination Address for use in the IPv6 pseudo-header.



As a co-author, I’d say that the current text of 6.5 is good.



This text is aligned with RFC 8200. It only indicates how the text in Section 8.1 of RFC 8200 applies to the SIDs of draft-ietf-spring-srv6-srh-compression. This is necessary since RFC 8200 does not specify the format nor behavior of any source routing scheme.



Thanks,

Francois





On 4 Apr 2024 at 00:10:55, Joel Halpern <jmh.direct@joelhalpern.com<mailto:jmh.direct@joelhalpern.com>> wrote:

I can not speak to the "norm" for other working groups.  The SPRING charter is very specific about what we have to do if we want to change an underlying protocol.  We have to go back to the WG which owns that protocol.

6man gets to decide if the change is acceptable, and if it is acceptable how it is to be represented.  SPRINGs job is to make sure we are asking the question we intend.

Yours,

Joel

On 4/3/2024 6:05 PM, Robert Raszuk wrote:

Ok Joel,



Thank you for this clarification.



To me the actual spirit of RFC8200 8.1 is to say that it is ok to compute the checksum by the src such that it comes out right at the final destination.



But I guess we can have different opinions about that.



But what I find specifically surprising here is that it is a norm in IETF to have new specifications defining protocol extensions and their behaviour and never go back to the original protocol RFC to check if this is ok or not. If that would not be a normal process I bet we would still be using classful IPv4 routing all over the place.



Regards,

Robert





On Wed, Apr 3, 2024 at 11:28 PM Joel Halpern <jmh@joelhalpern.com<mailto:jmh@joelhalpern.com>> wrote:

The concern with regard to the text that the chairs are asking about is not about intermediate nodes verifying the checksum.  The text does not talk aabout that, so we are not asking about that.

But, the text in 8200 specifies how the originating node is to compute the upper layer checksum.  It doesn't say "do whatever you need to do to make the destination come out right".  It provides specific instructions.  Yes, it is understandable that those instructions do not cover the compressed container cases.  Which is why the compression document specifies changes to those procedures.

Thus, we need to ask 6man how they want to handle the change in the instructions in 8200.

the question we are asking SPRING is whether there is any clarification people want to the text in the compression draft before we send the question over to 6man.

Yours,

Joel

On 4/3/2024 5:15 PM, Robert Raszuk wrote:

Hi Joel,



My interpretation of text from RFC8200 is that it allows discrepancy between the header and the upper layer checksum as long as final packet's destination sees the correct one.



The last condition is met.



So I see no issue.



Sure RFC8200 does not talk about SRH nor cSIDs, but provides a hint on how to handle such future situations.



With that being said I would like to still understand what real problem are we hitting here ...



Kind regards,

Robert



On Wed, Apr 3, 2024 at 11:09 PM Joel Halpern <jmh@joelhalpern.com<mailto:jmh@joelhalpern.com>> wrote:

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.



_______________________________________________
spring mailing list
spring@ietf.org<mailto:spring@ietf.org>
https://www.ietf.org/mailman/listinfo/spring