Re: [ippm] John Scudder's Discuss on draft-ietf-ippm-stamp-srpm-13: (with DISCUSS and COMMENT)

Rakesh Gandhi <rgandhi.ietf@gmail.com> Thu, 22 June 2023 22:12 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 ED7C3C14CEF9; Thu, 22 Jun 2023 15:12:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.095
X-Spam-Level:
X-Spam-Status: No, score=-7.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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-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 rETmcCINfZeB; Thu, 22 Jun 2023 15:12:26 -0700 (PDT)
Received: from mail-qv1-xf32.google.com (mail-qv1-xf32.google.com [IPv6:2607:f8b0:4864:20::f32]) (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 E2AE9C14CF12; Thu, 22 Jun 2023 15:12:25 -0700 (PDT)
Received: by mail-qv1-xf32.google.com with SMTP id 6a1803df08f44-62fd844ad58so60782726d6.2; Thu, 22 Jun 2023 15:12:25 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687471944; x=1690063944; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=2c8tK9rAjvDftz3ZfqyT6z+VyR+SzEJySmg7QMnIcWQ=; b=E0iAtNIr5WUAGeFCCo1Mx2/NI9I+pOY5WaVbpRjKG476EpSCqjgCjYXt7xuGsZNE8p hqRORnJ0CRzy4kDMBAfXvLqeA0K+DiI6bJgOas0tKu9Uri1RE/HHC1q32h843NlxtvbX I2aKGpkQ8BnmT25d5aS52socFsEqhYkxDwakj4ecfSveDSepRa1+Q600tYBkHH2F4eEl jKOMulQMOS8VxmzbyxonB7I3FdC2ev1AYw69Xamlwd69LxHf9+ztexsIXoc2FchTogp9 E3lQaS6k5F3qM9+AJ6gYQuEqkT2remfsYHffqbZwUNWJiMTLttyZMVepuSoeMSeX7Up/ D+mg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687471944; x=1690063944; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=2c8tK9rAjvDftz3ZfqyT6z+VyR+SzEJySmg7QMnIcWQ=; b=MxXyk7N740xcEAPot6j/MT6cB6XwE/CWHKqJh4p/MVEXg8Q81HaoHrSEY7VrTt/Cbc fevJJ9vRVHbHp9/wG1Q+zHOZ5Jr7s7Ycu7Bl281ENe1bX9V3J6T3AKOP1L2FSA9cZiQ7 mYoCSkUS+pEKUSUCCRzQsZazEyvmNecDSnqEbW4O34G9L+13HP4N02hq1sK4gAmBEjyZ N19PXW5PkByvBGn3K4MdnBFfnF8ELKhqWMdcU6N8+jrDIQwDxSYNsExt+acLKoPhlni+ K/+vdDFWBHI0WR9qATQFLl69zPorq8bjpmu+bMOR1w10pqjJgSWYPEczxNvqiuAOK730 7kdw==
X-Gm-Message-State: AC+VfDzumSZvg1b8UHjK+US1aOmsxMmWNsOPMBcuUi01By9gfmO+L1em I/Ja1uJvo7aeK9sKgfpZO45/2tm8kUG3Y7GkyNjMe68lezyQ
X-Google-Smtp-Source: ACHHUZ7GMbAlW0Jmyzb9LBluVMdqOlR3H2Wbh5dl64sqtILrMOfOePVUMr+I5xXXV1i8dblDMRt4hLEnaA95U7S67s4=
X-Received: by 2002:a05:6214:e8e:b0:626:1e4e:b5b7 with SMTP id hf14-20020a0562140e8e00b006261e4eb5b7mr24377113qvb.59.1687471944481; Thu, 22 Jun 2023 15:12:24 -0700 (PDT)
MIME-Version: 1.0
References: <168731098270.37773.17145318293014669303@ietfa.amsl.com> <CAMZsk6f5Vzt-z5R3yEJm33QbusS56J+LWPf-SHLVCUheqpPGxA@mail.gmail.com> <B8F8ADD5-5EE2-4EE0-8199-E33E545CB350@juniper.net> <CAMZsk6dKAsKDRSwbbMsA9AYQ8YZ7APCkd_du4s38+5MgzVMD_A@mail.gmail.com> <D9A6A862-61BF-431C-B88E-CA754B681CDE@juniper.net>
In-Reply-To: <D9A6A862-61BF-431C-B88E-CA754B681CDE@juniper.net>
From: Rakesh Gandhi <rgandhi.ietf@gmail.com>
Date: Thu, 22 Jun 2023 18:12:13 -0400
Message-ID: <CAMZsk6eFSYnWXxaK0YtcPFU8LgE8GAtps=_1dsx+bEyHSPZzJg@mail.gmail.com>
To: John Scudder <jgs@juniper.net>
Cc: The IESG <iesg@ietf.org>, "ippm-chairs@ietf.org" <ippm-chairs@ietf.org>, "draft-ietf-ippm-stamp-srpm@ietf.org" <draft-ietf-ippm-stamp-srpm@ietf.org>, "ippm@ietf.org" <ippm@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000d1c0d005febf2d60"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ippm/1ZdZXJhHCzWfJsem6viSYj-rmGg>
Subject: Re: [ippm] John Scudder's Discuss on draft-ietf-ippm-stamp-srpm-13: (with DISCUSS and COMMENT)
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, 22 Jun 2023 22:12:30 -0000

Thank you John for the review.
I have incorporated your suggestions in the following version:

URL:
https://www.ietf.org/archive/id/draft-ietf-ippm-stamp-srpm-15.txt
Html:
https://www.ietf.org/archive/id/draft-ietf-ippm-stamp-srpm-15.html
Diff:
https://author-tools.ietf.org/iddiff?url2=draft-ietf-ippm-stamp-srpm-15

Thanks for your help.

Regards,
Rakesh




On Thu, Jun 22, 2023 at 4:36 PM John Scudder <jgs@juniper.net> wrote:

> [snipped extraneous stuff]
>
> > On Jun 22, 2023, at 2:40 PM, Rakesh Gandhi <rgandhi.ietf@gmail.com>
> wrote:
> >
> > <RG> In the example, the DA in the STAMP Session-Sender test packet IPv4
> header (127.0.0.1) does not match the address of the Session-Reflector
> which is 1.1.1.2.
>
> We seem to be talking across each other. I guess maybe I am
> misunderstanding what you mean by “the Session-Reflector”. Surely, “the
> Session-Reflector” must mean a node functioning as a Session-Reflector?
> This is strongly implied by the name of the TLV, “Destination _Node_
> Address” (emphasis added). To repeat, any given IP node has many addresses
> (well, at least two, of which loopback will be one). So it doesn’t make
> sense to talk about “the” (singular) “address of the Session-Reflector”,
> and 127.0.0.1 most certainly is one address of the Session-Reflector node.
> Indeed, if it weren’t an address of every Session-Reflector node, the
> problem you illustrate wouldn’t exist.
>
> (In a previous version of this reply I went through a hair-splitting
> exercise where I tried to entertain the idea that “the Session-Reflector”
> means “a process on the node, which is bound to one and only one address”
> but that’s not a readily-supported interpretation, and it led me to a long
> and tortured chain of reasoning… which ended up at the same conclusion
> anyway.)
>
> If this is still unclear, it might be beneficial for us to schedule a
> short call to discuss further. But perhaps my OLD/NEW text below will help.
>
> > <RG> In the following example (without Destination Address TLV), if LSP
> or forwarding path is broken, the STAMP packet may be punted on an
> unintended Reflector node (let's say 1.1.1.9) and it will send a reply
> STAMP test packet. Such errors can not be easily detected.
> >
> > MPLS Header
> >      Label: 16001
> >      Label: 16002 [EOS]
> > IPv4 Header
> >      SA: 1.1.1.1
> >      DA: 127.0.0.1
> > UDP header
> > STAMP PAYLOAD
>
> Yes, I understand that. My point, again, is that your words say that
> 127.0.0.1 is not an address of the node. It ABSOLUTELY IS an address of
> essentially every IPv4 node in the universe.
>
> > <RG> Destination Address TLV carrying the intended Session-Reflector
> address of 1.1.1.2 helps detect this error. Using 1.1.1.2 then as the SA of
> the reply test packet is also good (instead of 127.0.0.1).
>
> I get that, too.
>
> > <RG> Does this use-case help? Will reply to the other comments below
> once we progress the above comment.
>
> I guess I will just jump ahead and outline some text that I *think* is
> right and that would address my concern.
>
> OLD:
>    The Session-Sender may need to transmit test packets to the Session-
>    Reflector with a destination address that is not matching the address
>    of the Session-Reflector e.g. when the STAMP test packet is
>    encapsulated by a tunneling protocol.  Examples are, STAMP test
>    packets encapsulated with an SR-MPLS Segment List and IPv4 header
>    containing destination IPv4 address from 127/8 range or STAMP test
>    packets encapsulated with outer IPv6 header and Segment Routing
>    Header (SRH) with inner IPv6 header containing IPv6 destination IPv6
>    address ::1/128.
>
>    In an ECMP environment, the hashing function in forwarding may decide
>    the outgoing path using the source address, destination address, UDP
>    ports, IPv6 flow-label, etc. from the packet.  Hence for IPv4, for
>    example, different values of IPv4 destination address from 127/8
>    range may be used in the IPv4 header of the STAMP test packets to
>    measure different ECMP paths.  For IPv6, for example, different
>    values of flow-label may be used in the IPv6 header of the STAMP test
>    packets to measure different ECMP paths.  In those cases, the STAMP
>    test packets may reach the node that is not the Session-Reflector for
>    this STAMP session in an error condition, and an un-intended node may
>    transmit reply test packet that can result in reporting of invalid
>    measurement metrics.
>
> NEW:
>    The Session-Sender may need to transmit test packets to the Session-
>    Reflector with a destination address that is not a routable (i.e.,
>    suitable for use as the Source Address of the reply test packet)
>    address of the Session-Reflector. This can be facilitated, for example,
>    by encapsulating the STAMP packet by a tunneling protocol, see <xref>
>    for a worked example.
>
> Then, if you wish, take the use case text I removed in my NEW version and
> use it as the basis of a Section 3.1 or Appendix A (the target of the xref
> I stubbed in above).
>
> It seems to me the following would be a good change as well:
>
> OLD:
>    The Destination Node Address TLV indicates an address of the intended
>    Session-Reflector node of the test packet.  The Destination Node
>    Address is also used to uniquely identify the STAMP session on the
>    Session-Reflector when the optional SSID is not sent.  If the
>    received Destination Node Address is one of the addresses of the
>    Session-Reflector, it SHOULD be used as the Source Address in the IP
>    header of the reply test packet.
>
> NEW:
>    The Destination Node Address TLV indicates an address of the intended
>    Session-Reflector node of the test packet.  If the received
>    Destination Node Address is one of the addresses of the
>    Session-Reflector, it SHOULD be used as the Source Address in the IP
>    header of the reply test packet.
>
>    If the Destination Node Address TLV is sent, the SSID TLV MUST also
>    be sent.
>
> This lets you get rid of the “is also used to” which muddies the water. I
> don’t insist on this, it’s just a suggestion, the old way isn’t broken,
> just weird (to me).
>
> —John
>