Re: [dnssd] Dnsdir telechat review of draft-ietf-dnssd-srp-22

Anthony Somerset <Anthony.Somerset@liquid.tech> Tue, 11 July 2023 12:58 UTC

Return-Path: <Anthony.Somerset@liquid.tech>
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 6D61CC151081; Tue, 11 Jul 2023 05:58:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-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
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=liquid.tech
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 E_topXxFkv8V; Tue, 11 Jul 2023 05:58:41 -0700 (PDT)
Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04on2102.outbound.protection.outlook.com [40.107.8.102]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 93688C151074; Tue, 11 Jul 2023 05:58:37 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=W5njcBO+Jqq9MFcHUQMnioLO05zniz09nG0Fojmw10eHcK//PXtxzJgu5m97+eniMxNyBjVxJy41FE9Y7dSSmxWXAW3eAcxZ2wvAfNqQLWkEsh7D4CL15OgQxQdMrCrcp341krbpiwtc2jTAnHiIzBZLMgL/TOjePmPfeAoI5NfENvEMzyQJ46PH+1jLQnu+wBXAK4SfsRqJ1bTkoiUoUjR2nUiIp4KrCrDCZint1QoOONPdOxS4WJS5fReEFrD8IK2/+JHvEvjtfapS1Ph6MeHeGttuoxlypjaYay57W8gTioe6woYoNz+fXLng/7d7IWK956iXKGznvvuhxdN+yg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=4uq0ba3ie+5PLDXIDS/+fV7oaRCM7cuP2vUmia/mY08=; b=Sk2v81dl3tozWVQCSEPz9E/JdfELB85HBn3mazHFwqpAL4nbaBczUzrzaXBYXxaYKrvAFXMWAbVSVrcK4B2hGHHDWhTPPhAm1Mp3nNXURQ8IxDzu9q0YQzpIEMimZfe2igrWKdO++YqsSXfi51gr9OEWzsmREU8+f4iwcyYOFBqvmPUyfz0WdLoEpscHdPzyqQrSXgJtH5od+hkWMxanL4jzYSVfiudls+Sv08HQe+bg7OnmR/zjqr8yFFZVftr2Cjg/PZrCzIFrx6B1pW9CP0EDDnFRYpYmTJIP1GqIhUCrd9GAAq4j4qA/NPjgz/Ag2q8BxOkAs1csx+t3i94g9g==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=liquid.tech; dmarc=pass action=none header.from=liquid.tech; dkim=pass header.d=liquid.tech; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=liquid.tech; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4uq0ba3ie+5PLDXIDS/+fV7oaRCM7cuP2vUmia/mY08=; b=D9PXxPqfkc5b42cIcYJX5xDNu3SLbGWwVqgeh2vVRIg1JV4hwFf6Jk5+5scK5z4M9smYuIw9MdhyPThUvMVvLQU77TgwCm9mWDpzm9DVpwDwXZc89xvGaP7avQh07bNjGI0NM3ql+h+7S47EO0yW7e8G4KZ+nA5o1yj9sI+1+u70W4f3wBZ2344/lqoA0D9Klnf9jU9ClPQd5KydobQroZ8m9ULX87vtQZfUEyqG82oVqfKI86PCiv/7Qh3el+ZBAjzY0Yt/3Z/MoSgMkya/Sw014pXNuFiNuBd+6KVKzwYZOFGySRMS0N8vg4UIftn95d94be4BWpD9MFqZBpRVng==
Received: from AM9PR03MB7881.eurprd03.prod.outlook.com (2603:10a6:20b:434::18) by DB9PR03MB7723.eurprd03.prod.outlook.com (2603:10a6:10:2cb::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6565.30; Tue, 11 Jul 2023 12:58:33 +0000
Received: from AM9PR03MB7881.eurprd03.prod.outlook.com ([fe80::27e7:59fb:32f6:8060]) by AM9PR03MB7881.eurprd03.prod.outlook.com ([fe80::27e7:59fb:32f6:8060%4]) with mapi id 15.20.6565.016; Tue, 11 Jul 2023 12:58:33 +0000
From: Anthony Somerset <Anthony.Somerset@liquid.tech>
To: Ted Lemon <mellon@fugue.com>
CC: "dnsdir@ietf.org" <dnsdir@ietf.org>, "dnssd@ietf.org" <dnssd@ietf.org>, "draft-ietf-dnssd-srp.all@ietf.org" <draft-ietf-dnssd-srp.all@ietf.org>, "last-call@ietf.org" <last-call@ietf.org>
Thread-Topic: Dnsdir telechat review of draft-ietf-dnssd-srp-22
Thread-Index: AQHZs/V2mFkiiRHwEUu3YcjRdjYL2a+0hl9M
Date: Tue, 11 Jul 2023 12:58:33 +0000
Message-ID: <AM9PR03MB7881AA12229D5D92A9D86DFC8331A@AM9PR03MB7881.eurprd03.prod.outlook.com>
References: <168906853443.11151.16067864177657674976@ietfa.amsl.com> <CAPt1N1kqe-TpN4y5s7k4CMiGieDbrkoMpjoiqhkWiNuyi+D1Fw@mail.gmail.com>
In-Reply-To: <CAPt1N1kqe-TpN4y5s7k4CMiGieDbrkoMpjoiqhkWiNuyi+D1Fw@mail.gmail.com>
Accept-Language: en-GB, en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
msip_labels: MSIP_Label_99ef9a43-ff34-4715-a5f5-dfd82916d644_Enabled=True; MSIP_Label_99ef9a43-ff34-4715-a5f5-dfd82916d644_SiteId=68792612-0f0e-46cb-b16a-fcb82fd80cb1; MSIP_Label_99ef9a43-ff34-4715-a5f5-dfd82916d644_SetDate=2023-07-11T12:56:44.9393694Z; MSIP_Label_99ef9a43-ff34-4715-a5f5-dfd82916d644_ContentBits=0; MSIP_Label_99ef9a43-ff34-4715-a5f5-dfd82916d644_Method=Standard
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=liquid.tech;
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: AM9PR03MB7881:EE_|DB9PR03MB7723:EE_
x-ms-office365-filtering-correlation-id: eaf404c1-0e8c-4e39-8ad5-08db820e8885
x-ms-exchange-atpmessageproperties: SA
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: 9GAJuZkstgcg32hFVBYeSH2K06MsFrGBRDY/iYAAD0AVExUNd79mMhRNh7UllzzzC1W++gR38qgBD6e/NQUgwFDSDSLDtif/u4lyG3ZdPTsH0iAHPvhuaI1nqTxHQc4ocG6KRmhCNt33OFEr9GFWJdBbaX4CPc+WTEDLzywBQmCPoqvnX3TyX33UohYfmOXHtZncnPhwRB3tGR3Kgof3cWiptn84M8ZrBve0JhGM0NqnApRUHmhaQxGTkaSdu6+U9LKthR4kjuKiGzIY6OThH9U1Ho1Ezxub1CEoNLDp3U12DnS2rPxC5pGLSgMnidtbfzlm4JBuoOCQSaAPVEg0jvkcjnl98HomtfXgcdWMtcBIFglQ4hFM7NX95ho3XDZCCxSGC+5mNzzaheQcznGcRVzLX4j7oduoFGo57+tSO+cVakuLQPM5nExOLfT2M0fBundtXd31EGKC6RsKmIU+ZKoNTaQdTh+MyMq+xn9xiZLUllqxMUPrHOWDxeoyDvSql1xpj1d6NoOCyNcq7Vextw7is3ezX4zbk0KOsN8ZhnzLbqpAhwuXcfaYXfvAzIJEA7zz0RMCkx381Uu5JA0vJGothmEL4lfa3yvRzmDwdro=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM9PR03MB7881.eurprd03.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(376002)(39860400002)(366004)(136003)(346002)(396003)(451199021)(186003)(6506007)(9686003)(966005)(53546011)(478600001)(26005)(64756008)(66446008)(83380400001)(41300700001)(4326008)(66556008)(5660300002)(2906002)(316002)(8936002)(52536014)(8676002)(6916009)(66946007)(66476007)(7696005)(76116006)(71200400001)(91956017)(54906003)(55016003)(33656002)(166002)(122000001)(38070700005)(38100700002)(86362001)(66899021); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: gIGytkYDyG+z1UVAsYoPCPVqlpWFlPiJEIJpRMm29XC7V/rzSpNqXChExBUY3/EPEJ1gKQGnBsFqLV7MP578JhXkdrxWNTqUR9sY2BL3ukBp0ahaiCgYPPsxxkWmgdATETMFqlFv3ghrSeHymspK4VF4rW2tUZsUlvxD2TjfTsYPWviaJzcFy3HtfhBpZkmDmZ8UdZIwM9Lh6KuKtyQH+XDgJsrCRu5SB2csX1MTAK+/yZBHUxb13ewo2tVq3cHEtX1ooy7azgU3GVZkKHu7VP8DG2PE601spcOyrGqVVxJgrYlXZl+r+bItrLhd8sNmRzg+jUTfTXErIi7VD7uW99uTTLdnZP1J/n4DP1aM6P3W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mxpPPMQqc6IjbFtc+mQ7Sgy1c9LSN6r7jgHI6t5WgCvl7yvyLS5A9N6eUxqcOZFmXVDxL8RWkBqf/d4YzJtrR9fxkPN0WtKvioV/3f/ZhRLbohC3lXkTvxkmWwNWLjXXeZbC9IXWcwQBXMjDXKGbhGfvTGgZzK0dhZ2rGgX5x4l4a22BQ8FhWJ2iAbVUkjykVs58gKU4YZY+/v9h2BlLGr4=
Content-Type: multipart/alternative; boundary="_000_AM9PR03MB7881AA12229D5D92A9D86DFC8331AAM9PR03MB7881eurp_"
MIME-Version: 1.0
X-OriginatorOrg: liquid.tech
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: AM9PR03MB7881.eurprd03.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: eaf404c1-0e8c-4e39-8ad5-08db820e8885
X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Jul 2023 12:58:33.4077 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 68792612-0f0e-46cb-b16a-fcb82fd80cb1
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: VffvrLnyRpmqmm/2GIgP/6ReCubHuTyjIBEEKKXCix/iemX2tUDrRlgRvNBAYYrlOTE7Oqu8TF4ESAc/4pvvs/Y9p48F1U9P25Xu2kAjeTU=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR03MB7723
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnssd/Zwsmqn5-fkkjpA-qJs3GA4VQXfg>
Subject: Re: [dnssd] Dnsdir telechat review of draft-ietf-dnssd-srp-22
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, 11 Jul 2023 12:58:46 -0000

Hi Ted

No problem at all

I am totally fine with your commentary as well, it makes sense to let IESG determine if these are big enough molehills to squash at this late stage – I don’t believe they are truly substantive issues, It’s more wordsmith stuff really

Thanks

Anthony



Internal All Employees

From: Ted Lemon <mellon@fugue.com>
Date: Tuesday, 11 July 2023 at 14:44
To: Anthony Somerset <Anthony.Somerset@liquid.tech>
Cc: dnsdir@ietf.org <dnsdir@ietf.org>, dnssd@ietf.org <dnssd@ietf.org>, draft-ietf-dnssd-srp.all@ietf.org <draft-ietf-dnssd-srp.all@ietf.org>, last-call@ietf.org <last-call@ietf.org>
Subject: Re: Dnsdir telechat review of draft-ietf-dnssd-srp-22
For some reason your review didn't show up (and still doesn't) when I search for it. I should just use the datatracker for these searches I guess. I do see some things I'd address in your review if the IESG wants a document update. Since I didn't reply to it earlier, I will do so now. And thank you for doing that review—I know these are significant effort, and I am sorry that I didn't see it earlier!

