Re: [dns-privacy] John Scudder's No Objection on draft-ietf-dprive-xfr-over-tls-11: (with COMMENT)

Sara Dickinson <sara@sinodun.com> Thu, 06 May 2021 10:13 UTC

Return-Path: <sara@sinodun.com>
X-Original-To: dns-privacy@ietfa.amsl.com
Delivered-To: dns-privacy@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 96CFE3A1B7C; Thu, 6 May 2021 03:13:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.1
X-Spam-Level:
X-Spam-Status: No, score=-2.1 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, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=sinodun.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zl2MQs3HTg_U; Thu, 6 May 2021 03:13:19 -0700 (PDT)
Received: from haggis.mythic-beasts.com (haggis.mythic-beasts.com [46.235.224.141]) (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 462593A1B7F; Thu, 6 May 2021 03:13:19 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sinodun.com ; s=mythic-beasts-k1; h=To:Date:From:Subject; bh=5yvAorpNw08lGuw/na1/b/zBxevfEpPWMTFUirNhexE=; b=ZTiJZZAM1yFXMg/I8KhQGeBpNP x6xQwi2dVcRYx2k3klK01qkYVzRidSkyG3QVTo7EXvsGUyBG3hVhr3ZlYrIaqU7eLBeIcZMM0FJZc mTB6BKTNOk7LS2BSO1Covm39vvqcZ7bUqnLWoGrjZaXgJA5zM1hVYYBaOLYriM3BIp3rW9vIe7S3l KcILpZXOg+ASl0O3An2hVfsv3+Jg5bpOTlAU7Xgu27G3hYfAeGq0ZeE2LKyhYzcNUGzZ2cLYka9GT IPjY+Z2PGz6Ia8UZRAlFG+PgpdFaTl7QaszKlQv14u+My5ef5R9/wDnkRt7Ip9xrGZfUwgGXg/eHu 13DKJ4sg==;
Received: from [62.232.251.194] (port=23682 helo=[172.27.240.5]) by haggis.mythic-beasts.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92.3) (envelope-from <sara@sinodun.com>) id 1leb0O-0002ds-Av; Thu, 06 May 2021 11:13:16 +0100
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.20\))
From: Sara Dickinson <sara@sinodun.com>
In-Reply-To: <162015857648.17895.7104332787108510127@ietfa.amsl.com>
Date: Thu, 06 May 2021 11:13:15 +0100
Cc: The IESG <iesg@ietf.org>, draft-ietf-dprive-xfr-over-tls@ietf.org, dprive-chairs@ietf.org, DNS Privacy Working Group <dns-privacy@ietf.org>, tjw.ietf@gmail.com
Content-Transfer-Encoding: quoted-printable
Message-Id: <677892E5-D12B-4212-82C0-0ADC60C3D4AE@sinodun.com>
References: <162015857648.17895.7104332787108510127@ietfa.amsl.com>
To: John Scudder <jgs@juniper.net>
X-Mailer: Apple Mail (2.3445.104.20)
X-BlackCat-Spam-Score: 4
Archived-At: <https://mailarchive.ietf.org/arch/msg/dns-privacy/ewtuszSbojI7zgsxdt5hoW3Qe9I>
Subject: Re: [dns-privacy] John Scudder's No Objection on draft-ietf-dprive-xfr-over-tls-11: (with COMMENT)
X-BeenThere: dns-privacy@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <dns-privacy.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dns-privacy>, <mailto:dns-privacy-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dns-privacy/>
List-Post: <mailto:dns-privacy@ietf.org>
List-Help: <mailto:dns-privacy-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dns-privacy>, <mailto:dns-privacy-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 06 May 2021 10:13:25 -0000


> On 4 May 2021, at 21:02, John Scudder via Datatracker <noreply@ietf.org> wrote:
> 
> John Scudder has entered the following ballot position for
> draft-ietf-dprive-xfr-over-tls-11: No Objection
> 
> When responding, please keep the subject line intact and reply to all
> email addresses included in the To and CC lines. (Feel free to cut this
> introductory paragraph, however.)
> 
> 
> Please refer to https://www.ietf.org/iesg/statement/discuss-criteria.html
> for more information about DISCUSS and COMMENT positions.
> 
> 
> The document, along with other ballot positions, can be found here:
> https://datatracker.ietf.org/doc/draft-ietf-dprive-xfr-over-tls/
> 
> 
> 
> ----------------------------------------------------------------------
> COMMENT:
> ----------------------------------------------------------------------
> 
> Thanks for the well-written and easy to follow spec. Below are some comments
> you may want to take into consideration.
> 
> 1. Abstract
> 
>   XFR-over-TLS (XoT).  Additionally, this specification updates
>   RFC1995, RFC5936 and RFC7766.
> 
> Please say a few words about how the spec updates those RFCs, don’t make the
> reader go digging for it.

