Re: issue 381: Discovery of the support of the HTTP2 protocol: DNS-based Upgrade

Eliot Lear <lear@cisco.com> Tue, 18 February 2014 09:54 UTC

Return-Path: <ietf-http-wg-request@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id ABB0F1A0613 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 18 Feb 2014 01:54:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -15.05
X-Spam-Level:
X-Spam-Status: No, score=-15.05 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_HI=-5, RP_MATCHES_RCVD=-0.548, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham
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 V3BPhJMppvcS for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 18 Feb 2014 01:54:22 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3FE091A061A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 18 Feb 2014 01:54:15 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1WFhMr-0003Gd-87 for ietf-http-wg-dist@listhub.w3.org; Tue, 18 Feb 2014 09:53:33 +0000
Resent-Date: Tue, 18 Feb 2014 09:53:33 +0000
Resent-Message-Id: <E1WFhMr-0003Gd-87@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <lear@cisco.com>) id 1WFhMh-0003Cq-2w for ietf-http-wg@listhub.w3.org; Tue, 18 Feb 2014 09:53:23 +0000
Received: from [173.38.203.53] (helo=aer-iport-3.cisco.com) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <lear@cisco.com>) id 1WFhMf-00039q-RZ for ietf-http-wg@w3.org; Tue, 18 Feb 2014 09:53:23 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=3777; q=dns/txt; s=iport; t=1392717201; x=1393926801; h=message-id:date:from:mime-version:to:cc:subject: references:in-reply-to:content-transfer-encoding; bh=/WXUmvnAZYHKNMlcQ91bUHRLodKuVEs2WSkRc2B2tlk=; b=N1jY75s3HxWcCeJRxeQRMqyMXiQyue79YmHPcZgIBfgCZ+WGrDXEU/Z7 5a4EiZEBrUb+qBUYMK+wlTRoRdd9xU3YEA6JSN54Q+Ek6TOzXx3TcFzJt n6zprY0Rzd5bGG6tbAcHbkRrHRMkjAplX7C7WC86kSrDubLSHzVN7BWFe 4=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AhsFAJ4sA1OQ/khM/2dsb2JhbABZgwY4g1m8TYEVFnSCJQEBAQQjBAsBRhALGAICBSECAg8CLBoGDQEFAgEBiAENqQqiDheBKY1YB4JvgUkEmCySI4FvgT87
X-IronPort-AV: E=Sophos;i="4.97,501,1389744000"; d="scan'208";a="625227"
Received: from ams-core-3.cisco.com ([144.254.72.76]) by aer-iport-3.cisco.com with ESMTP; 18 Feb 2014 09:52:55 +0000
Received: from mctiny.local ([10.61.203.158]) by ams-core-3.cisco.com (8.14.5/8.14.5) with ESMTP id s1I9qsiZ006697 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Tue, 18 Feb 2014 09:52:54 GMT
Message-ID: <53032D76.80309@cisco.com>
Date: Tue, 18 Feb 2014 10:52:54 +0100
From: Eliot Lear <lear@cisco.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.3.0
MIME-Version: 1.0
To: Josh Goodall <joshua.goodall@gmail.com>
CC: Martin Thomson <martin.thomson@gmail.com>, IETF HTTP WG <ietf-http-wg@w3.org>
References: <9E529263-C8FB-494C-B2A8-DB626C8D0876@gmail.com> <CABkgnnW9SFDKcewS=+WKvn5H=oo=EXrd+gF9jG0NWS709+FkuQ@mail.gmail.com> <53027F39.9000804@cisco.com> <31ED6CE3-CA1E-4EC5-980B-37CF40FF10F1@gmail.com> <5302F311.80201@cisco.com>
In-Reply-To: <5302F311.80201@cisco.com>
X-Enigmail-Version: 1.6
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=173.38.203.53; envelope-from=lear@cisco.com; helo=aer-iport-3.cisco.com
X-W3C-Hub-Spam-Status: No, score=-10.1
X-W3C-Hub-Spam-Report: AWL=-3.731, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RDNS_NONE=1.274, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5
X-W3C-Scan-Sig: lisa.w3.org 1WFhMf-00039q-RZ e993816a0fcd356fae313a02d47b5d30
X-Original-To: ietf-http-wg@w3.org
Subject: Re: issue 381: Discovery of the support of the HTTP2 protocol: DNS-based Upgrade
Archived-At: <http://www.w3.org/mid/53032D76.80309@cisco.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/22261
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

