Re: [Last-Call] [homenet] Dnsdir telechat review of draft-ietf-homenet-front-end-naming-delegation-18

Daniel Migault <mglt.ietf@gmail.com> Wed, 19 October 2022 02:25 UTC

Return-Path: <mglt.ietf@gmail.com>
X-Original-To: last-call@ietfa.amsl.com
Delivered-To: last-call@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 506F7C1524BA; Tue, 18 Oct 2022 19:25:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.105
X-Spam-Level:
X-Spam-Status: No, score=-2.105 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, FREEMAIL_FROM=0.001, 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, URIBL_BLOCKED=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=gmail.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 s8umJ32rZuMb; Tue, 18 Oct 2022 19:25:33 -0700 (PDT)
Received: from mail-io1-xd2f.google.com (mail-io1-xd2f.google.com [IPv6:2607:f8b0:4864:20::d2f]) (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 9622BC1524B1; Tue, 18 Oct 2022 19:25:33 -0700 (PDT)
Received: by mail-io1-xd2f.google.com with SMTP id 137so13352918iou.9; Tue, 18 Oct 2022 19:25:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=+Gmxf9LOUubbFXUeCAGNzaefl+JIEQlGpxY7H1PFg60=; b=hZNEfMA9Cpas8EiohCThbXflsn5P0e3DALsNOlx2LCprELo7AftZ3bcfuhDzHJwQqW QbTg/FPA0pdpi+LG7/Pw9cscTpgBdgy4AexnkiW1fz7ExxSPAR6MRw7KMZ/hbPayR/5S svNhSUJCTwLmWhkaUgzNwhcDcW/q3JvUkMSpMJNMucDQd3dJ0M4V0ojBDpRmP7w/w1MS eTbOO7R8kc3e9mTuX3lTm1q4zh4318VYSRY34TQE4ABD6Hrno07TI92TL587TZ0lbStY 6DiqK+hLyrwOLj3ratK+6WVLxis5qeJJwxEWpbiCgC8wN3FqImZxWGH9sPWuWXUio8Ii obGg==
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:subject:date:message-id :reply-to; bh=+Gmxf9LOUubbFXUeCAGNzaefl+JIEQlGpxY7H1PFg60=; b=vvjqYcgLVUDWfLjFHB0k3JswqosrtHsAPRAFYPnjWcCvuycWtS3MmgUagQydR3hHRu L/bqyqcfqRQVdhTUlbwr507ZlSBm0J+ZIAjZaFJQZgNQ39tuzL2DTxc3ijyKfgSdpUNs DonTbwK3S0PSCoV7siDjkb5v6/mUYrFkTj8en49y0JsC39pqxo30HVmMAtwSE40BvZzU /WaZZzkENX6Cb6lsY8+17vxkPx4e1KPft616fv/NRJjG0ZGXjOlTE1NMGEfa9xYaqLXl I5WDVlJxWgYzix788rezyhcaV5lipYzuX3VVYgHIkO8Mu16zdrz2OwYNsJSrzedJ/6tW p1kA==
X-Gm-Message-State: ACrzQf1sSI6lLp5/LJI2MW1HpAzeHuYCGVz4PpSEYIrsrKe4X1sgpJ6t MbgFBFR3A/0suPz7+A9ok3iXfDF7PeLxfMBM7huXbRjEB7g=
X-Google-Smtp-Source: AMsMyM7HCYWcWOQgq1E10mNKqOXnMSbdjwr2wrhJy0gCA9keA3juKWzrYg8icZFv4twOhIeKuR+aciY7VuaDO5gBz6c=
X-Received: by 2002:a05:6638:2491:b0:364:790:e5ee with SMTP id x17-20020a056638249100b003640790e5eemr4163211jat.160.1666146332558; Tue, 18 Oct 2022 19:25:32 -0700 (PDT)
MIME-Version: 1.0
References: <166601224491.24452.9575096761631204136@ietfa.amsl.com>
In-Reply-To: <166601224491.24452.9575096761631204136@ietfa.amsl.com>
From: Daniel Migault <mglt.ietf@gmail.com>
Date: Tue, 18 Oct 2022 22:25:21 -0400
Message-ID: <CADZyTknfP8MJLhaEUm=5YqJMRnN+HXnjNnoK1qe1m_mK+f1uSQ@mail.gmail.com>
To: Matt Brown <ietf@mattb.net.nz>
Cc: dnsdir@ietf.org, draft-ietf-homenet-front-end-naming-delegation.all@ietf.org, homenet@ietf.org, last-call@ietf.org
Content-Type: multipart/alternative; boundary="0000000000004bcb6705eb59ec21"
Archived-At: <https://mailarchive.ietf.org/arch/msg/last-call/hI8xualSQU5svIp4brLuE4wZWt0>
Subject: Re: [Last-Call] [homenet] Dnsdir telechat review of draft-ietf-homenet-front-end-naming-delegation-18
X-BeenThere: last-call@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: IETF Last Calls <last-call.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/last-call>, <mailto:last-call-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/last-call/>
List-Post: <mailto:last-call@ietf.org>
List-Help: <mailto:last-call-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/last-call>, <mailto:last-call-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 19 Oct 2022 02:25:37 -0000

Hi Matt,

Thanks for the review. I am only responding to the major comments - for
now. I apologize for the partial response but I promise I will go through
all other comments tomorrow (my) morning and hope you will still have this
partial response (your) morning.

Yours,
Daniel

On Mon, Oct 17, 2022 at 9:11 AM Matt Brown via Datatracker <noreply@ietf.org>
wrote:

> Reviewer: Matt Brown
> Review result: Not Ready
>
> Kia ora,
>
> I'm a recent addition to dnsdir and have been asked to review this draft -
> this
> is my first formal IETF review, so apologies in advance if I don't quite
> hit
> the right spot in terms of what's looked for here - in particular I'm not
> sure
> how calibrated my "Result" status selection is...
>
> Review Conclusion:
>
> The intent and proposed mechanism the draft seeks to achieve is clear and
> the
> proposed high-level architecture of a hidden master is consistent with the
> overall format of the DNS ecosystem.
>
> The proposed implementation of the control channel requires a mode of
> communication (mutual TLS authentication via DoT) that is not an existing
> standards, nor specified in this document and therefore appear infeasible
> to me
> without further specification taking place.
>
> There are a number of other gramatical nits and improvements in wording
> which
> are needed to improve the clarity and understandability of the standard
>
> Major Issues (aka Not Ready):
>
> Mutual TLS and DoT - 3.2 and 4.6 recommend that the HNA and DM secure their
> control channel communications using mutual TLS and DoT - but DoT is not
> specified to support mutual authentication. While mutual TLS auth at the
> underlying TLS layer is clearly viable - how to integrate that at the DNS
> layer, and whether that is compatible with DoT on the existing port, or
> would
> need a further port allocation (and subsequent IANA consideration in 13)
> would
> need to be addressed. None of the alternative future protocols listed in
> 3.2
> support mTLS either as far as I am aware.
>
> Given the recommendation to use XoT (RFC9103) (which does specify mTLS
> capability) for the Synchronization channel in 5.1 - I wonder why this
> protocol
> has not also been considered for the control channel instead of DoT?
>
> The section securing the Synchronization channel  mentions:

The AXFR request from the DM to the HNA SHOULD be secured and the use of
TLS is RECOMMENDED {{!RFC9103}}.

So this is effectively what we rely on, mostly for the following reasons:
1) most of our exchanges are IXFR/AXFR and these are the one with the main
concern, and 2) we wanted to reuse what is implemented in major
distributions.
To put it in another way, we wanted the transaction between the HNA and the
DM to be protected by TLS, and probably split from DNS over TLS to DoT. Would
replacing DoT by XoT address your concern ?

