Re: [ippm] RFC 8972, STAMP Optional Extensions Question, RFC 8762 stateless detection
xiao.min2@zte.com.cn Fri, 19 August 2022 00:44 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 7C500C1524DE for <ippm@ietfa.amsl.com>; Thu, 18 Aug 2022 17:44:45 -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 YGQ1gtpXlwrg for <ippm@ietfa.amsl.com>; Thu, 18 Aug 2022 17:44:41 -0700 (PDT)
Received: from mxhk.zte.com.cn (mxhk.zte.com.cn [63.216.63.40]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6260DC1524D1 for <ippm@ietf.org>; Thu, 18 Aug 2022 17:44:40 -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 4M831J6Lfsz8RV7G for <ippm@ietf.org>; Fri, 19 Aug 2022 08:44:36 +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 4M830k4QVKz4xq1t; Fri, 19 Aug 2022 08:44:06 +0800 (CST)
Received: from njxapp02.zte.com.cn ([10.41.132.201]) by mse-fl1.zte.com.cn with SMTP id 27J0i1KS013091; Fri, 19 Aug 2022 08:44:01 +0800 (GMT-8) (envelope-from xiao.min2@zte.com.cn)
Received: from mapi (njxapp04[null]) by mapi (Zmail) with MAPI id mid201; Fri, 19 Aug 2022 08:44:01 +0800 (CST)
Date: Fri, 19 Aug 2022 08:44:01 +0800
X-Zmail-TransId: 2afc62fedcd1712cf535
X-Mailer: Zmail v1.0
Message-ID: <202208190844013196131@zte.com.cn>
In-Reply-To: <CALhTbppVoYZ_o8pOCzto9A=-Yb2q2HFu+sMKchPTOT9L3YNDkw@mail.gmail.com>
References: MW4PR10MB58102C7491DAF6592117284DF46A9@MW4PR10MB5810.namprd10.prod.outlook.com, 202208180955072958792@zte.com.cn, CALhTbppVoYZ_o8pOCzto9A=-Yb2q2HFu+sMKchPTOT9L3YNDkw@mail.gmail.com
Mime-Version: 1.0
From: xiao.min2@zte.com.cn
To: hnydell@accedian.com
Cc: rick.ringel@spirent.com, ippm@ietf.org
Content-Type: text/plain; charset="UTF-8"
X-MAIL: mse-fl1.zte.com.cn 27J0i1KS013091
X-Fangmail-Gw-Spam-Type: 0
X-FangMail-Miltered: at cgslv5.04-192.168.250.137.novalocal with ID 62FEDCF4.000 by FangMail milter!
X-FangMail-Envelope: 1660869876/4M831J6Lfsz8RV7G/62FEDCF4.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: 62FEDCF4.000/4M831J6Lfsz8RV7G
Archived-At: <https://mailarchive.ietf.org/arch/msg/ippm/or9MmQ5v0zL7gCZTsYioM6VpcNs>
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: Fri, 19 Aug 2022 00:44:45 -0000
I agree with Henrik that's a practical method to discover the stateless/stateful mode of the reflector. Cheers, Xiao Min ------------------Original------------------ From: HenrikNydell <hnydell@accedian.com> To: 肖敏10093570; Cc: rick.ringel@spirent.com <rick.ringel@spirent.com>;IETF IPPM WG <ippm@ietf.org>; Date: 2022年08月18日 18:44 Subject: Re: [ippm] RFC 8972, STAMP Optional Extensions Question, RFC 8762 stateless detection Just a minor comment. It is easy for a TWAMP-light / STAMP sender to determine if the responder is a stateless or stateful one by sending a couple of packets with random sequence numbers. The TWAMP/STAMP replies will clearly tell if the reflector is stateless and merely copying received sequence number, or of it is stateful and generating a nice incremental sequence number on the return path. This maybe didnt address your initial question, but it at leasts helps a sender that for some reason is unaware of reflector capabilities, to probe for statefulness. On Thu, Aug 18, 2022 at 3:56 AM <xiao.min2@zte.com.cn> wrote: 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. _______________________________________________ ippm mailing list ippm@ietf.org https://www.ietf.org/mailman/listinfo/ippm -- Henrik Nydell Sr Product Manager 1.866.685.8181 hnydell@accedian.com accedian.com Avis de confidentialité Les informations contenues dans le présent message et dans toute pièce qui lui est jointe sont confidentielles et peuvent être protégées par le secret professionnel. Ces informations sont à l’usage exclusif de son ou de ses destinataires. Si vous recevez ce message par erreur, veuillez s’il vous plait communiquer immédiatement avec l’expéditeur et en détruire tout exemplaire. De plus, il vous est strictement interdit de le divulguer, de le distribuer ou de le reproduire sans l’autorisation de l’expéditeur. Merci. Confidentiality notice This e-mail message and any attachment hereto contain confidential information which may be privileged and which is intended for the exclusive use of its addressee(s). If you receive this message in error, please inform sender immediately and destroy any copy thereof. Furthermore, any disclosure, distribution or copying of this message and/or any attachment hereto without the consent of the sender is strictly prohibited. Thank you.
- [ippm] RFC 8972, STAMP Optional Extensions Questi… Ringel, Rick
- Re: [ippm] RFC 8972, STAMP Optional Extensions Qu… Greg Mirsky
- Re: [ippm] RFC 8972, STAMP Optional Extensions Qu… xiao.min2
- Re: [ippm] RFC 8972, STAMP Optional Extensions Qu… Henrik Nydell
- Re: [ippm] RFC 8972, STAMP Optional Extensions Qu… Ringel, Rick
- Re: [ippm] RFC 8972, STAMP Optional Extensions Qu… xiao.min2
- Re: [ippm] RFC 8972, STAMP Optional Extensions Qu… Rakesh Gandhi
- Re: [ippm] RFC 8972, STAMP Optional Extensions Qu… Ringel, Rick
- Re: [ippm] RFC 8972, STAMP Optional Extensions Qu… Rakesh Gandhi