Re: [ippm] RFC 8972, STAMP Optional Extensions Question, RFC 8762 stateless detection

xiao.min2@zte.com.cn Thu, 18 August 2022 01:56 UTC

Return-Path: <xiao.min2@zte.com.cn>
X-Original-To: ippm@ietfa.amsl.com
Delivered-To: ippm@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7BADAC14F733 for <ippm@ietfa.amsl.com>; Wed, 17 Aug 2022 18:56:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.907
X-Spam-Level:
X-Spam-Status: No, score=-0.907 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, CTE_8BIT_MISMATCH=0.998, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, UNPARSEABLE_RELAY=0.001, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=no 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 2BuFn-p7sxAS for <ippm@ietfa.amsl.com>; Wed, 17 Aug 2022 18:56:10 -0700 (PDT)
Received: from mxhk.zte.com.cn (mxhk.zte.com.cn [63.216.63.35]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9A6B3C14CF1F for <ippm@ietf.org>; Wed, 17 Aug 2022 18:56:10 -0700 (PDT)
Received: from mxct.zte.com.cn (unknown [192.168.251.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mxhk.zte.com.cn (FangMail) with ESMTPS id 4M7SfJ4ZtQz4xVnd for <ippm@ietf.org>; Thu, 18 Aug 2022 09:56:08 +0800 (CST)
Received: from mse-fl1.zte.com.cn (unknown [10.5.228.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mxct.zte.com.cn (FangMail) with ESMTPS id 4M7Sdk0HTvz4y0vX; Thu, 18 Aug 2022 09:55:38 +0800 (CST)
Received: from njxapp01.zte.com.cn ([10.41.132.200]) by mse-fl1.zte.com.cn with SMTP id 27I1t7sC074323; Thu, 18 Aug 2022 09:55:07 +0800 (GMT-8) (envelope-from xiao.min2@zte.com.cn)
Received: from mapi (njxapp04[null]) by mapi (Zmail) with MAPI id mid201; Thu, 18 Aug 2022 09:55:07 +0800 (CST)
Date: Thu, 18 Aug 2022 09:55:07 +0800
X-Zmail-TransId: 2afc62fd9bfb77384dd9
X-Mailer: Zmail v1.0
Message-ID: <202208180955072958792@zte.com.cn>
In-Reply-To: <MW4PR10MB58102C7491DAF6592117284DF46A9@MW4PR10MB5810.namprd10.prod.outlook.com>
References: MW4PR10MB58102C7491DAF6592117284DF46A9@MW4PR10MB5810.namprd10.prod.outlook.com
Mime-Version: 1.0
From: xiao.min2@zte.com.cn
To: rick.ringel@spirent.com
Cc: ippm@ietf.org
Content-Type: text/plain; charset="UTF-8"
X-MAIL: mse-fl1.zte.com.cn 27I1t7sC074323
X-Fangmail-Gw-Spam-Type: 0
X-FangMail-Miltered: at cgslv5.04-192.168.250.138.novalocal with ID 62FD9C38.000 by FangMail milter!
X-FangMail-Envelope: 1660787768/4M7SfJ4ZtQz4xVnd/62FD9C38.000/192.168.251.13/[192.168.251.13]/mxct.zte.com.cn/<xiao.min2@zte.com.cn>
X-Fangmail-Anti-Spam-Filtered: true
X-Fangmail-MID-QID: 62FD9C38.000/4M7SfJ4ZtQz4xVnd
Archived-At: <https://mailarchive.ietf.org/arch/msg/ippm/xuozNhDTder6XsY-fRRFq-zUC-A>
Subject: Re: [ippm] RFC 8972, STAMP Optional Extensions Question, RFC 8762 stateless detection
X-BeenThere: ippm@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: IETF IP Performance Metrics Working Group <ippm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ippm>, <mailto:ippm-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ippm/>
List-Post: <mailto:ippm@ietf.org>
List-Help: <mailto:ippm-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ippm>, <mailto:ippm-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 18 Aug 2022 01:56:14 -0000

Hi Rick,

Glad to know you're implementing STAMP.
As a proponent of STAMP and a co-author of RFC 8972 and draft-ietf-ippm-stamp-yang, I have some add-on to what Greg has responded.
Please see inline my responses with [XM]>>>. Hope it helps.

Best Regards,
Xiao Min
------------------Original------------------
From: Ringel,Rick <rick.ringel@spirent.com>
To: ippm@ietf.org <ippm@ietf.org>;
Date: 2022年08月18日 00:40
Subject: [ippm] RFC 8972, STAMP Optional Extensions Question, RFC 8762 stateless detection
_______________________________________________
ippm mailing list
ippm@ietf.org
https://www.ietf.org/mailman/listinfo/ippm
I’m working to implement the DirectMeasurement TLV as described in RFC 8972.  There is a scenario where the reflector cannot give a correct response, but the available TLV flags don’t allow the reflector to signal this to the sender.
A STAMP reflector can be started in stateless mode, in which case the reflector has no tx/rx counters to use in the DirectMeasurement TLV response.
[XM]>>> Note that in section 4 of RFC 8762 it says "only round-trip packet loss can be calculated while the reflector is operating in stateless mode".
I am currently setting the ‘Unrecognized’ flag so the sender doesn’t try to interpret the results, but this seems inconsistent with the intent of the flag.
What should the reflector’s response be in this situation?
[XM]>>> I expect that the behavior of the reflector in stateless mode is to remain the received counters as is and send them back to the sender.
I have played with algorithms on the sender side to determine if the reflector is stateful or stateless, as described in RFC 8762.  The best I have come up with is seeding the sender sequence number with a non-zero value on the first transmission.   If the reflector responds with a matching sequence number, it is stateless.  The sender can then inhibit transmission of the DirectMeasurement TLV.   Have I missed something in the RFC regarding the sender’s method for determining stateful/stateless reflectors?   The RFC says the sender sequence number should start at zero, so this is a bit of a hack.
[XM]>>> As you may know, a big difference between STAMP and TWAMP is that STAMP removes TWAMP-Control which achieves mode/parameter negotiation between the sender and reflector. The alternative to TWAMP-Control in STAMP is a centralized configuration on the sender and reflector, so I believe draft-ietf-ippm-stamp-yang can make sure the sender knows the stateless mode of the reflector.
I look forward to your response.
Rick Ringel
Senior Software Engineer
Rick.Ringel@spirent.com | www.spirent.com
5280 Corporate Drive, Suite A100, Frederick, MD 21703
Spirent Communications e-mail confidentiality.
This email and the information contained therein may contain private, confidential or privileged material solely meant for the intended recipient. If you are not the intended  recipient review, copying or distribution is forbidden. Further, if you are not the intended recipient, please contact the sender immediately and permanently delete this email and any copies or attachments.