Re: [dnssd] Martin Duke's No Objection on draft-ietf-dnssd-srp-23: (with COMMENT)

Ted Lemon <mellon@fugue.com> Mon, 29 January 2024 22:27 UTC

Return-Path: <mellon@fugue.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 81213C1519AB for <dnssd@ietfa.amsl.com>; Mon, 29 Jan 2024 14:27:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.908
X-Spam-Level:
X-Spam-Status: No, score=-1.908 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, 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] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=fugue-com.20230601.gappssmtp.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 NP1AOtOQgLgL for <dnssd@ietfa.amsl.com>; Mon, 29 Jan 2024 14:27:15 -0800 (PST)
Received: from mail-vk1-xa29.google.com (mail-vk1-xa29.google.com [IPv6:2607:f8b0:4864:20::a29]) (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 B5AB4C1519A0 for <dnssd@ietf.org>; Mon, 29 Jan 2024 14:27:15 -0800 (PST)
Received: by mail-vk1-xa29.google.com with SMTP id 71dfb90a1353d-4bd8bf75341so469020e0c.3 for <dnssd@ietf.org>; Mon, 29 Jan 2024 14:27:15 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fugue-com.20230601.gappssmtp.com; s=20230601; t=1706567234; x=1707172034; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=iLQtecg2irp0b0CwknbGx8vr7+Y5lvufeLzeHnxFK+4=; b=0yRi6HRsUGBkrOqclQRNE8Pxirwd9Mh7JPdXdfRurZ+zCq3BdRE735qZT/wq1NW62P wpx5xSXfEw0MUePzRfaNjCjeCiT2znB0nUTE3PIP3UbbPitLTAbKbe5kAQteTGGwDaIi uPpaySs7bgAF+fzkZihBgVN12SILm44TF0eTZcXTtFcwDPj64lbpuedt3IH/fRGDO3df 2R6kCVua6aPYT5veySoZPZ9Kbvvhc/JzF0FcSu0d/HPnc4h11kiZs7gSvii49S2wriGO uKV1S/0Er+JXMZTw2hLtZiQwjtmgfXe7AXkbPqMaaBCR/fsXXLbmjN+2cA52D+8pwMEb i7xg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706567234; x=1707172034; 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=iLQtecg2irp0b0CwknbGx8vr7+Y5lvufeLzeHnxFK+4=; b=W8xhHB/mvoOuLpbFTM05jujHhyYaz+OkSvuKJrZWWbKOk7zRk0PT9AIvvt0wU9fpxF ax0Qdzn/bXPT++bGgYyQ1L6haJESub3crXSO022s/M+jioq2vXGYpxEdmHNsalQiOv47 Ies2oGnNa6AKVdZyM+HQkygLIuuWBE0/wHbbf6/nq+9qrORjONEgO3Tx1r9u7Hop1HaJ abtQtq3TIhRq4aUsDibSl1jim7FbUtvSqY9FJVlLikLL3cmCoMieoqJMteJgfHmvItQo /yE9AgYMFde7DhaK61ArLy0lAFCPcH1lg1m+4/QZ052LyvrixGtMbEMebCz6kBEI5UTV e5ng==
X-Gm-Message-State: AOJu0YwViieHyRAkpEa9KF8t869u9WQSQAgJ2a0OToL5l+KkS5gDW3aU 2waSOtBojRVEUOK3xT3gy6bH9XGlW6TZ2Lqbe4dwF4zCB4vMBb+m5Efd/i9crsgv40pBCQPDV/W 7HMDtXgZKMGnvuQixFi1MQOde2xOEeEEPkCCCVw==
X-Google-Smtp-Source: AGHT+IF6QHYvcxBFopJwF/Sk8QjjRi/YQPca5Inuyc0vZCdhGbpEu9SbyJj2KgVedxf2XolNgnekHI7cIcGxN2pnxxk=
X-Received: by 2002:a05:6122:1b04:b0:4ba:5739:a342 with SMTP id er4-20020a0561221b0400b004ba5739a342mr2208206vkb.24.1706567234404; Mon, 29 Jan 2024 14:27:14 -0800 (PST)
MIME-Version: 1.0
References: <169154715593.35587.14160846413424134690@ietfa.amsl.com>
In-Reply-To: <169154715593.35587.14160846413424134690@ietfa.amsl.com>
From: Ted Lemon <mellon@fugue.com>
Date: Mon, 29 Jan 2024 17:26:38 -0500
Message-ID: <CAPt1N1kG7MuqLp8yL4RJcgCLW+rR1n_b9KbZdyaExN0wrGchCw@mail.gmail.com>
To: Martin Duke <martin.h.duke@gmail.com>, tsv-art@ietf.org
Cc: The IESG <iesg@ietf.org>, draft-ietf-dnssd-srp@ietf.org, dnssd-chairs@ietf.org, dnssd@ietf.org, dschinazi.ietf@gmail.com
Content-Type: multipart/alternative; boundary="000000000000cae3fe06101d25bc"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnssd/COFLlJ5uW7Hpb6JARs04gOG-N84>
Subject: Re: [dnssd] Martin Duke's No Objection on draft-ietf-dnssd-srp-23: (with COMMENT)
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, 29 Jan 2024 22:27:16 -0000

Martin, thanks for the review, sorry the response has taken so long.
Apologies also to Joerg Ott for not responding to the tsv-art review (see
below).

On Tue, Aug 8, 2023 at 10:12 PM Martin Duke via Datatracker <
noreply@ietf.org> wrote:

>
> I see no on-list response to Joerg Ott's TSVART review. If there is not a
> private one, please respond.
>

I don't know what happened here—I think I must have accidentally deleted
this. I've included the comments inline here:

This could raise the issue that not much is said about UDP transmission
> behavior,
> not in this spec, nor actually in most of the referenced ones.  RFC 1035
> discusses
> a retransmission timer to be set in the range of 2-5 seconds, none of the
> other
> cited DNS specs seem to be explicit about this at all, probably because
> common
> sense govern DNS implementations and DNS queries, if resolved iteratively,
> generally
> may not have more than a single transaction outstanding.  But does this
> also hold
> for series of updates, e.g., after synchronized reboots or something
> similar?


I was sure that we'd added text about this, but it's actually in the
update-lease document. I've copied that text into the SRP document since I
think it's relevant in both places.

Here is that text:

    <section>
      <name>Retransmission Strategy</name>
      <t>The DNS protocol, including DNS updates, can operate over UDP or
TCP. When using UDP, reliable
      transmission must be guaranteed by retransmitting if a DNS UDP
message is not acknowledged in a
      reasonable interval. <xref target="RFC1035" section="4.2.1"
sectionFormat="of"/> provides some
      guidance on this topic, as does <xref target="RFC1536" section="1"
sectionFormat="of"/>.
      <xref target="RFC8085" section="3.1.3" sectionFormat="of"/> also
provides useful guidance that
      is particularly relevant to DNS.</t>
    </section>

I am not a DNS expert and there may be specs that define the behavior for
> UDP-based
> operation more precisely or stating that only a single transaction to a
> given server
> may be outstanding at a given point in time, in which case it may be
> worthwhile
> explicitly pointing towards those.  If such don't exist, it may be
> worthwhile adding
> a word of caution for controlling series of transmissions in case such
> happen.


I've added (hopefully this will be non-controversial—it's certainly what
was intended):
   <section>
   <name>Successive Updates</name>
   <t>Service Registration Protocol does not require that every update
