Re: [dns-privacy] Demultiplexing HTTP and DNS on the same listener [New Version Notification for draft-dkg-dprive-demux-dns-http-02]

"Roy T. Fielding" <fielding@gbiv.com> Wed, 03 May 2017 19:37 UTC

Return-Path: <fielding@gbiv.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 1D33C12946C for <dns-privacy@ietfa.amsl.com>; Wed, 3 May 2017 12:37:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.401
X-Spam-Level:
X-Spam-Status: No, score=-2.401 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, RCVD_IN_SORBS_SPAM=0.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=gbiv.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 lSxCf6idR_4I for <dns-privacy@ietfa.amsl.com>; Wed, 3 May 2017 12:37:37 -0700 (PDT)
Received: from homiemail-a68.g.dreamhost.com (sub5.mail.dreamhost.com [208.113.200.129]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 758FB129B21 for <dns-privacy@ietf.org>; Wed, 3 May 2017 12:35:53 -0700 (PDT)
Received: from homiemail-a68.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a68.g.dreamhost.com (Postfix) with ESMTP id BB6B348000B33; Wed, 3 May 2017 12:35:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gbiv.com; h=content-type :mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; s=gbiv.com; bh=zgA82WxXD4pygTWFGGZlbEOFUEE=; b=RF6Tgt5sL2ZRBiAxA9u4wQiUWx4M w6sFDQHH+3ePuFl9ljtaYI8D1a3cO+nDzUclp9HFscN2cOi5MM40tKPL3/259XLV 3moaKNvvd/z77gIGVsHWUD51UcSH0KNzMhXsqtIgXDFpYRvkzS4vF45aG0CvdaVD f10TWOcsbrTuucg=
Received: from [192.168.1.8] (ip68-228-71-159.oc.oc.cox.net [68.228.71.159]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: fielding@gbiv.com) by homiemail-a68.g.dreamhost.com (Postfix) with ESMTPSA id 9F65748000B30; Wed, 3 May 2017 12:35:52 -0700 (PDT)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\))
From: "Roy T. Fielding" <fielding@gbiv.com>
In-Reply-To: <0a2e075d-59fc-1e0d-d745-31f5608a525c@isi.edu>
Date: Wed, 03 May 2017 12:35:52 -0700
Cc: HTTP Working Group <ietf-http-wg@w3.org>, DNS Privacy Working Group <dns-privacy@ietf.org>
Content-Transfer-Encoding: 7bit
Message-Id: <B0511F40-AA89-47C3-93F2-7A5121F842AA@gbiv.com>
References: <87tw51remp.fsf@fifthhorseman.net> <0a2e075d-59fc-1e0d-d745-31f5608a525c@isi.edu>
To: Daniel Kahn Gillmor <dkg@fifthhorseman.net>, Joe Touch <touch@ISI.EDU>
X-Mailer: Apple Mail (2.2104)
Archived-At: <https://mailarchive.ietf.org/arch/msg/dns-privacy/XSIVDv3GS-xPJwJQyFD5c7Mgdvs>
Subject: Re: [dns-privacy] Demultiplexing HTTP and DNS on the same listener [New Version Notification for draft-dkg-dprive-demux-dns-http-02]
X-BeenThere: dns-privacy@ietf.org
X-Mailman-Version: 2.1.22
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: Wed, 03 May 2017 19:37:39 -0000

> On May 3, 2017, at 11:33 AM, Joe Touch <touch@ISI.EDU> wrote:
> 
> Hi, all,
> 
> FWIW...speaking from the experience I have leading the IANA ports expert
> review team and developing BCP165 (RFCs 6335 and RFC7605):
> 
> On 5/3/2017 11:15 AM, Daniel Kahn Gillmor wrote:
>> And Joe Touch pointed out that the draft should explicitly update the
>> HTTP as well as DNS specifications, so i've marked the latest revision
>> of the draft that way.  If you think that's OK (or if you think it's
>> unnecessary), please let me know!
>> 
>> Assumptions about HTTP
>> ----------------------
> I would characterize this as redefining ports 80 and 443 to include DNS
> as part of the HTTP specification.
> 
> That has some very important ramifications, indicated here as
> "assumptions", that limit the future development of HTTP (notably
> reserving certain prefixes and patterns to differentiate DNS requests
> from HTTP). That could constrain all current and future uses of ports 80
> and 443, and could potentially affect any other service that uses HTTP
> as a framing layer.
> 
> Joe

I agree with Joe.  My answer would be "no".  It certainly isn't an Update
for the HTTP specs.

I see no reason to suggest that spraying DNS on an HTTP connection would
be interoperable.  HTTP/1.x has a tradition (good or bad) of allowing
robust parsing of bad messages, which means no analysis of DNS uniqueness
can guard against the potential variance of a thousand or so independent
implementations of servers and intermediaries (there are at least four
figures of independent server development in the craft-your-own-microserver
category).

In contrast, it is trivial to transform a DNS query into a GET request
which can be handled by any current or future version of HTTP.
All you need is the absolute URI, which is already defined, and a
media type for the response payload.  That would just be using HTTP,
so no need to call that an update either.

....Roy