Re: draft-ietf-bfd-unaffiliated-echo WGLC and IPR check

Jeffrey Haas <jhaas@pfrc.org> Thu, 13 April 2023 20:13 UTC

Return-Path: <jhaas@pfrc.org>
X-Original-To: rtg-bfd@ietfa.amsl.com
Delivered-To: rtg-bfd@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 51CA9C1522D7; Thu, 13 Apr 2023 13:13:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.896
X-Spam-Level:
X-Spam-Status: No, score=-1.896 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
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 cXEKXklQyizU; Thu, 13 Apr 2023 13:13:41 -0700 (PDT)
Received: from slice.pfrc.org (slice.pfrc.org [67.207.130.108]) by ietfa.amsl.com (Postfix) with ESMTP id 7E7E2C1522C2; Thu, 13 Apr 2023 13:13:41 -0700 (PDT)
Received: from smtpclient.apple (104-10-90-238.lightspeed.livnmi.sbcglobal.net [104.10.90.238]) by slice.pfrc.org (Postfix) with ESMTPSA id 04F301E037; Thu, 13 Apr 2023 16:13:40 -0400 (EDT)
Content-Type: multipart/alternative; boundary="Apple-Mail=_DF734512-B78A-43BC-8EE0-1D9244DD4AD3"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.1\))
Subject: Re: draft-ietf-bfd-unaffiliated-echo WGLC and IPR check
From: Jeffrey Haas <jhaas@pfrc.org>
In-Reply-To: <CA+RyBmWN+6-m9p-GbHdS0MySwRjonYW43MPaZhh-K7FRVYL48w@mail.gmail.com>
Date: Thu, 13 Apr 2023 16:13:40 -0400
Cc: draft-ietf-bfd-unaffiliated-echo@ietf.org, rtg-bfd WG <rtg-bfd@ietf.org>
Message-Id: <9D4C734F-2D1A-4A2C-B452-0920B7101618@pfrc.org>
References: <E3E52D3E-1DEB-42B0-97D3-75B4A9904F00@pfrc.org> <CA+RyBmWRruoBteKxsXXX7UWJ4zo2C5ruyjS+XfA7-Cadt=juag@mail.gmail.com> <196C9D52-E144-4EFA-A25B-2453122DCB13@pfrc.org> <CA+RyBmWN+6-m9p-GbHdS0MySwRjonYW43MPaZhh-K7FRVYL48w@mail.gmail.com>
To: Greg Mirsky <gregimirsky@gmail.com>
X-Mailer: Apple Mail (2.3696.120.41.1.1)
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtg-bfd/XkF5sE1yeCAdcI0gGMh6mCrVrIc>
X-BeenThere: rtg-bfd@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: "RTG Area: Bidirectional Forwarding Detection DT" <rtg-bfd.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtg-bfd>, <mailto:rtg-bfd-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rtg-bfd/>
List-Post: <mailto:rtg-bfd@ietf.org>
List-Help: <mailto:rtg-bfd-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtg-bfd>, <mailto:rtg-bfd-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 13 Apr 2023 20:13:45 -0000

Greg,

In general, I think your clarifications are helpful.
The one point I have minor disagreement is "SHOULD be populated/initialized" ... to what?
One option is "an expected value".
Personally, I'd find "an expected value. A suggested value is ..." and use the defaults below.

That said,  I don't have a strong opinion that we must use some magic value.  My desire is that we avoid unset values being a potential vector for disclosure of uninitialized memory.

-- Jeff

