Re: [dnssd] WGLC for draft-ietf-dnssd-update-lease

Kangping Dong <wgtdkp@google.com> Mon, 22 August 2022 03:58 UTC

Return-Path: <wgtdkp@google.com>
X-Original-To: dnssd@ietfa.amsl.com
Delivered-To: dnssd@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F01DCC1524BA for <dnssd@ietfa.amsl.com>; Sun, 21 Aug 2022 20:58:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -15.609
X-Spam-Level:
X-Spam-Status: No, score=-15.609 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, HK_RANDOM_ENVFROM=0.998, HK_RANDOM_FROM=0.998, 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, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 WIzJKSop7kxN for <dnssd@ietfa.amsl.com>; Sun, 21 Aug 2022 20:58:11 -0700 (PDT)
Received: from mail-vk1-xa2b.google.com (mail-vk1-xa2b.google.com [IPv6:2607:f8b0:4864:20::a2b]) (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 480D8C14F724 for <dnssd@ietf.org>; Sun, 21 Aug 2022 20:58:11 -0700 (PDT)
Received: by mail-vk1-xa2b.google.com with SMTP id t64so4926450vkb.12 for <dnssd@ietf.org>; Sun, 21 Aug 2022 20:58:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc; bh=1EPd5Xt7E2L8PmDxCx+ACN778stn59/Q+dxCgwybBeU=; b=AhlKd7qJAE6LPtcWcPgjvC7DEsLIaZfYBLv4f73C94n3WPy0SO3Ep9THgblFbefAa4 clXP/OG915SlQ5N5931cl9/Xauw4jtwZDBpgQuvcFy568LizlQrYIBQflCxTnRnCVOwI Oqyp4FkFZyoZbwb+SLdqBaCmMDMAMChY4/79JBQMfyNJTolI4aiQSO05DiKd0iYBJ4sq wD7jsyN5azLXhmq/uwij9jpUJxrVR2OP+OwLnvb/J+ol9s5SPmCw3Fsza93gJlMcUnxT jMwz/F8rvHwPVeYVathFeFLHmFDjYqCjKrQUr+/SGucCDwVEaBOgclBmd4W96v2ligvj x9uw==
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=1EPd5Xt7E2L8PmDxCx+ACN778stn59/Q+dxCgwybBeU=; b=TYpIn/PYbntrzsRl5b8mgrdVYhYxY04nCpa5/ut2RTDEPlnIukT0YVHQM6/ecNTJ2Q iPXkUbpmyCTDaGuyLw7KGCvZtyBhFd39VbjICBORa3gqCOHkytCekC1wjzZIMKLKPR7L F44S7ZCPQbY/j3IewRBrxzucCccYuYrHbhjrCB0/jfWj2zZ3+JzJ7v9hEXRxi7I5yekX M5bjjea7LFkC4drST5ZinsSZcPMpp0NovW8TqQw8P5OzNk+uQD07sJWCx9tm6QCuueh8 vuvFdYgnFjedRPDwsIeGIBMDTekXrogA2mpOXyLWApM42JE64OOM30yLyif/cSMJrfza j9og==
X-Gm-Message-State: ACgBeo3gRrmiTJCaJR8gjcNjjea6IH1kGEt6qd6PEwlr1TESsMO+eRnx +b63lZSbndQgXhCk41ZQoyu1FdZNyhTjpYbSpUDRtA==
X-Google-Smtp-Source: AA6agR6OOLdp8AEhfxULDZGkWuqfFRIKLPOQe12YhRAsSPfakF6Xv1F4hmgNubp3FlxeY//EplZ8VkoHQoH6NsSWzIM=
X-Received: by 2002:a1f:2e89:0:b0:376:e92c:6dea with SMTP id u131-20020a1f2e89000000b00376e92c6deamr6890809vku.9.1661140690001; Sun, 21 Aug 2022 20:58:10 -0700 (PDT)
MIME-Version: 1.0
References: <CAPDSy+60hp4P2PKzkkwoP+fqG5ECrNAN_Wqzjkx8Gz6N2Ljdkg@mail.gmail.com> <DU0P190MB1978D98964F8B3CA948C4804FD6C9@DU0P190MB1978.EURP190.PROD.OUTLOOK.COM> <SG2PR02MB3782BCAF7BEEDBFA3415F42AC06F9@SG2PR02MB3782.apcprd02.prod.outlook.com> <8e0deeafc3ab4161967cc997e03bb7fa@infineon.com> <4d7601d8b5d5$7dadbff0$79093fd0$@yahoo.com>
In-Reply-To: <4d7601d8b5d5$7dadbff0$79093fd0$@yahoo.com>
From: Kangping Dong <wgtdkp@google.com>
Date: Mon, 22 Aug 2022 11:57:33 +0800
Message-ID: <CAJ5Rr7YWCv=mpPfxpnMjik6mN9mYCCmPxf8_9TKORYNqH6eNNA@mail.gmail.com>
To: g_e_montenegro=40yahoo.com@dmarc.ietf.org
Cc: Steve.Hanna@infineon.com, nathan@nanoleaf.me, Esko Dijk <esko.dijk@iotconsultancy.nl>, dschinazi.ietf@gmail.com, DNSSD <dnssd@ietf.org>, Ted Lemon <mellon@fugue.com>
Content-Type: multipart/alternative; boundary="000000000000c04c7d05e6cc740a"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnssd/_h1usjE1GZj5RguPMUZC0Dzc9VE>
Subject: Re: [dnssd] WGLC for draft-ietf-dnssd-update-lease
X-BeenThere: dnssd@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: "Discussion of extensions to DNS-based service discovery for routed networks." <dnssd.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dnssd>, <mailto:dnssd-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dnssd/>
List-Post: <mailto:dnssd@ietf.org>
List-Help: <mailto:dnssd-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dnssd>, <mailto:dnssd-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 22 Aug 2022 03:58:15 -0000

I have reviewed this document and I think it's ready to publish.

Just a small suggestion:
We mentioned how servers should handle lease requests in section-4
<https://datatracker.ietf.org/doc/html/draft-sekar-dns-ul-03#section-4> and
section-5.3
<https://datatracker.ietf.org/doc/html/draft-sekar-dns-ul-03#section-5.3> with
a response including the granted lease(s),
but it doesn't say how the client should handle the lease response. IIUC,
the client should reset its refresh timer to be fired LEASE_RESPONSED
seconds later, but implementers may hesitate in below cases for what lease
time they should use for new update messages: If the server returns a
shorter lease, should the client use the shorter lease even if it's a
battery-backed device and wants to save power?

Requiring the client to always respect the server responses works for me,
but we probably want to make client behavior clear to make section-5.3
complete :)