Propose: 
 "Additionally, this specification updates RFC1995 and RFC5936 with respect to efficient use of TCP connections, and RFC7766 with respect to the recommended number of connections between a client and server for each transport.

> 
> 2. Section 1
> 
>   transfers (this draft) is orthogonal to preventing zone enumeration,
>   though they aim to protect the same information.
> 
> s/this draft/this document/

> 
> 3. Sections 6.1, 6.2
> 
>   3.  If the primary serial is higher than the secondaries serial
> 
> s/secondaries/secondary’s/

> 
> 4. Section 6.3
> 
>   This section attempts to presents a rationale for considering
> 
> “Attempts to present”. But really, why not just “presents”?
> 
> 5. Section 6.3
> 
>   Since the SOA of the published zone can be trivially discovered by
>   simply querying the publicly available authoritative servers leakage
> 
> Comma between “servers” and “leakage”.

Ack to all the above corrections.

> 
> 6. Section 6.3.2
> 
>   For hidden primaries or secondaries the SOA response leaks only the
>   degree of SOA serial number lag of any downstream secondary.
> 
> I don’t understand. This either means the sentence would make sense if only I
> had the right domain knowledge (which is OK then), or it means the sentence
> doesn’t make sense (which isn’t).

Probably better written as:

“For hidden XFR servers (either primaries of secondaries) an SOA response directly from that server only additionally leaks the degree of SOA serial number lag of any downstream secondary of that server.”

Does that help?

> 
> 7. Section 7
> 
>   The following sections include detailed clarifications on the updates
>   to XFR behavior implied in [RFC7766] and how the use of [RFC7828]
>   applies specifically to XFR exchanges.  It also discusses how IXFR
>   and AXFR can reuse the same TCP connection.
> 
> “They also discuss” — agreement in number with “the following sections”.
> 
> 8. Section 7.4
> 
>   This specification for XoT updates the guidance in [RFC7766] to
>   provide the same separation of connection purpose (regular queries
>   and zone transfers) for all transports being used on top of TCP.
> 
> The “for XoT” confuses this sentence, making it sound a bit like the advice is
> restricted to XoT. I think those two words should be struck, it would be just
> fine as “this specification updates…”

Ack to both. 

> 
> 9. Section 8.1
> 
>   For improved security all implementations of this specification MUST
>   use only TLS 1.3 [RFC8446] or later.
> 
> Improved compared to what? I think the first three words could go, then the
> question wouldn’t come up.

Ah - compared to stub to recursive DoT which was specified in 2015 and only required to use TLS 1.2 or later….but I’ll update as suggested

> 
> 9. Section 8.4 (also 10.4)
> 
>   o  the server MUST validate the client is authorized to request or
>      proxy a zone transfer by using one or both of the following:
> 
>      *  an IP based ACL (which can be either per-message or per-
>         connection)
> 
>      *  Mutual TLS (mTLS)
> 
> The former is weaker, surely? I see Martin also raised this in his comments, I
> agree with what he wrote. It’s odd to see these two authorization methods, with
> very different security properties, presented as equivalent with no discussion
> anywhere of their relative (de)merits.

Please see the thread in response to Ben’s DISCUSS on this. 

> 
> 10. Section 8.8.1 (also 8.9.3)
> 
>   The goal of padding AXoT responses would be two fold:
> 
> “Is”, not “would be” (also 893)
> 
> 11. Section 10.2
> 
>   SIG(0) [RFC2931] similarly also provides a mechanism to digitally
> 
> Similarly, or also — pick one.
> 
> 12. Section 11
> 
>   The XoT authentication requirement specified in Section 8.4 addresses
>   the issue of ensuring that the transfers is encrypted between the two
> 
> “Transfers are” or “transfer is”.
> 
> 13. Section 11
> 
>   endpoints directly involved in the current transfers.  The following
>   table summarized the properties of a selection of the mechanisms
> 
> “Summarizes”
> 
> 14. Appendix A
> 
>   For completeness, it is noted that an earlier version of the
>   specification suggested using a XoT specific ALPN to negotiate TLS
> 
> Please define APLN on first use

Yup to all the above. 

> 
> 15. A.4
> 
>   As an aside, whilst [RFC7766] makes a general purpose distinction to
>   clients in the usage of connections (between regular queries and zone
> 
> Do you mean “general purpose distinction between clients“? The use of “to”
> doesn’t make sense to me.

The advice referred to is advice for clients about how many connections they should open. Suggest:

“makes a general purpose distinction in the advice to clients about their usage of connections"

> 
> 16. A.4
> 
>   Client behavior to REFUSED response is not clearly defined (see
>   below).
> 
> I do not see anything relevant below.

Good catch - this text used to be in the body of the document. It should reference section 8.7.

Thanks and regards

Sara.