contain the same information.
     When an SRP requestor needs to send more than one SRP update to the
SRP registrar, it MUST send
     these sequentially: until an earlier update has been successfully
acknowledged, the requestor
     MUST NOT begin sending a subsequent update.</t>
 </section>

Non-transport nits:
> Sect. 3.2.5.5.1 talks about the KEY-LEASE value and suggests that it be
> the same
> as before (1st para) and then "nonzero" (3rd para).  What is supposed to
> happen if
> it is nonzero but not the same as before? Maybe state this explicitly?


The update-lease document is fully explicit about this. The answer is that
whatever lease is sent in the update is applied at that time.

The text flow in the bulleted lists in section 3.3.1 is sometimes hard to
> parse and,
> especially in 3.3.1.2 does not necessarily yield a complete sentence.


Hm. Fixing this was a significant edit, which would be hard to represent
here, so if you wouldn't mind, please take a look at the -24 document when
it's published and let me know if it makes more sense. I was trying to
reduce the word count, but I agree that with some of the later updates, the
text became a bit unwieldy and, as you say, doesn't even quite work as a
sentence.

Sect. 3.3.4 states: "To delete an individual subtype, an SRP Update must be
> constructed
> that contains the service type and all subtypes for that service".  Does
> this miss
> something like "except for the subtype to be deleted" in the end?


Good point--thanks for noticing this. I've added the exact text you
suggested.

The authors may want to do a careful pass on the normative language (upper
case
but also the of can vs. MAY).

I did a pass and found some shoulds that should be SHOULDs and one can that
should have been a MAY, as well as a few other bits of text that weren't
clearly normative nor non-normative that I was able to clarify—thanks for
suggesting this.