I would suggest being consistent with the naming, Apple should probably be
referred to as MacOS, iOS (and likely the derivatives like iPadOS etc) or
perhaps:
   e.g. Android, Windows, Linux, and Apple based Operating Systems

That's a good point—I hadn't noticed that. I'm not sure this desperately needs to be fixed, but we can discuss it during the RFC editor phase if the IESG doesn't ask for a fix.

Should there be some commentary about preventing a domain/service squatting
type denial of service in the security considerations? or am I just being
overly cynical here?

Sounds like this is covered.

Section 4
TTLs sent in SRP Updates are advisory: they indicate the SRP
   requestor's guess as to what a good TTL would be.  SRP registrars may
   override these TTLs.  SRP registrars SHOULD ensure that TTLs are
   reasonable: neither too long nor too short.  The TTL should never be
   longer than the lease time (Section 5.1).

I would suggest a RECOMMENDED TTL or upper and lower bound - otherwise this is
vague. I like how you handled a similar suggestion around leases in section 5.1
which could be applied here, the rest of the section makes a good explanation
to the various tradeoffs which helps bring context.

I would not be averse to updating this text if the IESG thinks it's worth doing. However, I think the last sentence (should never be longer than the lease time) addresses the main concern. Our experience has been that users of SRP choose short leases when they expect the registration to be withdrawn quickly. So if the record expires out of the cache after a maximum of one lease interval after the SRP registration expires, this is probably okay. I actually thought about recommending a TTL of 10% of the lease interval, but that only makes sense if the lease is going to be allowed to expire immediately. Most of the time that's not the situation.

