Re: Alt-SvcB

David Schinazi <dschinazi.ietf@gmail.com> Tue, 25 October 2022 22:57 UTC

Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@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 (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 149C9C14CE2A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 25 Oct 2022 15:57:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.059
X-Spam-Level:
X-Spam-Status: No, score=-5.059 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_DBL_BLOCKED_OPENDNS=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 nfzNFL5Eor34 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 25 Oct 2022 15:57:53 -0700 (PDT)
Received: from lyra.w3.org (lyra.w3.org [128.30.52.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 63130C14F730 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 25 Oct 2022 15:57:52 -0700 (PDT)
Received: from lists by lyra.w3.org with local (Exim 4.94.2) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1onSop-004jWE-Tt for ietf-http-wg-dist@listhub.w3.org; Tue, 25 Oct 2022 22:54:47 +0000
Resent-Date: Tue, 25 Oct 2022 22:54:47 +0000
Resent-Message-Id: <E1onSop-004jWE-Tt@lyra.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by lyra.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from <dschinazi.ietf@gmail.com>) id 1onSon-004jUw-US for ietf-http-wg@listhub.w3.org; Tue, 25 Oct 2022 22:54:45 +0000
Received: from mail-ej1-x633.google.com ([2a00:1450:4864:20::633]) by mimas.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from <dschinazi.ietf@gmail.com>) id 1onSom-001n7y-40 for ietf-http-wg@w3.org; Tue, 25 Oct 2022 22:54:45 +0000
Received: by mail-ej1-x633.google.com with SMTP id sc25so16610009ejc.12 for <ietf-http-wg@w3.org>; Tue, 25 Oct 2022 15:54:43 -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=kh016cmSgOHNCUB598lq9n8SO4iASPk+vdHv0RHt3PE=; b=L0/Yk6e+vJowzAOd3H/X3XsQy8qAbPQlhHQevlJfJbrjxgvh+/4zkyIAz9GbDCz+Vb +DLo88pj4PVhLKXdnAMg0sMeFa3zFLDgfUc+TuZy20IrCm/UnG+0ZA18ErBifRYfQJnb aONCwhmCmpoeGHbUsRUIi9P4gEQ7oA95KuvY28RlMp+F+kAAMbpGA9+Fart/f+2E54I2 VkbyBx4JJy4natZZDJwRAj/YNlkb841zpcT1opVu0sUSy6d0Bth67zLxqsDMMmS2tM0L SP9Fc1h/7yi2iB3231IGFfp908UekvhdKJoEnZWU+V9CFxZnnLvdwN/VYFoQG/pSerS/ xV8w==
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=kh016cmSgOHNCUB598lq9n8SO4iASPk+vdHv0RHt3PE=; b=eom/QKQcmFqGO/whioH5Hn2pOgB4f893+sEfG/gmvSISYUY86uXx3arbMegUlrmxPF KOFPJVkHUXmJuQnUxogwagLfeXZGFCcF06cHmtDxjJnsOESdITmcQRb5k68k95P9+6tj lOcTwtF2FvMwj/8Z6RlKfzeEoZCZvMYo6MlIA+tPqJDWY1XtUQw0hdzdn++eZmn/W64Q UbcXk7EpS3fULhRYLZQTXjpPJ/Xg2bqR5Q4Xh9/5t4rcqDBGZ5uyUc89EEjcyHC8oifZ r3GWxyGwCeP/K4XM370o63yDjcQz1HuSEdrnSmf/rH0u/bswjugLGvIVhsvsbcnUkdoU kPhw==
X-Gm-Message-State: ACrzQf3oK65IsqNcO9AcbYW4TAjapli9b0KJ5uQeJZtoaMWiRtRf29oe w8FCGoVQ9dFkKY3JxNRAcs/s6QTQ1jHtoKfCwUE=
X-Google-Smtp-Source: AMsMyM4gx/jkqIF7czu+Iii4XvHgVY2WSRCSfkbit1itmXJuSfCHNP8IRMGshTf1vYq6LEnRIGRgSbRkkYqIYdCfs2s=
X-Received: by 2002:a17:906:fe0b:b0:787:f1d3:2105 with SMTP id wy11-20020a170906fe0b00b00787f1d32105mr34683267ejb.83.1666738472711; Tue, 25 Oct 2022 15:54:32 -0700 (PDT)
MIME-Version: 1.0
References: <bfc198a9-25da-4a96-aca9-5e4451c19105@betaapp.fastmail.com> <CAPDSy+5d7h63_bpBQBMJMbXA0O6rNe7HdstePW3ggF6zmSBnrA@mail.gmail.com> <CAKcm_gNNxCaaG65Cfg9VqS9nwH-gWm3sA42hYfYYvxdgQqoxOg@mail.gmail.com> <0BE7FC0E-D294-453B-A9EB-01825447168F@apple.com> <CALGR9oafkfoSD7HUXyqaZMeXu-XqTt4eJ6EhHdVb_t_v4wiWNg@mail.gmail.com>
In-Reply-To: <CALGR9oafkfoSD7HUXyqaZMeXu-XqTt4eJ6EhHdVb_t_v4wiWNg@mail.gmail.com>
From: David Schinazi <dschinazi.ietf@gmail.com>
Date: Tue, 25 Oct 2022 15:54:20 -0700
Message-ID: <CAPDSy+7Hton7YWOffcczsCNbJ1EiJ_Pcm0mPygtEa6qLZ151+Q@mail.gmail.com>
To: Lucas Pardue <lucaspardue.24.7@gmail.com>
Cc: Tommy Pauly <tpauly@apple.com>, Ian Swett <ianswett@google.com>, Martin Thomson <mt@lowentropy.net>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="000000000000997bb605ebe3ca34"
Received-SPF: pass client-ip=2a00:1450:4864:20::633; envelope-from=dschinazi.ietf@gmail.com; helo=mail-ej1-x633.google.com
X-W3C-Hub-DKIM-Status: validation passed: (address=dschinazi.ietf@gmail.com domain=gmail.com), signature is good
X-W3C-Hub-Spam-Status: No, score=-6.1
X-W3C-Hub-Spam-Report: 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1onSom-001n7y-40 63e77a2608bd304fe3f70ec09e93bed7
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Alt-SvcB
Archived-At: <https://www.w3.org/mid/CAPDSy+7Hton7YWOffcczsCNbJ1EiJ_Pcm0mPygtEa6qLZ151+Q@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/40487
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: <https://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

We'll be ready to drop support for Alt-Svc once browsers have access to
HTTPS RR everywhere. Until that happens, browsers will still use Alt-Svc
for new HTTP versions, and we will still add goodies to Alt-Svc. If the
IETF doesn't standardize those, then browsers will come up with their own
solutions. The problem here is once again misaligned incentives: browsers
want to be fast and to use new standards but it's the OSes that need to
change their DNS APIs. Do we know anyone at POSIX interested in revamping
getaddrinfo?

David

On Tue, Oct 25, 2022 at 2:25 PM Lucas Pardue <lucaspardue.24.7@gmail.com>
wrote:

> I'd also add that by deprecating Alt-Svc, we can reasonably descope it
> from other related work, to the advantage if the community.
>
> For instance, Martin Duke and I have a draft intended to optimise
> performance of selecting QUIC versions with HTTP/3 [1]. We describe how
> this works with the HTTPS record. We also have to accommodate Alt-Svc
> since  "that's what people use", even though we know that Alt-Svc's design
> is broken for this type of versioning support in certain scenarios like
> multi-CDN.
>
> I can live with contuinuing to send Alt-Svc in order to support legacy
> clients. Alt-Svc being frozen in time and not getting new goodies seems
> fair.
>
> Cheers
> Lucas
>
> [1] -
> https://datatracker.ietf.org/doc/draft-duke-httpbis-quic-version-alt-svc/
>
> On Tue, 25 Oct 2022, 21:33 Tommy Pauly, <tpauly@apple.com> wrote:
>
>> The way I’d look at this is that we should be fine keeping the use of
>> Alt-Svc for existing (and what will become legacy) clients to upgrade to
>> h3, but we should not use it for any new protocol discovery. I.e., when we
>> have an HTTP version that needs some transport other than TCP and QUIC, we
>> shouldn’t plan on using Alt-Svc for that. So, our timeline should be to
>> make sure clients can do HTTPS RRs by the time we replace QUIC, which
>> should give us time.
>>
>> Tommy
>>
>> On Oct 25, 2022, at 1:21 PM, Ian Swett <ianswett@google.com> wrote:
>>
>> I would second David's statement.  In the world we live in today, we
>> still need to use the Alt-Svc header for a substantial number of users.
>>
>> On Tue, Oct 25, 2022 at 2:31 PM David Schinazi <dschinazi.ietf@gmail.com>
>> wrote:
>>
>>> Hi Martin,
>>>
>>> Thanks for writing this up. Overall I think the long-term strategy makes
>>> sense, but I think it's too early to obsolete/deprecate 7838. It's fairly
>>> common for browsers to use getaddrinfo() on some platforms and that does
>>> not provide access to HTTPS RRs. In those cases, 7838 is the only path to
>>> using HTTP/3, so I expect browsers to keep using it for quite some time.
>>> Marking 7838 as obsolete doesn't reflect that reality.
>>>
>>> David
>>>
>>> On Mon, Oct 24, 2022 at 5:10 PM Martin Thomson <mt@lowentropy.net>
>>> wrote:
>>>
>>>> Hey everyone,
>>>>
>>>> The Alt-Svc design team has been very busy recently and making some
>>>> progress on working out an alternative alternative services design.
>>>>
>>>> I just posted
>>>> https://martinthomson.github.io/alt-svcb/draft-thomson-httpbis-alt-svcb.html
>>>> as a -00 draft.  This outlines the alternative design that we've been
>>>> exploring in the design team.
>>>>
>>>> The basic idea is split into two procedures:
>>>>
>>>> 1. Use: When an Alt-SvcB field or ALTSVCB frame is encountered, the
>>>> client looks for HTTPS records for the provided name in the DNS and creates
>>>> a connection using what it learns.
>>>> 2. Reuse: When a client that has previously used an alternative service
>>>> connects again, it remembers the HTTPS record that worked.  It performs a
>>>> regular HTTPS record lookup for the server - not using the alternative that
>>>> it learned, but the name from the URI - but it prefers the alternative it
>>>> previously used if that alternative appears in the results.
>>>>
>>>> The draft explains in more detail and goes into some of the
>>>> implications of the design.
>>>>
>>>> This is not done by any imagining.  We have a bunch of open issues at
>>>> https://github.com/martinthomson/alt-svcb/issues that do require some
>>>> amount of input.  But we think that this is a promising approach and would
>>>> appreciate more input.
>>>>
>>>> Cheers,
>>>> Martin
>>>>
>>>>
>>