Re: [spring] [IPv6] Subject: Mandating SRH when using C-SIDs (draft-ietf-spring-srv6-srh-compression)

"Martin Vigoureux (Nokia)" <martin.vigoureux@nokia.com> Fri, 05 April 2024 15:12 UTC

Return-Path: <martin.vigoureux@nokia.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 23BB0C14F5F7 for <spring@ietfa.amsl.com>; Fri, 5 Apr 2024 08:12:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.176
X-Spam-Level:
X-Spam-Status: No, score=-7.176 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.08, 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_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_NONE=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=nokia.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 vfHi4tE8wH3D for <spring@ietfa.amsl.com>; Fri, 5 Apr 2024 08:12:42 -0700 (PDT)
Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2107.outbound.protection.outlook.com [40.107.22.107]) (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 9631BC14F5F5 for <spring@ietf.org>; Fri, 5 Apr 2024 08:12:42 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=m/1lpGrlDrJj7X3UtmwxZO4YNdgelEDrT6ufTwPqOwBB2vuAozMCmJ2r3bSEdWg6xo376HJ94p7enrGgRl81Zv4TdUOZa9RupEBizrbGSCyNiSIgv+haKujEH2Vl/ycxfpTeu6XRiatV5dPGKbInZc3F060SwBtC41wn1ayc3R0yeKK/dcOU9eGeCxBV6gARwqh8+EMY1sXfkR+pd+sOZ0+16pDuSF3Bhia2XOZlGF0qTe2Vk/sdwEOiRdImbGvBF088jZX40Wli38WKgoS8V06opEB39VAMSBTeHaavNu9SvpNbK/cpZ+92MWA2ZkK5tUmmJsEpHujQAD3UPevJxg==
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=gw11EozSW7SsEjZkgbakIzERWY/INBZYPwq14yugniw=; b=nnAPuzZaUlvctFKajQ4nQfWcFLoSmE4USWW2VeI+lI/AzqShbvtiDit1M++N5jrK6Wl6PZmn7JGYJsH0Q67wPYAKaYJL091Z3r1cdh7HL3ziG8s2F9RUUphx/SDvtwkGUJS8GMihTi3eZrqWvw14N99+mLZVBJ5TVp4rO+mvSBcKBWV1cqYtlN/FJEe2ZqdquwfrS0BAEUbacuEx0rcw36ybFTxfYJOpoVs1vE6yEmNYi/RyhZk25xG+oCT4xvSg2rM2Z1m498gXupUDEIghkN1iKUC4Hz6JtygMp/g6ytZE1oRpATCSyg3KI4tx7hHF9kN7t9oykdxc8KyOhMIW3w==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nokia.com; dmarc=pass action=none header.from=nokia.com; dkim=pass header.d=nokia.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nokia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=gw11EozSW7SsEjZkgbakIzERWY/INBZYPwq14yugniw=; b=CV8S/dEDKShKKg5odZXo+Viv5Jjo66BPVNER4RBKNuax99GKwFkEdW12AT/fhRAag3baPjzihdjsOVFdC7RsnXLbAvkyyy4PWrInEwJlVOsh6rC9iA0BEm9l7wxY4UMq5I9UmOWZgqkXc8imFPjnNPFZfmyS2Sbug+iwJFymu3S+ZL5WVUylx/ksy63yDClpxWdWb77YWIDOfkEmmTBv1H6lGho50Pj875pHUYY07kxpe4kttnr0DFzHyWjDC+mUY4LkLHT0eGBVwFy0Iry1VrNHqa2iKMKfrqgS08PX/yAcA81PuGca/D4erjiI8TMnjjyrYcqfRHEuRn+tEACmWw==
Received: from AM6PR07MB5560.eurprd07.prod.outlook.com (2603:10a6:20b:6f::22) by DB9PR07MB9990.eurprd07.prod.outlook.com (2603:10a6:10:4c6::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.46; Fri, 5 Apr 2024 15:12:40 +0000
Received: from AM6PR07MB5560.eurprd07.prod.outlook.com ([fe80::4bba:985b:ad:55e8]) by AM6PR07MB5560.eurprd07.prod.outlook.com ([fe80::4bba:985b:ad:55e8%3]) with mapi id 15.20.7409.042; Fri, 5 Apr 2024 15:12:39 +0000
Message-ID: <6080c0c8-682b-4a3c-a319-66ccd19235db@nokia.com>
Date: Fri, 05 Apr 2024 17:12:37 +0200
User-Agent: Mozilla Thunderbird
Content-Language: en-GB
To: spring@ietf.org
References: <CAMMESszUUdDw-xnDtZKqz75g6SXZ+7mXtZujBKwN+hxypC-Kuw@mail.gmail.com> <5dfe16dffc0b4717ba9d16e6ecb90d20@huawei.com> <CALx6S36-8hX1i9WoZiThQogQMOfZx_nM42hGd=cm6zs4LLHJqw@mail.gmail.com>
From: "Martin Vigoureux (Nokia)" <martin.vigoureux@nokia.com>
In-Reply-To: <CALx6S36-8hX1i9WoZiThQogQMOfZx_nM42hGd=cm6zs4LLHJqw@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
X-ClientProxiedBy: PA7P264CA0073.FRAP264.PROD.OUTLOOK.COM (2603:10a6:102:2de::10) To AM6PR07MB5560.eurprd07.prod.outlook.com (2603:10a6:20b:6f::22)
MIME-Version: 1.0
X-MS-PublicTrafficType: Email
X-MS-TrafficTypeDiagnostic: AM6PR07MB5560:EE_|DB9PR07MB9990:EE_
X-MS-Exchange-SenderADCheck: 1
X-MS-Exchange-AntiSpam-Relay: 0
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: zPg148fYnh2ghRUYQamt7NRwB6jHY6BwkIwBX+D5r9VPXch8qkg5LcT1eq1ILgDajSa+aUM8ht8TT0P6Hh4cPHPdyRVUF+rooue2ofCdkn7tYRrVHtLakEO7rWyoaBmYqfVKs4SRbNmiMhx8OFrI7AWKm+WtSHa1yrNIsCPk66H0WgyxIizSg8oiMYD/IAP6h/Jcgnk5zhddVJlIulTI0Sh1cedWSl/0YaZ9+IRNjt8hWBB1t8zVcdISs649+mF9QSM5j9T1tbdPOgS/1V0mE/pJsaNwkYEo4QAtcKUPeIfb/UK33TwCgxu8TCKKPhACydL4k54Bgjqrye0qp7OrxF2g2FJgc+NzdSeIfe4QjIc+ZC8TMx5C4eypbzU3iW+bP5hcTCXgwRcptpt/EC86Pk4NvhNbrKf+gXK+GJ+zJVka/901OQxNe1twT43kBK0bhUVMMpeL6/tPCUIdISPkGZp1kOCPbiJCZPZPhX1OfTvZtufAxlgI/uC192O3j1dceRjVG7YJ5YbfFV7fzt8FJ0NQ+MJKCUtnCzKjHkj1EH6BRRvnSRsZNgMpvkPf1tIgGLZjnRilGvUxxGz4JcdjsjJ5aoyGb6O/ecpctGD0B4p4Zldf+aF3R3H3yfFI7X3e
X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM6PR07MB5560.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(376005)(366007)(1800799015); DIR:OUT; SFP:1102;
X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-MessageData-0: R8P//V+t2LBcaY4NDxes17vlY+m+iJZDLIOkJGwgq3/IaX9GtV85JAhEBoPWIX7+xijwgEfa7mKMtDxLwhdUWzYlw7c2FBBa19Vz4BYJNgajb5YfYnRUSNNGlJ0dmOkCCA2HZlGgopXYbeBQtkcwtqaosZ7HpGQmH3JUy8XeZnNHdkYnBw6/HEvAi9H2IZ668E+oqKfZdwop6WFUG61o1HEmDnX76r8sLUAnTf5kyq97OXaSwbu1/mASERCnqZIlLOTmy13SEEklstLdkVjh0+XbSEDDcrtLR2COd9JkEXaeV4VzTEbuDkPGYajJWKG+D3KqMI1srVSb1HNn8JWej4Sq7LSeFTCm1qAO/dGX+a8W4eSumZ7MPjeq2K64X116amcOKnuz65ETBIJipprRdY5UlilkoTAHoNtI4e6RT53WhIObRSNy2kuUaJd3HgVV5grNigooXiWIjvnedNuDlWF0MpMEw+fRAWV78PBivS7bTeo3unIRfzchwo1S27rsRpBjNeyykKtK28CWoWB3qZ7Dy1EHe69ItFLKn99zvcSQaV76BHGAYJupIMNw0WAETpRpenQqDOSOikVWByBnracVx4IfGWCYGqkyYTkucAu72p8R4YK2I20tjQHfA/gQ/M728fywugtUX8m8YOI4gaV2wwrxmbClIlg4/BgUqskS5u8Y/IEVc15HVoaCNgQBaznf3Saw+52QGhyb4/qbpYeXnleBmMlrWEz3lIpPqpmia6l6yUiGjkPCvlrwLUN2Z+mtQI/paS3oBmYawbUtMvAYRb4RignFDzrFD62p26UMwSm89/GtkXEXOVlNNDx6zyUukTMZM5sF+2wXgfHSqFUXKn+seXigCfOsnBTHHgf4amcH4C+7DFgx8a03mauQhzJGnEG6FnRKa/4SwrAUrIIbMDGzYl9FK4D/NyIb9K0qYSSH+xlQNtbjbOm1nQ9SMrgjw11keyWOUa6RwOOVOx2c64vIDH6n6xO8WKMdjbpgClX1OSH2qT3U41qdaTxS8Y0M+qmjx9CxzwlWMWMHgvAgQkAxuTKD9Vs7SuBTsxgFQRN5UC/dbn9kOve9OcL0WGbLnA1KFuoAdJgTyZ6+ZFH/aOlT2tiPeutOvycdVT4IQlV4UxUyGhyQvOPDkCVKNme37wItCiz2AdrJj9c9yXmvjDsXwPNvktRw9MxTCrXdK5i7PfXPEq1sXBTixr5HwXWYMOlwLXTPF+xqaqaJu1A0zcq0gQKKXTyrlreKrJQOWE1mJOos316H0csmIH5cO+IpiMa6wW6AWDZtYiZ9K6Q0pjXqRFNZXY5VzNt52IKOEzorPBUsfnYleqk/UbLcgMRKPI890EA2mPbH3XuahayCWWv1lxbEiqO/3vzoR9muTQ+dLcNQyMvv504GQ9uCxUYWu9tCB4mt3rqiPKjZEfHuK7miFTgI8v89rdVpEAMQliGl3EC7mh0udd/lzT4Gn5jZIok8uUx1j5vb5LTBUe00VZpELu3tfzZAaka05y5ya0/6i9QF/i4mVArMJzyuY5c1IKktfw/L1vifYZIygmav0MlkARozk2nIjfQ2qIpTe7rJCfLT65zelV8l8NeSceAs06S1qraT8aIycZ30JLD9G5kA3lFys5TqWMcUEpmGedOz3E0lejUIVgpNEpKfSSlPHQgSc8OTOdF9Ks4HfA==
X-OriginatorOrg: nokia.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 26d34cb5-06bd-4198-ced7-08dc5582d566
X-MS-Exchange-CrossTenant-AuthSource: AM6PR07MB5560.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Apr 2024 15:12:39.6690 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: 5d471751-9675-428d-917b-70f44f9630b0
X-MS-Exchange-CrossTenant-MailboxType: HOSTED
X-MS-Exchange-CrossTenant-UserPrincipalName: rVENzrkzamnSmZNnjAKT809n14UJAygnrqlY3UY5FqlM0vsckHzZma69Y7Q+vlWr1yEcHqftBA7LG2hvCQql/6gzVtlKJhQZFhfXw4koF/0=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR07MB9990
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/-c8UYwGS1z0nd3vlK-5cXlt9xQ8>
Subject: Re: [spring] [IPv6] Subject: Mandating SRH when using C-SIDs (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: Fri, 05 Apr 2024 15:12:47 -0000


Le 2024-04-05 à 16:30, Tom Herbert a écrit :
> 	
> CAUTION:This is an external email. Please be very careful when clicking 
> links or opening attachments. See the URL nok.it/ext for additional 
> information.
> 
> 
> 
> On Fri, Apr 5, 2024, 8:53 AM Antoine FRESSANCOURT 
> <antoine.fressancourt=40huawei.com@dmarc.ietf.org 
> <mailto:40huawei.com@dmarc.ietf.org>> wrote:
> 
>     Hello,
> 
>     After reading RFC 8754 and RFC 8986 together with the draft (version
>     14), it seems to me that the cases when the SRH will be omitted are
>     quite limited, and will happen among nodes sharing the same locator
>     block. We can assume that, in such cases, nodes exchanging packets
>     carrying a C-SID without SRH will be managed by a single entity and
>     that this entity can check whether some middlebox infer with packet
>     relaying.
> 
> 
> Antoine,
> 
> If it's such a limited use case then I have to ask if it's worth the 
> effort to make this a robust protocol? All we really need is a 
> deterministic way to distinguish SR packets from non-SR packets, which 
> could be accomplished by a minimum sized eight byte SRH. In other words, 
> it seems like this discussion is only about saving eight bytes on the 
> wire for a narrow use case.

Tom

considering an earlier message from Francois:

---
Specifically for the case of middleboxes attempting to verify the 
upper-layer checksum,

     An SRv6-unaware middlebox will not be able to verify the 
upper-layer checksum of SRv6 packets in flight, regardless of whether an 
SRH is present or not.
     An SRv6 and C-SID aware middlebox will be able to find the ultimate 
DA and verify the upper-layer checksum in flight, regardless of whether 
an SRH is present or not.
---

I'm not sure to understand the value of an SRH to distinguish SR packets 
from non-SR packets.

-m


> 
> Tom
> 
> 
> 
>     Then we could modify the text to mention that, if such an inference
>     is detected, the packet should use a SRH. In my view, being clear
>     about potential issue related with omitting the SRH and giving an
>     alternative is enough, and gives some freedom to people willing to
>     use C-SID without SRH in their context.
> 
>     Best regards,
> 
>     Antoine Fressancourt
> 
>     -----Original Message-----
>     From: spring <spring-bounces@ietf.org
>     <mailto:spring-bounces@ietf.org>> On Behalf Of Alvaro Retana
>     Sent: jeudi 28 mars 2024 13:06
>     To: SPRING WG List <spring@ietf.org <mailto:spring@ietf.org>>
>     Cc: 6man <ipv6@ietf.org <mailto:ipv6@ietf.org>>;
>     spring-chairs@ietf.org <mailto:spring-chairs@ietf.org>
>     Subject: [spring] Subject: Mandating SRH when using C-SIDs
>     (draft-ietf-spring-srv6-srh-compression)
> 
>     Focusing on the C-SID draft, some have suggested requiring the
>     presence of the SRH whenever C-SIDs are used. Please discuss whether
>     that is the desired behavior (or not) -- please be specific when
>     debating the benefits or consequences of either behavior.
> 
>     Please keep the related (but independent) discussion of requiring
>     the SRH whenever SRv6 is used separate. This larger topic may impact
>     several documents and is better handled in a different thread (with
>     6man and spring included).
> 
>     Thanks!
> 
>     Alvaro
>     -- for spring-chairs
> 
>     _______________________________________________
>     spring mailing list
>     spring@ietf.org <mailto:spring@ietf.org>
>     https://www.ietf.org/mailman/listinfo/spring
>     <https://www.ietf.org/mailman/listinfo/spring>
> 
>     --------------------------------------------------------------------
>     IETF IPv6 working group mailing list
>     ipv6@ietf.org <mailto:ipv6@ietf.org>
>     Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
>     <https://www.ietf.org/mailman/listinfo/ipv6>
>     --------------------------------------------------------------------
> 
> 
> _______________________________________________
> spring mailing list
> spring@ietf.org
> https://www.ietf.org/mailman/listinfo/spring