RE: Re:Fw:New Version Notification for draft-xiao-6man-srv6-checksum-00.txt

Vasilenko Eduard <vasilenko.eduard@huawei.com> Mon, 23 May 2022 06:34 UTC

Return-Path: <vasilenko.eduard@huawei.com>
X-Original-To: ipv6@ietfa.amsl.com
Delivered-To: ipv6@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 07FAAC14F722 for <ipv6@ietfa.amsl.com>; Sun, 22 May 2022 23:34:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 tBzxKbYxNJy8 for <ipv6@ietfa.amsl.com>; Sun, 22 May 2022 23:34:38 -0700 (PDT)
Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 816C2C14F719 for <ipv6@ietf.org>; Sun, 22 May 2022 23:34:38 -0700 (PDT)
Received: from fraeml706-chm.china.huawei.com (unknown [172.18.147.206]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4L66s673q8z6802R for <ipv6@ietf.org>; Mon, 23 May 2022 14:30:34 +0800 (CST)
Received: from mscpeml500002.china.huawei.com (7.188.26.138) by fraeml706-chm.china.huawei.com (10.206.15.55) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2375.24; Mon, 23 May 2022 08:34:34 +0200
Received: from mscpeml500001.china.huawei.com (7.188.26.142) by mscpeml500002.china.huawei.com (7.188.26.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Mon, 23 May 2022 09:34:33 +0300
Received: from mscpeml500001.china.huawei.com ([7.188.26.142]) by mscpeml500001.china.huawei.com ([7.188.26.142]) with mapi id 15.01.2375.024; Mon, 23 May 2022 09:34:33 +0300
From: Vasilenko Eduard <vasilenko.eduard@huawei.com>
To: "xiao.min2@zte.com.cn" <xiao.min2@zte.com.cn>
CC: "ipv6@ietf.org" <ipv6@ietf.org>
Subject: RE: Re:Fw:New Version Notification for draft-xiao-6man-srv6-checksum-00.txt
Thread-Topic: Re:Fw:New Version Notification for draft-xiao-6man-srv6-checksum-00.txt
Thread-Index: AQHYayJ1SOlDRWLxxEKjfaoFWHP6Dq0lzSaggADsnICAANlAUIAD41iAgACP9ZA=
Date: Mon, 23 May 2022 06:34:33 +0000
Message-ID: <4323e33e90d74be5b87256b2476fa116@huawei.com>
References: 165292432480.6652.12273308108148780519@ietfa.amsl.com, 202205200833012845753@zte.com.cn, 05e21e3e94fe400dbc0711448fe773f7@huawei.com <202205230853036545341@zte.com.cn>
In-Reply-To: <202205230853036545341@zte.com.cn>
Accept-Language: zh-CN, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.81.191.32]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/yemkxKxLQT19k2uPWED7Qhacwhk>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.34
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ipv6/>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 23 May 2022 06:34:43 -0000

Hi Xiao,
You misunderstood me. I did not mean "one more 128-bit IPv6 address is inserted". I did not ask to insert anything additional.
I did mean that the last SID (whatever it may be, including End.DX6 SID) should be always uncompressed.
It is enough to keep RFC 8200 as it is.

The last SID is typically a service SID that should be 128bits anyway
Because function should be long (24-32bits) and argument is present.
It is not compressable anyway.
It is not a big restriction to standardize that it MUST not be compressed.

Moreover, by the Flag, you are asking the same: the last SID is uncompressed.

Eduard
-----Original Message-----
From: xiao.min2@zte.com.cn [mailto:xiao.min2@zte.com.cn] 
Sent: Monday, May 23, 2022 3:53 AM
To: Vasilenko Eduard <vasilenko.eduard@huawei.com>
Cc: ipv6@ietf.org
Subject: Re:Fw:New Version Notification for draft-xiao-6man-srv6-checksum-00.txt

Hi Eduard,

Please see inline...

Best Regards,
Xiao Min
------------------原始邮件------------------
发件人:VasilenkoEduard
收件人:肖敏10093570;
抄送人:ipv6@ietf.org;
日 期 :2022年05月20日 18:35
主 题 :RE: Re:Fw:New Version Notification for draft-xiao-6man-srv6-checksum-00.txt
Hi Xiao,
Could we change the solution to this way:
"if SRH is present then the last SID should be always 128bits"
Then no need to standardize anything new (no need for a flag).
[XM]>>> No, I don't think we can do just that way. For example, when we want to Ping a compressed End.DX6 SID, if one more 128-bit IPv6 address is inserted as the last SID, then the End.DX6 processing defined in RFC 8986 would be broken.

RFC 8200 is already talking about how to calculate checksum in this situation.
Eduard
-----Original Message-----
From: xiao.min2@zte.com.cn [mailto:xiao.min2@zte.com.cn]
Sent: Friday, May 20, 2022 3:33 AM
To: Vasilenko Eduard <vasilenko.eduard@huawei.com>
Cc: ipv6@ietf.org
Subject: Re:Fw:New Version Notification for draft-xiao-6man-srv6-checksum-00.txt
Hi Eduard,
Thanks for your review and good questions/comments.
Please see inline my responses with [XM]>>>.
Best Regards,
Xiao Min
------------------原始邮件------------------
发件人:VasilenkoEduard
收件人:肖敏10093570;ipv6@ietf.org;
日 期 :2022年05月19日 16:00
主 题 :RE: Fw:New Version Notification for draft-xiao-6man-srv6-checksum-00.txt
Hi Authors,
The essence of the solution is to demand that "the last element of the SRH MUST be set to an IPv6 address (all 128 bits) of the final destination".
Then it would be possible to calculate the upper layer protocols checksum "as before" (by RFC 8200 that already request to include routing header entry[0] instead of the DA).
[XM]>>> Yes, absolutely correct.
1. I do not see the need for the flag. If entry[0] is always 128bits then no problem executing RFC 8200 as it is.
[XM]>>> Yes, you're right. If there is no compressed SIDs introduced, no need for the flag.
2. It is a restriction imposed upon SRv6 architecture. The new policy is proposed: "the last SRH entry is always 128bit long (non-compressed)"
I support it - the last entry in the SRH should have a function (1M services = 20bits has been already stressed for pseudowires at some deployments) and an argument for the service. Hence, not compressible anyway.
But such things are better to discuss in SPRING.
[XM]>>> The restriction defined in this document won't affect data traffic that just traverses SRv6 domain, what it affects are mostly(if not all) packets originated from an SRv6 router.
3. You did mention in the problem statement that "NEXT-C-SID doesn't contain Routing header, more than one C-SIDs are included in IPv6 Destination Address".
Then your solution does not work. Such C-SID could not be 128bits long. Hence, it could make a big debate in SPRING.
Do you propose a flag to avoid a solution for "NEXT-C-SID" case?
Is your solution relevant only for "REPLACE-C-SID flavor"?
[XM]>>> No, the solution defined in this document resolves both "NEXT-C-SID" and "REPLACE-C-SID" cases. In section 3.2 it says "if   the IPv6 packet doesn't contain an SRH while the Destination Address field contains more than one compressed SID, an SRH MUST be added with C-flag set and Segment List[0] set to a 128-bit IPv6 address of the final destination."
4. I do not understand the need for this draft because SRv6 is a tunneling protocol (IPv6 inside IPv6 by RFC 2473).
Do we need to check at intermediate nodes the checksum for the inner IPv6 packet?
As I understand, SRv6 PE does not check checksum for the inner IPv6 packet when attaching an additional IPv6 header.
Why the current practice is bad?
[XM]>>> As I said above, this solution won't affect data traffic that just traverses SRv6 domain, what it affects are mostly(if not all) packets originated from an SRv6 router, e.g., ICMPv6 packets.
Eduard
-----Original Message-----
From: ipv6 [mailto:ipv6-bounces@ietf.org] On Behalf Of xiao.min2@zte.com.cn
Sent: Thursday, May 19, 2022 4:47 AM
To: ipv6@ietf.org
Subject: Fw:New Version Notification for draft-xiao-6man-srv6-checksum-00.txt
Hi all,
A new -00 individual draft has just been posted, the motivation is to provide a unified mechanism for SRv6 upper-layer checksum computation, whether SRv6 SIDs or SRv6 compressed SIDs are used.
Appreciate your review and comments.
Best Regards,
Xiao Min
------------------原始邮件------------------
发件人:internet-drafts@ietf.org
收件人:Chongfeng Xie;刘尧00165286;肖敏10093570;刘尧00165286;
日 期 :2022年05月19日 09:38
主 题 :New Version Notification for draft-xiao-6man-srv6-checksum-00.txt
A new version of I-D, draft-xiao-6man-srv6-checksum-00.txt
has been successfully submitted by Xiao Min and posted to the IETF repository.
Name:        draft-xiao-6man-srv6-checksum
Revision:    00
Title:        SRv6 Upper-Layer Checksum
Document date:    2022-05-18
Group:        Individual Submission
Pages:        8
URL:            https://www.ietf.org/archive/id/draft-xiao-6man-srv6-checksum-00.txt
Status:         https://datatracker.ietf.org/doc/draft-xiao-6man-srv6-checksum/
Htmlized:       https://datatracker.ietf.org/doc/html/draft-xiao-6man-srv6-checksum
Abstract:
This document provides a unified mechanism that makes the upper-layer checksum computation rule defined in IPv6 Specification applicable, whether SRv6 SIDs or SRv6 compressed SIDs are used.
The IETF Secretariat
--------------------------------------------------------------------
IETF IPv6 working group mailing list
ipv6@ietf.org
Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
--------------------------------------------------------------------