Replying to myself, I'd like to make one point clear:

It is ABSOLUTELY okay to use SRV so long as we accept that in some
circumstances there will be some performance degradation, and that we
will need to sort versioning beyond h2.  That latter issue implies some
IN BAND upgrade mechanism for h2->hN.  In the case of TLS, we might
simply handle this with ALPN, but someone from the TLS side should think
about this in the context of a fast restart.

Eliot

On 2/18/14, 6:43 AM, Eliot Lear wrote:
> Josh,
>
> On 2/18/14, 12:08 AM, Josh Goodall wrote:
>> Hi,
>>
>> On 18 Feb 2014, at 8:29 am, Eliot Lear <lear@cisco.com> wrote:
>>
>>> Right.  I optimized for fewer queries.  The record format that I had was
>>> one approach.  The key issue is that one should not have levels of
>>> indirection in the RDATA, and even better that the QNAME for the record
>>> be the same as for the A or AAAA.  On the other hand, then you have to
>>> deploy a new RRtype.
>> May I specifically address the issue of more queries? Yes it can
>> happen - but I’m not sure it’s going to be a problem in the wild.
>> I imagine that would only happen in two unlikely cases:
>>
>> * someone were to separately delegate the “_tcp” subdomain. Not
>>   saying it can’t happen, but I haven’t seen it in ten years of
>>   deploying SRV records.
> It happens with great regularity in enterprise environments and is the
> preferred method for scaling Microsoft AD.  Typically the zone is
> delegated to the directory server.  In fact, one enterprise
> administrator I spoke with about this didn't realize you had the option
> to NOT delegate the _TCP zone.
>
>> * If HTTP/2.x changes to specify more transports than TCP. Even
>>   then, mechanisms exist to handle that too (new scheme names, or
>>   explicit in URL e.g. I think the Diameter protocol includes this).
> It is possible to use a new scheme name, but that has been rejected in
> the past due to the so-called "side of the bus" problem.  Eg, what do
> you do when you see "Go to MyFavoriteExampleDentist.com"?  I think Mark
> just wrote a draft entitled draft-nottingham-uri-get-off-my-lawn that
> says not to encode too much semantics in the URI itself.
>> and one slightly more likely case:
>>
>> * using an alias in the RDATA of a SRV record is a common
>>   misconfiguration that causes additional processing.
>>
>> In practise, most clients using SRV records see one DNS query packet,
>> one response, job done. When properly configured, in-zone A and
>> AAAA records come back in the Additional Data section, because SRV
>> records get special treatment that way. That's *fewer* queries.
> I agree the use of the SRV record to get the AAAA record in additional
> data is attractive when the information is authoritatively available
> (e.g., in the same zone), but there are problems with that as well,
> because that information can't be signed.
>> I have mixed feelings about new record types, they erect barriers
>> to entry, and given that I think the case for SRV remains strong.
> And my own thinking about this is that you shouldn't have a single path
> to success.  Michael Welzl just presented a very strong argument about
> this sort of thing at the ITAT workshop.  Use whatever gets you there. 
> But I would caution that use of multiple records would be a bad idea. 
> Let's pick one (or fewer) and get on with it.
>
> There are a few other issues with SRV.  For one thing, it cannot provide
> protocol version information in the RDATA.  That means you would have to
> do multiple queries once we get beyond h2.  And we have all but
> eliminated any protocol extension mechanism at the http level in
> Zürich.  Bad combination.
> Eliot
>
>
>