Section 6.1 mentions UDP - but earlier says only TCP in 3.1.3, also 10.4
and 10.5 only reference TCP service entries

We expect that anycast will be used for UDP, but it could be worth explaining this (I thought we had, but it wouldn't surprise me if we never actually did).

There is no matching reference to UDP in 3.1.2 as the reference in 6.1 is to
constrained networks. Maybe a reference to state that UDP is possible in
constrained networks?

It isn't our intention that constrained devices be _required_ to use UDP. It's just available as an option there. In some cases TCP may actually be a better choice. So that's why we don't mention it explicitly.

Also does the smallest possible SRP update fit inside a UDP datagram in the
first place, especially given the use of public keys in updates?

Yes, absolutely. The signature isn't that big, nor is the key, since we're using ECDSA.

Anyway, I'm going to note this reply in the github tracker; if the IESG wants me to do an update to address these points, I will, but since we're past the submission cutoff, and the document is with the IESG for review, I will defer this decision to them.

On Tue, Jul 11, 2023 at 5:42 AM Anthony Somerset via Datatracker <noreply@ietf.org<mailto:noreply@ietf.org>> wrote:
Reviewer: Anthony Somerset
Review result: Ready

Hello

I have been selected as the DNS Directorate reviewer for this draft. The
DNS Directorate seeks to review all DNS or DNS-related drafts as
they pass through IETF last call and IESG review, and sometimes on special
request. The purpose of the review is to provide assistance to the ADs.
For more information about the DNS Directorate, please see
https://wiki.ietf.org/en/group/dnsdir

Please note that I previously reviewed version 20 of this draft and at that
time stated that the document was "Ready"

I am therefore only reviewing the differences between version 20 and current
version (22)

There are are clear and direct references to various DNS RFC's and this
draft is not in any conflict with the wider DNS space.

All in all I think this is a very well written document, although quite
lengthy and makes lots of references to the appropriate RFC's it is well
understandable and didn't take me too long to get to grips with the context.

All but one of my previous editorial comments still remain except for my notes
on security around domain/service squatting, this particular aspect I believe
has been dealt with excellently with the additional text in 6.1 and I agree
with the authors statements here. As previously noted the other items were more
editorial comments rather than substantive.

The additional sections 8.3 through 8.7 add much better clarity to the specific
considerations around authoritative and recursive servers

Therefore I continue to consider this document as "Ready"

Many Thanks to the authors for this work.

Best Regards

Anthony Somerset
DNS Directorate


This email disclaimer applies to the original email, all attachments and any subsequent emails sent by Liquid Telecom. This email contains valuable business information that is privileged, confidential and/or otherwise protected from disclosure, intended only for the named person or entity to which it is addressed. If you are not the intended recipient of this email and you received this e-mail in error, any review, use, dissemination, distribution, printing or copying of this e-mail is strictly prohibited and may be unlawful and/or an infringement of copyright. Please notify us immediately of the error and permanently delete the email from your system, retaining no copies in any media. No employee or agent is authorized to conclude any binding agreement on behalf of Liquid Telecom with another party or give any warranty by email without the express written confirmation by an authorized representative or a director of Liquid Telecom. Nothing in this email shall be construed as a legally binding agreement or warranty or an offer to contract. Liquid Telecom will not be responsible for any damages suffered by the recipient as a result of the recipient not taking cognizance of this principle. Liquid Telecom accepts no liability of whatever nature for any loss, liability, damage or expense resulting directly or indirectly from the access of any files which are attached to this message. Any email addressed to Liquid Telecom shall only be deemed to have been received once receipt is confirmed by Liquid Telecom orally or in writing. An automated acknowledgment of receipt will not suffice as proof of receipt by the Liquid Telecom. This email disclaimer shall be governed by the laws of South Africa.