Re: UDP source ports for HTTP/3 and QUIC
David Schinazi <dschinazi.ietf@gmail.com> Thu, 15 July 2021 17:10 UTC
Return-Path: <dschinazi.ietf@gmail.com>
X-Original-To: quic@ietfa.amsl.com
Delivered-To: quic@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 978723A0DEA for <quic@ietfa.amsl.com>; Thu, 15 Jul 2021 10:10:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.096
X-Spam-Level:
X-Spam-Status: No, score=-2.096 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_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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 ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jUAi98UX3DdE for <quic@ietfa.amsl.com>; Thu, 15 Jul 2021 10:10:37 -0700 (PDT)
Received: from mail-pj1-x102b.google.com (mail-pj1-x102b.google.com [IPv6:2607:f8b0:4864:20::102b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5EFFA3A0DEB for <quic@ietf.org>; Thu, 15 Jul 2021 10:10:37 -0700 (PDT)
Received: by mail-pj1-x102b.google.com with SMTP id b8-20020a17090a4888b02901725eedd346so4908987pjh.4 for <quic@ietf.org>; Thu, 15 Jul 2021 10:10:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=VKSBHWRbrb0QGyhrVRWl9HGenGTs0enN0BXz/GdxazQ=; b=hxrdGlQ0qBE6nZXkuUCusJh0ssdZf6djJLTO2yMzjTfp15/4T9RcjFEkL7vzWxkXXG IuLgJMZImH8GucWWTBmjESSeegNxeCbRMFRBDKb5v+tDZhean1bXge0DsdfwDGq/ergY xsp3w2yoxMuIsd1y94i3Hcjt51crbnjvEmmAofp49vw41aRmEfWM3u4RSqDAxrvIv9rW N1jkfLn2Pxzh5QFQ+4mIlBBQsWSXGna5w+lMOyCiN8kb782zPGnvE/yqJ6O3gG/ZN78S GmbWbO07TNYv5m38S8W3w+ItsxCTA4OMMRSgE3YANLzp7wB5pMKkafgPPazFJDHG9lTe 3icg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=VKSBHWRbrb0QGyhrVRWl9HGenGTs0enN0BXz/GdxazQ=; b=t4ZGrjbE6ZYiBGABo8q98CJj3QA2eE9AVMZdoNMbxVRoibD8tx7MyfENHW2GHJayP/ OyYc8jwQQ4e/GWmhwCKLcniZvi2gat11L48TtKc4kBDBAjlZPw5hlqki5dPo8WzQJg81 h0xE7waOhbT2J6kXPqeUu8ZiqH5S2j/xIsyZAP9DGyN4GVxnFS3h00NHdqMRKl76S2rx vmDZq48nogmjq1f5ssMTYM4S8A2Aim5TfjVCmLShaWpKIx1NjHNi511VYUpiSFODBHi5 +NpYPV2YQgZw8dNtN39dRrxrYWsVZ3iKC2Ozc/01HQS5TNcmuFs1inXZh0/1t2tZ46v6 R+9g==
X-Gm-Message-State: AOAM5332YA0sKDR3q19xmkAZNHRaAW8WUYogDciH/M2jSWdOrvEUmo+2 7ulZC98jMzE7lKgCGnIf+r0/Lnp7SMfrmGx0DjY=
X-Google-Smtp-Source: ABdhPJzVkqq3TKhxaXdD3bIuTbhCOZeByuB+9d8H1q1d047FqaFV003IsFtWwprM74VpK1VAT+HJEgnTJLENhhJFlqI=
X-Received: by 2002:a17:902:ec85:b029:12b:583c:a481 with SMTP id x5-20020a170902ec85b029012b583ca481mr2570495plg.5.1626369031255; Thu, 15 Jul 2021 10:10:31 -0700 (PDT)
MIME-Version: 1.0
References: <3985895D-D420-4995-831E-332E33693B79@mnot.net> <6F79A78A-1DF8-4A48-9B7F-334B309C9C26@gmail.com> <CALZ3u+bZ22N3iHkheK9hQ0qd5eGwuvTbQXL5M7n13uP+X=QM1Q@mail.gmail.com> <DM6PR00MB0857BC7DAEE2BDC12BE4A0C1B3129@DM6PR00MB0857.namprd00.prod.outlook.com>
In-Reply-To: <DM6PR00MB0857BC7DAEE2BDC12BE4A0C1B3129@DM6PR00MB0857.namprd00.prod.outlook.com>
From: David Schinazi <dschinazi.ietf@gmail.com>
Date: Thu, 15 Jul 2021 10:10:20 -0700
Message-ID: <CAPDSy+5XaNLqwhrAD4qY+ywVfv68DX43YK7nrAudvDhk=dv3hA@mail.gmail.com>
Subject: Re: UDP source ports for HTTP/3 and QUIC
To: Nick Banks <nibanks@microsoft.com>
Cc: "ximaera@gmail.com" <ximaera@gmail.com>, "mikkelfj@gmail.com" <mikkelfj@gmail.com>, "mnot@mnot.net" <mnot@mnot.net>, "quic@ietf.org" <quic@ietf.org>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="00000000000061bae705c72c8c79"
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/1ZAAsUj6y6H72_eAzamuX2A7ktE>
X-BeenThere: quic@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Main mailing list of the IETF QUIC working group <quic.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/quic>, <mailto:quic-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/quic/>
List-Post: <mailto:quic@ietf.org>
List-Help: <mailto:quic-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/quic>, <mailto:quic-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 15 Jul 2021 17:10:42 -0000
Chrome doesn't plan on having multiple connections share a UDP source port. In part because sharing would require the overhead of client connection IDs, but mainly the fact that switching away from the one-port-per-connection model we have today is work towards solving a problem that we don't have. Back to Mark's original email, I think there's value in writing an RFC to document this behavior - that way clients can have code that requests a different source port from the OS if it initially assigns one that is likely to be blocked by servers. And while modifying NATs is a long game, RFCs do tend to move the needle over time. David On Thu, Jul 15, 2021 at 6:40 AM Nick Banks <nibanks= 40microsoft.com@dmarc.ietf.org> wrote: > You should definitely not make any assumptions around having unique source > ports for QUIC connections. MsQuic already supports sharing the local port > and is looking to make it a default behavior (for at least some scenarios) > to avoid the fairly common "port exhaustion" problems we see with TCP. This > doesn't necessarily mean all connections would be on the same source port, > but only a few ports might be used for all connections. > > Thanks, > - Nick > > Sent from Outlook <http://aka.ms/weboutlook> > ------------------------------ > *From:* QUIC <quic-bounces@ietf.org> on behalf of Töma Gavrichenkov < > ximaera@gmail.com> > *Sent:* Thursday, July 15, 2021 6:36 AM > *To:* Mikkel Fahnøe Jørgensen <mikkelfj@gmail.com> > *Cc:* Mark Nottingham <mnot@mnot.net>; IETF QUIC WG <quic@ietf.org>; HTTP > Working Group <ietf-http-wg@w3.org> > *Subject:* Re: UDP source ports for HTTP/3 and QUIC > > Peace, > > On Thu, Jul 15, 2021, 11:57 AM Mikkel Fahnøe Jørgensen <mikkelfj@gmail.com> > wrote: > > As others have pointed out, I would suspect an RFC with a port list would > quickly become outdated. > > > Speaking generally of lists of a content too dynamic and too host-specific > to hardcode in RFCs, there once was a habit of putting them into DNS > records. > > -- > Töma > >
- UDP source ports for HTTP/3 and QUIC Mark Nottingham
- Re: UDP source ports for HTTP/3 and QUIC Martin Thomson
- Re: UDP source ports for HTTP/3 and QUIC Willy Tarreau
- Re: UDP source ports for HTTP/3 and QUIC Mikkel Fahnøe Jørgensen
- Re: UDP source ports for HTTP/3 and QUIC Willy Tarreau
- Re: UDP source ports for HTTP/3 and QUIC Stefan Eissing
- Re: UDP source ports for HTTP/3 and QUIC Willy Tarreau
- Re: UDP source ports for HTTP/3 and QUIC Töma Gavrichenkov
- Re: UDP source ports for HTTP/3 and QUIC Töma Gavrichenkov
- Re: UDP source ports for HTTP/3 and QUIC Nick Banks
- Re: UDP source ports for HTTP/3 and QUIC David Schinazi
- Re: UDP source ports for HTTP/3 and QUIC Töma Gavrichenkov
- Re: UDP source ports for HTTP/3 and QUIC Erik Nygren
- Re: UDP source ports for HTTP/3 and QUIC Mark Nottingham
- Re: UDP source ports for HTTP/3 and QUIC Toerless Eckert
- Re: UDP source ports for HTTP/3 and QUIC Willy Tarreau
- Re: UDP source ports for HTTP/3 and QUIC Poul-Henning Kamp
- Re: UDP source ports for HTTP/3 and QUIC Willy Tarreau
- Re: UDP source ports for HTTP/3 and QUIC Stefan Eissing
- Re: UDP source ports for HTTP/3 and QUIC Toerless Eckert
- Re: UDP source ports for HTTP/3 and QUIC Mark Nottingham
- Re: UDP source ports for HTTP/3 and QUIC Töma Gavrichenkov