Re: [ippm] RFC 8972, STAMP Optional Extensions Question, RFC 8762 stateless detection
Henrik Nydell <hnydell@accedian.com> Thu, 18 August 2022 10:44 UTC
Return-Path: <hnydell@accedian.com>
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 34DDBC1524AF for <ippm@ietfa.amsl.com>; Thu, 18 Aug 2022 03:44:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.095
X-Spam-Level:
X-Spam-Status: No, score=-2.095 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_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_REMOTE_IMAGE=0.01, T_SCC_BODY_TEXT_LINE=-0.01, 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=accedian.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 V9OxE3ToI_jX for <ippm@ietfa.amsl.com>; Thu, 18 Aug 2022 03:44:13 -0700 (PDT)
Received: from mail-yw1-x112a.google.com (mail-yw1-x112a.google.com [IPv6:2607:f8b0:4864:20::112a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D89D6C1522BC for <ippm@ietf.org>; Thu, 18 Aug 2022 03:44:13 -0700 (PDT)
Received: by mail-yw1-x112a.google.com with SMTP id 00721157ae682-333a4a5d495so29693627b3.10 for <ippm@ietf.org>; Thu, 18 Aug 2022 03:44:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=accedian.com; s=corp1; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc; bh=8YYO/n2XjgS2+WCiLZoT/35laI9vmgE3FhSIlolLmRY=; b=bVy0LOcMoi79MUU4fohPN9JT2ESU5o/yZYCjdiV0C7yYd4mrcPl14/5+4IvrHkLCEx gT3Js1501smVckZDys93zLWb3v8M2cW5sTARwqvOunJ9hG3AL74INAD3nh4oglON6+zh 9FoK+rmcFGVLykWBdg6mUnvfOducjv0XLU7U9DafEVf9RF8DVIMl5EK8tvcsrIiGW3So R9Y/jFOwigyiKNv1Xv5MJUsKXOhXzMREyyp7igfrrsVfmM/ayaCVtbbgzCXM2U1vFOoc d9+RsINBtb5sQDiD2alg9I3RBpE09isYY3qh/thMAqOpVzY/y9pq5drJD5k7R+bIEZli iabA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc; bh=8YYO/n2XjgS2+WCiLZoT/35laI9vmgE3FhSIlolLmRY=; b=OZJftbsNrVQG9okfsZ9pcGy9Z60QLXOSs9yiNnc7qmO8Zv6Ei/22fvBvUbRcFwkfym EImsXRPGhO6waUFu/1LvkJT+PSbvP9g/L9dsleK3gqU/pL/GWRYZE3SDjwVFbry/QLyi XxqEmJQx0IJKuUikoZk//JuU0f/OhkhXU7/7WZWhtTy01mtVUerlKNVQauYv65St3GLo 3PHB0iGpQUrCOMI3n/rlIK8QkU3ABU8Lyhix9vPy1HW9FTtERdS+YVmFnyq2NOzu8CrQ EHJnhrfeePnchTZsAzAqP9Qev7dewzB8qrPMleiQl6k8YW+Zn7/EwK4+aZtiDJsvR+KV sVQQ==
X-Gm-Message-State: ACgBeo0WS26ShjIgRAFJgM2rsX/86OGwIgOeZ3NtDfrhCDPSdXXEJgab n2RlcxZZj438slLdps0agkSBdxxpaBYb7gWv74MZbYCkx87GyC6/YgaqQy2H6roWNLwm1I5C78g DG/kOkfDCgA==
X-Google-Smtp-Source: AA6agR5Ng0+2wqpZotGRAcnFnCiH7+JJi5LR+8D0JLYgQVYSAIQx+aHqzvB6ehQBpmPknmd6Yl2k5mTIdI6RTwqJVLA=
X-Received: by 2002:a25:9b88:0:b0:66d:b166:a430 with SMTP id v8-20020a259b88000000b0066db166a430mr2283815ybo.80.1660819452569; Thu, 18 Aug 2022 03:44:12 -0700 (PDT)
MIME-Version: 1.0
References: <MW4PR10MB58102C7491DAF6592117284DF46A9@MW4PR10MB5810.namprd10.prod.outlook.com> <202208180955072958792@zte.com.cn>
In-Reply-To: <202208180955072958792@zte.com.cn>
From: Henrik Nydell <hnydell@accedian.com>
Date: Thu, 18 Aug 2022 12:43:57 +0200
Message-ID: <CALhTbppVoYZ_o8pOCzto9A=-Yb2q2HFu+sMKchPTOT9L3YNDkw@mail.gmail.com>
To: Xiao Min <xiao.min2@zte.com.cn>
Cc: rick.ringel@spirent.com, IETF IPPM WG <ippm@ietf.org>
Content-Type: multipart/alternative; boundary="00000000000081c76005e681a9fd"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ippm/u9ibXd57dYvgKanDb15jziLz4DA>
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 10:44:18 -0000
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 <http://accedian.com> <https://www.facebook.com/accedian/> <https://twitter.com/Accedian> <https://ca.linkedin.com/company/accedian> <http://www.accedian.com> *accedian.com <http://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