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

Rakesh Gandhi <rgandhi.ietf@gmail.com> Tue, 30 August 2022 12:58 UTC

Return-Path: <rgandhi.ietf@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 383FBC14CE37 for <ippm@ietfa.amsl.com>; Tue, 30 Aug 2022 05:58:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.005
X-Spam-Level:
X-Spam-Status: No, score=-2.005 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, HTTPS_HTTP_MISMATCH=0.1, RCVD_IN_DNSWL_NONE=-0.0001, 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 pwBZjbDiva8b for <ippm@ietfa.amsl.com>; Tue, 30 Aug 2022 05:58:40 -0700 (PDT)
Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) (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 20D22C14F738 for <ippm@ietf.org>; Tue, 30 Aug 2022 05:58:40 -0700 (PDT)
Received: by mail-lf1-x129.google.com with SMTP id v26so5173280lfd.10 for <ippm@ietf.org>; Tue, 30 Aug 2022 05:58:40 -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=fq26XwLisD7y1ql2DTPGXAjdRm8zNHmd/qded5YN24o=; b=kSjOnsQsCCIwxcY2kGPaAzRyq2/aa8yPIecsgfnLfxyEtql22TAenKLMYRZLusuMU8 z3fRpyh6Ho1zNTuvq9+zTgJerUiWUY/DnHlAJIbdiprywKB/W0SZewVMxI8JWboxglkp cZuS9H35Sdk/91blK1ZwQGsSAl4ycDIjXskgCQpFxADVgNvjlLFH0W6dvptHVX5HFh5a cO8a9AuH/FZbmOBHIKD2vphzGMi2ZSRq3cv6NtJ1ow38GoG/ilEcy/FCt7zSr/0xvLkl utD8PmY3/rmdVXkMVDLLoOg16BvTERIjekimPyVUE1iuJMu6ShoRls55KiQIiW0BKqUq h8zw==
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=fq26XwLisD7y1ql2DTPGXAjdRm8zNHmd/qded5YN24o=; b=GsdS3mDus2sRWSq0S0tt0HnxOvaTXTkgP7Lp1z3GyB11XHnx1YaN+qW/Hg0ixoXX5c sJ5KVhu2764o08H5YHvjFXVFQI9N3K322B4tO7CoJb72MURPAc8HiojlyCdu5zuvcSiA oxa2vwcttn2u9SDGn6W7Z5MsEVAYmBYGpx4SEZTR6kHvo1e+1vMuyeQgAGZpeIk6KwLj nGlKjQTgN6Lbj/fdhZp+qsB0ygQ0yHs7eoNbnWelwZ1YwOwP0xKx203G/bBPk8oRpz+U 6tNVej46748LWh05WW515luNiv9mBsOCeu2+s0m0WVLuDzpM/9RiyRWAme0CBi8thpbW Jq3g==
X-Gm-Message-State: ACgBeo36GP3StvE6NadrjynaRYGft8489GByVuBOLy31FnwvbTwXv8YY kj+JldyOd9iWiI6A5YJoSXw26Ft05mUfLTBZzg==
X-Google-Smtp-Source: AA6agR5teu6D+b1/xqrWF0t7kDhGi78NLJvJojbhsalOojdo6Pulag/yF1NtzZnJNYq6cgW/Gz/IyZMdPrrRlLK/Nzo=
X-Received: by 2002:a05:6512:1106:b0:494:7374:a05b with SMTP id l6-20020a056512110600b004947374a05bmr2061214lfg.432.1661864317388; Tue, 30 Aug 2022 05:58:37 -0700 (PDT)
MIME-Version: 1.0
References: <MW4PR10MB58102C7491DAF6592117284DF46A9@MW4PR10MB5810.namprd10.prod.outlook.com> <CAMZsk6c4m97C-g2Qu5jUzdrFMSjUASuGecQBpMYGyDzHjqBOeQ@mail.gmail.com> <MW4PR10MB5810ACE44CE1B2ACEACCBD22F4769@MW4PR10MB5810.namprd10.prod.outlook.com>
In-Reply-To: <MW4PR10MB5810ACE44CE1B2ACEACCBD22F4769@MW4PR10MB5810.namprd10.prod.outlook.com>
From: Rakesh Gandhi <rgandhi.ietf@gmail.com>
Date: Tue, 30 Aug 2022 08:58:26 -0400
Message-ID: <CAMZsk6ejE1W1iwnYsnFjFGBpkJ0-4bvP2XReM5+uPPngvuo+-g@mail.gmail.com>
To: "Ringel, Rick" <rick.ringel@spirent.com>
Cc: "ippm@ietf.org" <ippm@ietf.org>, "Foote, Footer (Nokia - CA)" <footer.foote@nokia.com>
Content-Type: multipart/related; boundary="0000000000004e96cc05e774f093"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ippm/Tor03Xi2CQtS_7tr3lqwC2qMor4>
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: Tue, 30 Aug 2022 12:58:44 -0000

Thanks Rick for your comments.
I will add the suggested text in the draft.

Regards,
Rakesh


On Mon, Aug 29, 2022 at 9:07 AM Ringel, Rick <rick.ringel@spirent.com>
wrote:

> Hey Rakesh,
>
>
>
> That new verification flag looks like a good choice.
>
> Perhaps the new wording could be more generic, such as “ the additional
> instruction or request for data in one of the TLVs was not followed.”
>
>
>
> Regards,
>
> Rick
>
>
>
> *From:* Rakesh Gandhi <rgandhi.ietf@gmail.com>
> *Sent:* Tuesday, August 23, 2022 8:57 AM
> *To:* Ringel, Rick <rick.ringel@spirent.com>
> *Cc:* ippm@ietf.org; Foote, Footer (Nokia - CA) <footer.foote@nokia.com>
> *Subject:* Re: [ippm] RFC 8972, STAMP Optional Extensions Question, RFC
> 8762 stateless detection
>
>
>
> [Warning] This email comes from an external source. Be careful of any
> embedded links and attachments.
>
> Hi Rick,
>
>
>
> One comment inline with <RG>..
>
>
>
> On Wed, Aug 17, 2022 at 12:40 PM 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.
>
>
>
> 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.
>
>
>
> <RG>
>
> V Flag defined (at bit position 3) in the following draft may be useful in
> this case.
>
>
> https://www.ietf.org/archive/id/draft-ietf-ippm-stamp-srpm-05.html#name-verification-check-flag-in-
> <https://urldefense.com/v3/__https:/www.ietf.org/archive/id/draft-ietf-ippm-stamp-srpm-05.html*name-verification-check-flag-in-__;Iw!!FxRPhOnl!9XFEcdGsitYEko4K9oX9KVmEfbul8g0Y7X_CUSJeYspadQ2cz_o0v7FoM1mTC4b_X6IKXyZO73d01MjdJ4_klyk$>
>
>
>
> "For example, Session-Reflector supports the TLV and it is well-formed,
> the STAMP test packet including all the TLVs was successfully processed but
> the additional instruction in one of the TLVs was not followed."
>
>
>
> If it makes sense, the draft can add some text to cover the stateless
> reflector for the direct measurement tlv case.
>
>
>
> Thanks,
>
> Rakesh
>
>
>
>
>
>
>
> What should the reflector’s response be in this situation?
>
>
>
> 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.
>
>
>
> 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://urldefense.com/v3/__https:/www.linkedin.com/company/spirent-communications/__;!!FxRPhOnl!9XFEcdGsitYEko4K9oX9KVmEfbul8g0Y7X_CUSJeYspadQ2cz_o0v7FoM1mTC4b_X6IKXyZO73d01MjdgJqkpOM$>
>  [image: Spirent]
> <https://urldefense.com/v3/__https:/twitter.com/intent/user?screen_name=Spirent__;!!FxRPhOnl!9XFEcdGsitYEko4K9oX9KVmEfbul8g0Y7X_CUSJeYspadQ2cz_o0v7FoM1mTC4b_X6IKXyZO73d01MjdBvBkLbs$>
>  [image: Spirent]
> <https://urldefense.com/v3/__https:/www.youtube.com/user/spirentvideos__;!!FxRPhOnl!9XFEcdGsitYEko4K9oX9KVmEfbul8g0Y7X_CUSJeYspadQ2cz_o0v7FoM1mTC4b_X6IKXyZO73d01Mjdb1l7-N4$>
>  [image: Spirent]
> <https://urldefense.com/v3/__https:/www.facebook.com/spirent__;!!FxRPhOnl!9XFEcdGsitYEko4K9oX9KVmEfbul8g0Y7X_CUSJeYspadQ2cz_o0v7FoM1mTC4b_X6IKXyZO73d01MjdENRhdb0$>
> [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
> <https://urldefense.com/v3/__https:/www.ietf.org/mailman/listinfo/ippm__;!!FxRPhOnl!9XFEcdGsitYEko4K9oX9KVmEfbul8g0Y7X_CUSJeYspadQ2cz_o0v7FoM1mTC4b_X6IKXyZO73d01MjdvfkMy_o$>
>
>