BRs,
Kangping

On Mon, Aug 22, 2022 at 11:16 AM <g_e_montenegro=40yahoo.com@dmarc.ietf.org>
wrote:

> Hi folks,
>
>
>
> I have read the Update document and I believe it is ready to advance to
> the IESG.
>
>
>
> Thanks to Stuart and Ted for all the work so far!
>
>
>
> Gabriel
>
>
>
> *From:* dnssd <dnssd-bounces@ietf.org> *On Behalf Of *
> Steve.Hanna@infineon.com
> *Sent:* Saturday, August 20, 2022 11:32
> *To:* nathan@nanoleaf.me; esko.dijk@iotconsultancy.nl;
> dschinazi.ietf@gmail.com; dnssd@ietf.org
> *Cc:* mellon@fugue.com
> *Subject:* Re: [dnssd] WGLC for draft-ietf-dnssd-update-lease
>
>
>
> I have also reviewed this document in detail and consider it valuable and
> ready to publish.
>
>
>
> I did notice one typo and one minor grammar issue.
>
>
>
> The last line of section 5.2 (just before 5.2.1) includes the word
> “initil”. That should be “initial”.
>
>
>
> Section 9 (Acknowledgments) includes this sentence:
>
>    Thanks to Marc Krochmal and Kiren Sekar to their work in 2006 on the
> precursor to this document.
>
> I believe this should be “for their work” not “to their work”.
>
>
>
> Thanks,
>
>
>
> Steve
>
>
>
> *From:* dnssd <dnssd-bounces@ietf.org> *On Behalf Of *Nathan Dyck
> *Sent:* Saturday, August 20, 2022 10:50 AM
> *To:* Esko Dijk <esko.dijk@iotconsultancy.nl>; David Schinazi <
> dschinazi.ietf@gmail.com>; DNSSD <dnssd@ietf.org>
> *Cc:* Ted Lemon <mellon@fugue.com>
> *Subject:* Re: [dnssd] WGLC for draft-ietf-dnssd-update-lease
>
>
>
> *Caution*: This e-mail originated outside Infineon Technologies. Do not
> click on links or open attachments unless you validate it is safe
> <https://intranet-content.infineon.com/explore/aboutinfineon/rules/informationsecurity/ug/SocialEngineering/Pages/SocialEngineeringElements_en.aspx>
> .
>
>
>
> I’ve reviewed. Looks good to publish
>
>
>
> Nathan
>
>
>
> -
>
> Nathan Dyck
>
> Chief Product Officer
>
> The Nanoleaf Team
>
> e: nathan@nanoleaf.me | c: 289-242-0016
>
>
>
> Sent from Mobile
> ------------------------------
>
> *From:* dnssd <dnssd-bounces@ietf.org> on behalf of Esko Dijk <
> esko.dijk@iotconsultancy.nl>
> *Sent:* Friday, August 19, 2022 8:17:22 AM
> *To:* David Schinazi <dschinazi.ietf@gmail.com>; DNSSD <dnssd@ietf.org>
> *Cc:* Ted Lemon <mellon@fugue.com>
> *Subject:* Re: [dnssd] WGLC for draft-ietf-dnssd-update-lease
>
>
>
> Hi all,
>
>
>
> I reviewed this document in detail and have only 1 open (technical) issue
> on it, see below.   This is followed by a few minor review comments.
>
> Based on this, I believe the option is quite useful, and the document is
> ready for publication after the open technical issue is resolved by the WG.
>
>
>
> Best regards
>
> Esko
>
>
>
> --- Open issue
>
> 4.2
>
> Based on the stated requirements in 4, a server developer could assume the
> following scenarios are okay:
>
>    - requester sends the basic Option (lease time only), and the server
>    responds with the extended Option (lease / key-lease separately)
>    - requester sends extended Option and the server responds basic Option.
>
> A client developer could assume based on the same text that one or both of
> these scenarios are not okay / prohibited.
>
>
>
> To guarantee interoperability for such cases, we need to say in 4.2 either
> that a server MAY do this, or alternatively that a server MUST NOT do this
> responding with a different option format.  It could be even a rule that
> the server can “lengthen” the Option but not “shorten” it.
>
>
>
> I don’t have a preference on the solution chosen as long as we pick
> something.  Noting that for the client’s point of view, if the server
> always responds with the same Option Format it is simpler to implement.
>
> On the other hand this reduces the flexibility of the server – e.g.
> suppose the client asks for 1 week lease (short Option format) and the
> server can only grant 27 hours LEASE but can grant 2 weeks KEY-LEASE – then
> the server would like to respond with the extended Option format.
>
>
>
>
>
> ---- Minor review comments
>
>
>
> General
>
> EDNS0 vs EDNS(0) – is there a reason for the different spellings?
>
>
>
> 5.1
>
> “The LEASE interval indicated in the Update Lease option applies to all
> resource
>
>    records in the Update section, except that … ”
>
> -> “in the Update section” may be unclear here. There’s an Update section
> in the request, but is there also one in the Response (I assume not
> necessarily )?
>
> -> Easiest here would be to say maybe:
>
> “The LEASE interval indicated in the Update Lease option applies to all
> resource
>
>    records in the Update section of the Refresh request, except that … ”
>
>
>
> 5.2
>
> “A requestor that intends that its records from a previous update,
>
>    whether an initial update or a Refresh, MUST send a Refresh message”
>
> -> grammar error in sentence -that intends what? E.g. is it
>
> -> “A requestor that intends that its records from a previous update,
>
>    whether an initial update or a Refresh, *remain*  *active* MUST send a
> Refresh message”
>
>
>
>
>
>
>
> *From:* dnssd <dnssd-bounces@ietf.org> *On Behalf Of *David Schinazi
> *Sent:* Tuesday, August 9, 2022 00:45
> *To:* DNSSD <dnssd@ietf.org>
> *Subject:* [dnssd] WGLC for draft-ietf-dnssd-update-lease
>
>
>
> Hi DNSSD enthusiasts,
>
>
>
> As promised during our meeting at IETF 114 two weeks ago, we are starting
> a Working Group Last Call (WGLC) for draft-ietf-dnssd-update-lease. As a
> reminder of our timeline, this document was adopted by the DNSSD WG in
> September 2021, folks made comments during that adoption call, and those
> comments were addressed by the authors in July 2022. Additionally,
> progressing this document is required for us to publish
> draft-ietf-dnssd-srp. This WGLC will last for two weeks until 2022-08-22 at
> 23:59 UTC. We're interested in hearing whether folks have read this
> document and think it is ready for publication. We're also interested in
> hearing from folks who think the document isn't ready, or who see issues
> that need to be resolved before publication.
>
>
>
> The latest draft is available here:
>
> https://datatracker.ietf.org/doc/draft-ietf-dnssd-update-lease/
>
>
>
> Please send responses to the DNSSD list as replies to this email.
>
>
>
> Thanks,
>
> David and Chris
> _______________________________________________
> dnssd mailing list
> dnssd@ietf.org
> https://www.ietf.org/mailman/listinfo/dnssd
>