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

Greg Mirsky <gregimirsky@gmail.com> Wed, 17 August 2022 19:32 UTC

Return-Path: <gregimirsky@gmail.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 D2E06C14CE33 for <ippm@ietfa.amsl.com>; Wed, 17 Aug 2022 12:32:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.103
X-Spam-Level:
X-Spam-Status: No, score=-2.103 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, 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=gmail.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 nlBrYQyLCy0h for <ippm@ietfa.amsl.com>; Wed, 17 Aug 2022 12:32:29 -0700 (PDT)
Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) (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 ADAFAC14F741 for <ippm@ietf.org>; Wed, 17 Aug 2022 12:32:06 -0700 (PDT)
Received: by mail-lf1-x133.google.com with SMTP id z25so20273681lfr.2 for <ippm@ietf.org>; Wed, 17 Aug 2022 12:32:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc; bh=6u/mQxOdIqjXZbItyaxKR7Oii/G1lgdB90gYBbWE5mU=; b=RVpmmJpjwFroCP0EIfoONTEeOVBN+06dyJMmKHfhxbFviQmV7V0vhWvAAxXvEl1rO7 p9wpWa9vdcR1hbmo52Zh32oU5FAsiJ4jvWA/aP7/e8hquaaZ/t6RJahdco9P3wxoxkr2 aOivXXoEo6G8uUAMjCAsUVrjwenADRD+Zfn+y2SU8wH+lzYLC1Tn/sgbxhVK8d3rIbSY o7LveHSUDlTh+zxMlajHvbI30nDuf20iuQkE9CKhCqQgTrXkOpMurI6Y+5xmLz48Pw2p lw+H0r7laCIERBHARYA+noam7sKPsEtvdzbApirLQfwm/JcaVhqzPAEr8hGbIJwefZHF s6bA==
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=6u/mQxOdIqjXZbItyaxKR7Oii/G1lgdB90gYBbWE5mU=; b=Ct/wI5ioyrtXyVRep7N/T9i0zGbQXGf3xZfUlOj6EjNZBImGdpS9ZYP9VcmL8Wh7CI 1zVAusiy2lWl2xhlORTBOldnEs7tqrDOS7s4jmWP21o72GSKinpEzk0y9eyWrXHYtyzi RmQtOa6KDfkqjd+EU3SDNkzDkVLG1baBYpKpWEhsJzqY4GRvXaiEpo7fXqO927rtxefD inIjH3QU8PljnTwAIy8eQoJHFnuaNTNV1ROoGC7i418sGqjIZ2fdco20v39VdoGqFro4 UWrO2ulaM+3HXu+CwIPZENwfB5EW7XTNKdlpwo/70tG+pQ6ajY/9Ld8D9IQHV+xw7vR0 lYKw==
X-Gm-Message-State: ACgBeo2DNgE7cTysvIXtowj/dBH51MvDEx2NJFJ971QMrC2Al9pwBXhc Sjwr8AfQIEiejBoYnCqPOBhaLe5pp0asVyJYZLCkS7W5
X-Google-Smtp-Source: AA6agR6rz5QWJE9ot1iIO82/uJpnCgZPpr5cuFlaDwdzung4rWN8QWzinVjAbPPQ8Sz8tvPzucyN5duy8NZ4RUCj69U=
X-Received: by 2002:a05:6512:228c:b0:48c:e97e:1036 with SMTP id f12-20020a056512228c00b0048ce97e1036mr8938088lfu.209.1660764724643; Wed, 17 Aug 2022 12:32:04 -0700 (PDT)
MIME-Version: 1.0
References: <MW4PR10MB58102C7491DAF6592117284DF46A9@MW4PR10MB5810.namprd10.prod.outlook.com>
In-Reply-To: <MW4PR10MB58102C7491DAF6592117284DF46A9@MW4PR10MB5810.namprd10.prod.outlook.com>
From: Greg Mirsky <gregimirsky@gmail.com>
Date: Wed, 17 Aug 2022 12:31:52 -0700
Message-ID: <CA+RyBmUOo0qCkNTMf5z12PsoCcZ0MDFWLAwWgp+-o_ygZC0NZA@mail.gmail.com>
To: "Ringel, Rick" <rick.ringel@spirent.com>
Cc: "ippm@ietf.org" <ippm@ietf.org>
Content-Type: multipart/related; boundary="00000000000077f49705e674ebd4"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ippm/hxZWNHkidAJL5IUuPBXtAUTlFoE>
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: Wed, 17 Aug 2022 19:32:32 -0000

Hi Rick,
thank you for your work on implementing RFC 8972 (I guess that also means
you have implemented RFC 8762). Please find my notes in-lined below under
the tag GIM>>.

Please keep the IPPM WG updated about the state of STAMP implementation and
share your questions and experiences.

Regards,
Greg


On Wed, Aug 17, 2022 at 9:40 AM Ringel, Rick <rick.ringel@spirent.com>
wrote:

>
>
>
>
> 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.
>
GIM>> The role of the Direct Measurement TLV is to collect "in-profile" Tx
and Rx counters. The definition of "in-profile" is outside the scope of RFC
8972. I can imagine that in some scenarios, STAMP test packets will be
accounted for as in-profile. But, as Tx and Rx counters are expected to be
outside the STAMP module and are per monitored flow, it seems like a STAMP
Session-Reflector that supports this extension will have access to those
values.

>
>
> 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.
>
GIM>> I think your idea of setting the Unrecognized flag is good.

>
>
> What should the reflector’s response be in this situation?
>
GIM>> Our expectation was that Tx and Rx counters are outside STAMP
application and are per monitored flow (as noted earlier). If that is the
case, we didn't expect that a STAMP Session-Reflector that supports the
extension will be unable to copy counter values in the reflected packet.

>
>
> 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.
>
GIM>> I need to think about that. Our intention was that a management
system would control/know the mode of each Session-Reflector system through
the use of the management plane derived based on the STAMP YANG data model
<https://datatracker.ietf.org/doc/draft-ietf-ippm-stamp-yang/>.

>
>
> 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
>
> [image: Spirent]
> <https://www.linkedin.com/company/spirent-communications/> [image:
> Spirent] <https://twitter.com/intent/user?screen_name=Spirent> [image:
> Spirent] <https://www.youtube.com/user/spirentvideos> [image: Spirent]
> <https://www.facebook.com/spirent>
> [image: Spirent] <http://www.spirent.com/>
>
> *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
>