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

Rakesh Gandhi <rgandhi.ietf@gmail.com> Tue, 23 August 2022 12:56 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 EE906C14CE32 for <ippm@ietfa.amsl.com>; Tue, 23 Aug 2022 05:56:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.104
X-Spam-Level:
X-Spam-Status: No, score=-2.104 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_NONE=-0.0001, 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 QDN4VDP9KFRn for <ippm@ietfa.amsl.com>; Tue, 23 Aug 2022 05:56:44 -0700 (PDT)
Received: from mail-lj1-x22c.google.com (mail-lj1-x22c.google.com [IPv6:2a00:1450:4864:20::22c]) (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 A887CC14F607 for <ippm@ietf.org>; Tue, 23 Aug 2022 05:56:44 -0700 (PDT)
Received: by mail-lj1-x22c.google.com with SMTP id l23so2376761lji.1 for <ippm@ietf.org>; Tue, 23 Aug 2022 05:56:44 -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=1qdxaRL6+mqWlLDZ1GCXd+ULxTaHDy6kU7vphyXDcW4=; b=kWJB51H/N0jgG4Dovzinv0/e8Sy9NqrimXmRr24TgCKz5R5khjHBKgB1h4Mi4Nn0a3 r7OLHKK1E5kC5NCC/uKxxenUHeQmAzd4hWPibqEtU2OxmrY/vXbNT2hjT0hlqB+6ui9S LTciqc+hEcxoRw5gM2X1CutIomuZXcK1vXvfGYeuoofjPZrLcwa11U+XYSqYwW+R3+ux LedY+41XYleZxs1NNs1DjMzqa7H0g6kqjvAhTh8iNihe+clunejE7tAPCnxPZbyWRqNl b/Tck6bRBva+V6fGIMW8R0fXFhOjiEYXu+RoP1EZSV1aXtxAhMMddjzHeF2+mUAbvnU+ HGDQ==
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=1qdxaRL6+mqWlLDZ1GCXd+ULxTaHDy6kU7vphyXDcW4=; b=WVqtlkwCdz6hTdIhFdJBHe9QWw88v3AbNZ7j1CNbfqUqV37HU9wjDev3mFvtmlkAPW B99J3IbW9DmJ0TarNOa1LwKcmVlEIP7cBKj7n/U50349lDCDknLoU9ULC7WYw8w3To6G p9wMT/BONuNt1Ba/uYdK6WJBvW+jpWnLhijB2ZB3ORHtnUUDeZ5a+eIUoxpCTv0XMACy RSAYzCuFOmRwGi0rHlV8eZOHf0BJ4Kjq3T6AYOVy8ARCA9mQqHQfHsuNEBK1EuQPQmu2 B+oD9TnABlVVijiG6FVDeQ8f/B/zQ8GqPCACOc5ezhjc6AgAsLouJ3WWRPIGXZw+I7gr xIaQ==
X-Gm-Message-State: ACgBeo18r+u3RxAFUiFlAjnprwrOhCuReidGQQLozUUkeG11iMHuWFaZ M3+mLwRd4aHK2Dz5tBYu72oSTRON26Vhez9zdICIMwjppw==
X-Google-Smtp-Source: AA6agR6l7Y9lpErv9T/gecyRDomgcgUcP/l0Px9zx97KQiYZs7MxCOI7Emv8oELCENjxDiCg08PVbBHeKwFkFuhhgnc=
X-Received: by 2002:a2e:934f:0:b0:250:a7bc:2b8f with SMTP id m15-20020a2e934f000000b00250a7bc2b8fmr7001628ljh.512.1661259402587; Tue, 23 Aug 2022 05:56:42 -0700 (PDT)
MIME-Version: 1.0
References: <MW4PR10MB58102C7491DAF6592117284DF46A9@MW4PR10MB5810.namprd10.prod.outlook.com>
In-Reply-To: <MW4PR10MB58102C7491DAF6592117284DF46A9@MW4PR10MB5810.namprd10.prod.outlook.com>
From: Rakesh Gandhi <rgandhi.ietf@gmail.com>
Date: Tue, 23 Aug 2022 08:56:30 -0400
Message-ID: <CAMZsk6c4m97C-g2Qu5jUzdrFMSjUASuGecQBpMYGyDzHjqBOeQ@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="00000000000092483d05e6e818df"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ippm/JnLsRYrQY4344E9uXLlu0W8DEh4>
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, 23 Aug 2022 12:56:49 -0000

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-

"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://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
>