> On Apr 12, 2023, at 4:10 PM, Greg Mirsky <gregimirsky@gmail.com> wrote:
> 
> Hi Jeff,
> thank you for your response. It seems to me that the values of these fields are implementation specific and don't impact interoperability. If that is correct, then I propose the following updates:
> OLD TEXT:
>    Within the BFD Unaffiliated Echo packet, the "Desired Min TX
>    Interval" and "Required Min RX Interval" defined in [RFC5880] SHOULD
>    be populated with a value of 1 second (1,000,000 microseconds).
>    These values, however, are ignored and not used to calculate the
>    Detection Time.
> NEW TEXT:
>    Within the BFD Unaffiliated Echo packet, the "Desired Min TX
>    Interval" and "Required Min RX Interval" defined in [RFC5880], SHOULD
>    be initialized before the transmission and MUST be ignored on receipt.
>    Furthermore, these values MUST NOT be used to calculate the
>    Detection Time.
> 
> OLD TEXT:
>    The "Required Min Echo RX Interval" defined in [RFC5880] MUST be set
>    to zero.  
> NEW TEXT:
>    The "Required Min Echo RX Interval" defined in [RFC5880] SHOULD be set
>    before the transmission and MUST be ignored upon receipt.  
> 
> Regards,
> Greg
> 
> 
> On Wed, Apr 12, 2023 at 8:00 AM Jeffrey Haas <jhaas@pfrc.org <mailto:jhaas@pfrc.org>> wrote:
> Greg,
> 
> Flipping the question around somewhat: 
> 
> These portions of the PDU will be serialized onto the wire.
> An implementation could choose values locally to help its own procedures.  Perhaps for heuristic tuning of the session.  So, there's argument for "these values are left to the implementation" - or as you note "this value is ignored".  
> 
> What text would YOU want to see present in this draft?
> 
> In the absence of an implementation having an opinion about the behavior for its own purposes, I believe we want some boring "expected" value minimally as implementation advice.  IMO, that's one step nicer than whatever memory noise is left from your allocated buffer that might disclose something unexpected from your implementation internals.  (See various virtualized host environment bugs relating to memory ownership.)
> 
> -- Jeff
> 
> 
> 
> 
>> On Apr 12, 2023, at 10:22 AM, Greg Mirsky <gregimirsky@gmail.com <mailto:gregimirsky@gmail.com>> wrote:
>> 
>> Dear, Authors and all,
>> my apologies for the belated comments. I greatly appreciate your consideration of the notes below:
>> Given that it is stated that the values of "Desired Min TX Interval" and "Required Min RX Interval" in an Unaffiliated BFD Echo message are ignored, what do you see as the value of using the normative language in:
>>    Within the BFD Unaffiliated Echo packet, the "Desired Min TX
>>    Interval" and "Required Min RX Interval" defined in [RFC5880] SHOULD
>>    be populated with a value of 1 second (1,000,000 microseconds).
>> As I understand it, the "Required Min Echo RX Interval" value is not used in the Unaffiliated BFD Echo. If that is the case, what do you see as the value of requiring it to be zeroed:
>>    The "Required Min Echo RX Interval" defined in [RFC5880] MUST be set
>>    to zero.  
>> Perhaps stating that the "Required Min Echo RX Interval" value is ignored in the Unaffiliated BFD Echo is sufficient. WDYT?
>> 
>> Regards,
>> Greg
>> 
>> On Mon, Apr 10, 2023 at 8:27 AM Jeffrey Haas <jhaas@pfrc.org <mailto:jhaas@pfrc.org>> wrote:
>> https://datatracker.ietf.org/doc/html/draft-ietf-bfd-unaffiliated-echo <https://datatracker.ietf.org/doc/html/draft-ietf-bfd-unaffiliated-echo>
>> 
>> Working Group,
>> 
>> The Working Group Last Call for draft-ietf-bfd-unaffiliated-echo has completed.  My judgment is that it has weak, but positive support to proceed to publication.  This isn't atypical of BFD work at this point in the BFD Working Group's life.  
>> 
>> The next steps for the document:
>> 
>> 1. Please continue to iterate through the issues raised during last call.  I will be summarizing them in the original WGLC thread.  I suspect we can reach conclusion for them shortly.
>> 
>> 2. Each of the authors needs to make an attestation as to whether they're aware of any additional IPR applicable to this document.  The rest of the Working Group, as per BCP 78/79[1] should also disclose of any applicable IPR if they're aware of it.
>> 
>> One thing that makes this document particularly interesting is that this work is covered partially under work done in BBF in TR-146.  This will be noted in the shepherd writeup.
>> 
>> 
>> -- Jeff
>> 
>> [1] https://www.rfc-editor.org/rfc/rfc8179.html#section-5.1 <https://www.rfc-editor.org/rfc/rfc8179.html#section-5.1>
>> 
>> 
>