Re: [dns-privacy] [Ext] ALPN protocol ID for DoT

"Martin Thomson" <mt@lowentropy.net> Fri, 13 December 2019 00:37 UTC

Return-Path: <mt@lowentropy.net>
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 468D1120113 for <dns-privacy@ietfa.amsl.com>; Thu, 12 Dec 2019 16:37:10 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.701
X-Spam-Level:
X-Spam-Status: No, score=-2.701 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=lowentropy.net header.b=wYiGXYzy; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=Rl/A8Gvk
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 7Lkn5qJc7bX0 for <dns-privacy@ietfa.amsl.com>; Thu, 12 Dec 2019 16:37:09 -0800 (PST)
Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DD03B1200F1 for <dns-privacy@ietf.org>; Thu, 12 Dec 2019 16:37:08 -0800 (PST)
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 5C8B4773 for <dns-privacy@ietf.org>; Thu, 12 Dec 2019 19:37:07 -0500 (EST)
Received: from imap2 ([10.202.2.52]) by compute1.internal (MEProxy); Thu, 12 Dec 2019 19:37:07 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lowentropy.net; h=mime-version:message-id:in-reply-to:references:date:from:to :subject:content-type; s=fm1; bh=zcLRW7LBNSEkU9RLro+CQSN6r7Wwjk2 qizeJzWPCEYg=; b=wYiGXYzya/w89kAhT7h866aYyKeIxYSvSv5uYg1yp/XnhHD iE1TxScQf2yQjJveBMld7Mt/w1316A2lhRx1RbbVGV5Lw8rHdnicauaite4W9mmR f3LsJvGQ8/OFt0yLP9txK5n13MosDGScS/9LuVan5bQhVfyqEqn3X0uu+jc07zyJ BKz2icfh4V0rDFm0XA/Z0Q7hboiH/lgQx5ATMrefbI1RSmqikUCWDnu2xb2Zjw9Z qQl9uNfsqT54BCfCtJwPKmwuZfuz4t2yhFDGtYYkbB91aGiSTmpg7O8d5zDWgkGs GGTQ/ehOCwVSqEXhs39Ic34IhpH6vxnARjTHUnA==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=zcLRW7 LBNSEkU9RLro+CQSN6r7Wwjk2qizeJzWPCEYg=; b=Rl/A8Gvkpbl+B43HIn8rVn tWvUmqLVOrkJD+QRrH1SM2vr0srTnaTs09G9m1CaAqeHqlcFoa3gDFfI5stRmgQt /ECULCXKytZm8r1XHcSzdUaTdRETUpdaLhRbSPRpGRKW9jyQa4MPbHI0dD5sie7q H0i1UC1z/BBGrplHXDqiVBb4BspT0ooT+KNU+ildZA4krvq4qjLbWQxztsGGohU8 HpS56bybCmp8b7S4ZZKsMoJHxAVLsx2xuEdP2Wtoc3bMAxpOR9KB1tIIx3KrziKr kUB3AI8fjHUL3kfpC8xIzUI9sLhC6SCKHViDlGY+2Swt3QITfJADoF3j/M1XicmA ==
X-ME-Sender: <xms:Mt3yXWFGmED1lkpi4P9J_aOeXpHtEm65txKwU8gZo9VG_iccI5n95w>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrudelkedgvdehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfgjfhffhffvufgtsehttd ertderredtnecuhfhrohhmpedfofgrrhhtihhnucfvhhhomhhsohhnfdcuoehmtheslhho figvnhhtrhhophihrdhnvghtqeenucfrrghrrghmpehmrghilhhfrhhomhepmhhtsehloh ifvghnthhrohhphidrnhgvthenucevlhhushhtvghrufhiiigvpedt
X-ME-Proxy: <xmx:Mt3yXTv8kCDWemkhR50M4zTUw56WCMM1dS78NGxvuoByjd7RP5hX9A> <xmx:Mt3yXS9UphAvpBSn3XWUYLIGvjgklRVpvOUjVNKYmqk-zMymYw6QmQ> <xmx:Mt3yXfIHvky6c97KqZzQIvvx7FqJptor_V6gGZdXte2YPefFl_0OzQ> <xmx:M93yXaoqw0jluWWOnDMhAhAWBLkPzngZZMmrjGf-2NEMLY8160MupA>
Received: by mailuser.nyi.internal (Postfix, from userid 501) id 9EA23E00A2; Thu, 12 Dec 2019 19:37:06 -0500 (EST)
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.1.7-679-g1f7ccac-fmstable-20191210v1
Mime-Version: 1.0
Message-Id: <877272dd-33d2-42f2-a393-0817cb97d660@www.fastmail.com>
In-Reply-To: <7F87E623-3D21-4061-816B-1B18FAED36FB@icann.org>
References: <D59215DB-15F4-40F1-9606-C8BB6829BEE6@akamai.com> <7F87E623-3D21-4061-816B-1B18FAED36FB@icann.org>
Date: Fri, 13 Dec 2019 11:36:48 +1100
From: Martin Thomson <mt@lowentropy.net>
To: dns-privacy@ietf.org
Content-Type: text/plain
Archived-At: <https://mailarchive.ietf.org/arch/msg/dns-privacy/882nPEPjnHRtO5zaMBilDRxIIqc>
Subject: Re: [dns-privacy] [Ext] ALPN protocol ID for DoT
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: Fri, 13 Dec 2019 00:37:10 -0000

On Fri, Dec 13, 2019, at 02:34, Paul Hoffman wrote:
> This was discussed during the creation of RFC 7858. I would summarize 
> the WG discussion as follows:
> 
> - It is fine technically.
> 
> - It will cause confusion because there will be two ways to do DoT, so 
> a client might have to test each way in order to know if the resolver 
> supports DoT.

This is a curious assertion.  HTTPS operated for many years without ALPN.  Right now, you negotiate HTTP/1.1 with the tag "http/1.1" OR by omitting ALPN.  The same would seem to apply here equally.  Of course, using DoT on port 443 means that you might not get the default you want, so this is a fine thing.
 
> - It is easier for clients to configure a different port than to 
> configure ALPN. In fact, many clients cannot configure ALPN at all.

This depends very much on deployment.  But there is another consideration: without ALPN, you have the potential for client and server to disagree on what the protocol is.  We've seen practical attacks based on that confusion.

I think that using ALPN for new protocols is not just OK, but virtually a necessity.