Re: [dnssd] Second WGLC for draft-ietf-dnssd-srp

Ted Lemon <mellon@fugue.com> Tue, 23 August 2022 15:41 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 65929C1524BC for <dnssd@ietfa.amsl.com>; Tue, 23 Aug 2022 08:41:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.907
X-Spam-Level:
X-Spam-Status: No, score=-1.907 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=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=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=fugue-com.20210112.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 FPU9USifd5kj for <dnssd@ietfa.amsl.com>; Tue, 23 Aug 2022 08:41:19 -0700 (PDT)
Received: from mail-qt1-x836.google.com (mail-qt1-x836.google.com [IPv6:2607:f8b0:4864:20::836]) (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 C2B63C14CE47 for <dnssd@ietf.org>; Tue, 23 Aug 2022 08:41:19 -0700 (PDT)
Received: by mail-qt1-x836.google.com with SMTP id j17so10641116qtp.12 for <dnssd@ietf.org>; Tue, 23 Aug 2022 08:41:19 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fugue-com.20210112.gappssmtp.com; s=20210112; h=to:in-reply-to:cc:references:message-id:date:subject:mime-version :from:content-transfer-encoding:from:to:cc; bh=VgPMvO+ooJinilv+oSMDoJPtG/8LA+e1Mrj6KzJKnMU=; b=swV+zX1DozEdyDrZzMftKeimjv82jpZUDvSmetS19IESRZoXXjk7pJGkvlQ+z5Bm5X 0xp6M6UCMogrorsUoMlJpbvV0HyrDdq/SUQHOhORQNZog7JrFd7R0TW+I4xSIUM3JtQ9 QHCFYydGM9mmOif5kX1RyuvGAx4bn0DOjD8EILg/hh5CHV3mU/isfTp7JGnpgLikDLZS qCnAaShChJa/DSilItRp75C6I+TgklC9ldOE1ql9dpULF4YVNqsKjv9jJ4T2EmAIoYX4 suQ2NAQ+GNlwhs67btIG8+vGWYE5Pi7Ie9IwjcdK7VEiHBrl78uWqya5+T4U+htm4I04 VxZw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:in-reply-to:cc:references:message-id:date:subject:mime-version :from:content-transfer-encoding:x-gm-message-state:from:to:cc; bh=VgPMvO+ooJinilv+oSMDoJPtG/8LA+e1Mrj6KzJKnMU=; b=BaH+rwUW+7FC2pR/IPtW5bYWCbY6mkGmzUVb9W1cdrTzYkgJqlNObHUFmOwgMXebNH aVXqEHzW4JOG4yZZAQwP/bCvy9eIeFdWI+UFKOxftcSnoySIoESaJIs3dAUUqRtyBNNJ 6rIm62yWWT2d0ax9bBrPQXS7y7TQFENzx7a0hlP8wDhjHx3Y3F4/zsg8FQsFWV81Afuy h/ipUWihkzFII1poCyDSE84Iy+vvMAUY9z5BgY91ntWUzQcbtrIcpUvV9F+7GXriJIzL ZWUI8Aq4m/5+dzA7r3QRNAyD7HRE6UpJBvhxbDY7dl8cYLsuD+P99YqyuR3VPpDZ9SCi i7cw==
X-Gm-Message-State: ACgBeo0jpP5qq7J9li7D7lG2/YVTFog3wi+SFa17+xxLiPRdVtcGp86l bsB/p6jVqwydtIIlogJcpFXKI84QKwEZl702
X-Google-Smtp-Source: AA6agR54GxNMWrjR7MMGWh6KJuM2ssNKLU+jAuns5ve9y9rQGBPShRDmmKHTfaqly0NCtuNcTbrwmA==
X-Received: by 2002:ac8:7d08:0:b0:344:6117:7dab with SMTP id g8-20020ac87d08000000b0034461177dabmr20183403qtb.99.1661269278377; Tue, 23 Aug 2022 08:41:18 -0700 (PDT)
Received: from smtpclient.apple ([2601:18b:300:3380:c114:85c8:dd8a:5c5c]) by smtp.gmail.com with ESMTPSA id bm30-20020a05620a199e00b006bb11f9a859sm13023720qkb.122.2022.08.23.08.41.17 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 23 Aug 2022 08:41:18 -0700 (PDT)
Content-Type: multipart/alternative; boundary="Apple-Mail-8AAC74AC-F063-46D4-8A81-77A1DF1A9B21"
Content-Transfer-Encoding: 7bit
From: Ted Lemon <mellon@fugue.com>
Mime-Version: 1.0 (1.0)
Date: Tue, 23 Aug 2022 11:41:17 -0400
Message-Id: <6FA30C51-88F1-49E4-9051-CC4C9C71F99F@fugue.com>
References: <DU0P190MB197862BA6EC41603ABB0338DFD709@DU0P190MB1978.EURP190.PROD.OUTLOOK.COM>
Cc: David Schinazi <dschinazi.ietf@gmail.com>, DNSSD <dnssd@ietf.org>
In-Reply-To: <DU0P190MB197862BA6EC41603ABB0338DFD709@DU0P190MB1978.EURP190.PROD.OUTLOOK.COM>
To: Esko Dijk <esko.dijk@iotconsultancy.nl>
X-Mailer: iPad Mail (19G82)
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnssd/uZDB44T-ECnQ38le0hSRyAmIxUA>
Subject: Re: [dnssd] Second WGLC for draft-ietf-dnssd-srp
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: Tue, 23 Aug 2022 15:41:22 -0000

On Aug 23, 2022, at 6:24 AM, Esko Dijk <esko.dijk@iotconsultancy.nl> wrote:
> I reviewed the new (Github) text.  Most comments are well addressed, here a few remaining points:
> 
>  
> 
> New section “Subdomains of 'service.arpa.'” -> this section reads as if it should be placed within the “IANA Considerations” section as a sub-section, or at least be referenced from the IANA section?  Now it is outside it and not referenced.

Yup, this was 2am brain. I meant for that to be a subsection of the IANA considerations section, but didn’t actually check to see that I’d put it in the right place.

> “increase the power required” -> “increase the energy required”

Aah, I missed that one. Thanks.

>  
> 
> >> -> “present in the Host Description Instruction to which the Service Description Instruction refers”
> 
> > why
> 
> Oops, maybe my text proposal was actually not good! We can leave it as is.  One Instruction also doesn’t reference another Instruction, but references data.
> 
> One trigger was that the terms “Host Description” and “Service Description” are used and gradually introduced in the document, but there’s not a formal/specific definition. The draft overall suggests that a “Host Description” can mean the data in the Host Description Instruction, or that it can be data in the SRP Registrar’s local database (which resides there as a result of processing previous Host Description Instruction(s)). Similar for “Service Description” – may be the data of a Service Description Instruction, or data about a service already present in the database.
> 

Sorry, this was 2am brain again.  Your reasoning above makes sense, but in fact I really did mean to distinguish between the service description and the service description instruction here.
 
> > However, you’re right that this is a problem, because if it does a pattern match, EXPLETIVE-4387 is going to fail just as badly as EXPLETIVE did. So maybe it should return REFUSED in this case.
> 
> Yes, I agree with “Refused” in case the adding of new numbers at the end by the SRP Requestor (e.g. EXPLETIVE-3, -4, -4387 etc) would not make any difference for the name filter.  Seeing “Refused”, a Requestor knows that it could retry with a completely different name, in this case. (Contrasting to YXDomain:  that signals the requestor to try with changing/adding some number at the end of the name i.e. retry with a similar name.)
> 
>  
> 
> I do think that if the server has a very specific name filter (e.g. on “EXPLETIVE-1*” only) it could just configure for that the YXDomain answer, triggering the Requestor to try again with another name (e.g. “EXPLETIVE-2”) and that would likely succeed.   So that would be allowed, but seems a corner case that we don’t need to spend any text on in the draft; something an implementer could just use if required.
> 

Yeah, I think that an implementation that does that can return a different answer on the basis that it’s a reserved name, but the text should account for the more useful test case, since if an administrator really does want to avoid publishing embarrassing names, a pattern match is going to work a lot better than a list of specific domain names.
 
> > That title doesn’t make sense. We aren’t cleaning up the lease time. I this this is fine as is.
> 
> Right, it can easily be read in a way that makes no sense. (I was intending the other way.)  So let’s keep as is.
> 

OK, thanks!
 
> > Send text?
> 
> I don’t think we need additional text for 6LoWPAN Border Routers (6LBRs) here, the phrasing is generic currently for “routers” so IP routers, which includes such 6LBRs.
> 

OK, sounds good.

Pull request here: https://github.com/dnssd-wg/draft-ietf-dnssd-srp/pull/12/files