I would be happy to understand though why DoT would be an issue. The only
point I can see is that 7858 specifies that it limits its scope to client
-to resolver communications while admitting such restriction is due to a
charter limitation. Since XoT mentions it is heavily relying on DoT, and
resolvers and authoritative servers both handle DNS packets, I tend to
assume that we may consider DoT can be used for any DNS communications, but
I might be missing something.

Another point I would like to clarify is why another port would be needed
for mTLS as this is a capacity announced by the TLS server. The support of
mTLS is simply announced by the server by sending a CertificateRequest. The
TLS client may only accept such communications. I do not necessarily see
this as an issue, but again maybe I am missing something.



As written (recommending DoT with mTLS), I do not believe this standard is
> implementable.
>
>
> Minor Issues (aka Ready with Issues):
>
> 2 and 3.1: DNSSEC Resolver - is the exclusion of unsigned/non-DNSSEC
> resolvers
> in the terminology and architecture overview intentional? Section 9
> confirms
> that DNSSEC is not required (only RECOMMENDED), so it is possible that
> both the
> public and internal resolvers being used are not DNSSEC capable -
> therefore it
> seems strange for the architecture overview and terminology to imply that
> DNSSEC is required.
>
> 3.2: The 4th paragraph begins describing "the main issue", the solution to
> which is not explained in the paragraph, or in the referenced Section 4.2
> (which is DNSSEC/DS specific vs the NS, A, AAAA context of the paragraph).
> In
> either case, the semantics of how the DM treats the information it receives
> from the HNA seems out of place in a section describing and primarily
> focused
> on the mechanics of the communication channel itself. I suggest removing or
> rewriting this 4th paragraph to improve the clarity.
>
> 4: I find the format of this section confusing and hard to understand with
> sections 4.1-4.4 describing the information to be conveyed, but not how it
> is
> conveyed, and then the message formats being described in 4.5. I suggest it
> would be much clearer and more understandable to combine the details in
> 4.5.x
> with the earlier sections (e.g. put the AXFR details from 4.5.1 into 4.1,
> and
> the DNS update details from 4.5.2/4.5.3 into 4.2 and 4.3.
>
> 12: I wonder how protected the HNA actually is and whether more
> exploration/discussion of the risks invovled is required here - in an IPv4
> use-case, the IP for the services published in the Public Homenet Zone is
> highly likely to be the same IP with an open DNS port for the DM to
> connect to
> for XFR, and while the relationship in IPv6 is not as straightforward
> given the
> likely use of privacy addressing, etc it's not particularly hard to scan
> the
> enclosing /64 or beyond for an address with an open DNS port.
>
> Given the HNA is already opening a control connection to the DM, was
> consideration given to re-using that connection (or a 2nd HNA initiated
> connection to a different address if there is the need for different
> servers in
> the DM implementation between control/sync channesl) to prevent the need
> for
> opening any listening port on the HNA WAN addresses at all?
>
>
> Nits (aka Ready with Nits):
>
> 1.1: This section is titled Selecting *Names* to Publish, but spends the
> majority of its words actually discussing the nuances of which *addresses*
> to
> publish for the selected names. This section may be more accurately and
> cleary
> named to include address selection.
>
> 1.3: There is a missing word (scenarios) in the first sentence which I
> think
> needs to read: "A number of deployment *scenarios* ...
>
> 1.3.1: The example would be simpler and clearly if it just stated that the
> vendor provisions each device with a TLS key pair and certificate matching
> the
> assigned name which are used for mutual authentication. The current
> discussion of
> 'proceeding to authentication' is confusing, as it's not a phrase I've
> encoutered
> before and implies to me that authentication is not completed using the
> cert/keys, while the explanation about needing both names/keys for
> regeneration
> seems neither necessary or correct (any trusted key can be used to replace
> itself, whether or not a certificate with name is also present).
>
> 1.3.2: I think it would be simpler and clearer if the example focused
> solely on
> establishing trust between DOI/HNA via the provision of credentials and
> omitted
> the speculation about verification of ownership that may or may not be
> required, and seems like a very separate concern at a different level of
> the
> stack.
>
> 2. Clarification of some definitions
>
> Registered Homenet Domain: Given there can be multiple Public Homenet
> Zones,
> presumably there can also be multiple Registered Homenet Domains which
> should
> be stated here for clarity.
>
> Public Authoritative Servers: s/for the Homenet Domain/for the Registered
> Homenet Domain/ - 'Homenet Domain' alone is not a defined term.
>
> Homenet Reverse Zone: Why is this not called the 'Public Homenet Reverse
> Zone'?
> Given the 'Homenet Zone' is private, and this is considered the reverse
> for the
> 'Public Homenet Zone' this seems like a confusing inconsistency. Every
> other
> term starting Homenet refers to an internal resource, while the
> corresponding
> external resources all start with 'Public' except in this case. So I would
> expect the Homenet Reverse Zone to be the private zone matching home.arpa
> containing RFC1918 and IPv6 ULA addresses, etc.
>
> 3.1: s/detaille din/detailed in/ - in the final sentence of the first
> paragraph.
>
> 3.1: "The DOI is also responsible for ensuring the DS record has been
> updated
> in the parent zone." - This statement is too authoritative, and conflicts
> with
> 4.2 which clarifies (correctly) that DS updates in the parent zone are
> optional. I suggest removing this statement, or correcting it to somethign
> like
> "Depending on configuration, the DOI may also be responsible...".
>
> 3.2: s/RECOMMENDED to use TLS with mutually authentication/RECOMMENDED to
> use
> TLS with mutual authentication/ - in the final sentence of the 2nd
> paragraph.
>
>
>
>
> _______________________________________________
> homenet mailing list
> homenet@ietf.org
> https://www.ietf.org/mailman/listinfo/homenet
>


-- 
Daniel Migault
Ericsson