Re: UDP source ports for HTTP/3 and QUIC

Töma Gavrichenkov <ximaera@gmail.com> Thu, 15 July 2021 11:14 UTC

Return-Path: <ximaera@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 6E79C3A2738 for <quic@ietfa.amsl.com>; Thu, 15 Jul 2021 04:14:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 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_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-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 8ccVa4g_qWUq for <quic@ietfa.amsl.com>; Thu, 15 Jul 2021 04:14:34 -0700 (PDT)
Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) (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 77CD13A2739 for <quic@ietf.org>; Thu, 15 Jul 2021 04:14:34 -0700 (PDT)
Received: by mail-ed1-x52a.google.com with SMTP id w14so7532975edc.8 for <quic@ietf.org>; Thu, 15 Jul 2021 04:14:34 -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=TxLSH69WUiBuiHXRgEZowBrVQ0BLM2+qQSyJhen5pkA=; b=cCqQ/y6tTtuZrxG/PfaRKyeEqnOFuffFIp9i1ds0pA2El95FdjT4jj9q069S4NOfsv li/r8j3Sk/RVU833uZULpSnDa2lL8MR2zc/ew7kI8H02ibh7wcDn23xcwvyz9WTCZHD8 juGZvTlXZm/e6n/0VndSOk0y09GnlNnqlHJ8x6E0NnhVnzQzQnhet4ulkOumHl1fc1lA Io+QWQYjTwU2hlGHPiE1WzwBrw764QtuZsisv80gdU1Ar/OONb15z7fV/onaHv05qhNs dSQCJ6YECFSh4cdTi9EURfU1DcOZarjC1unlaRroDeX37oWNJXRattxzOgvnXuP7POLl Qa2Q==
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=TxLSH69WUiBuiHXRgEZowBrVQ0BLM2+qQSyJhen5pkA=; b=PIIXVEi/Hwi761q9aiXkCO2FwOu7lskDS60PtYGjjhgvNuNQTr2xadq/ejrpBitTfN t/4OP49C1DXZMHe25tJwOHWOWiLnJyVuPkBnU4ntlekcRbe5yb5e4c42D9Sej9KI4K0a R078D2z3f0g6IB8crE4AlkVVMllc9rp1M1D5hKRbUm1+0Cuq5wl26s8txUJ9091lhiYP ciJTXCmWwHgoeochD/4RWGVH0s0jvJVzrikCDxtXIGEuIHIv3oYjZpPVpne5tw5m+rPI XnCoo/2oth9iNw2euVF2L8+xC9k+LZ55PFQ0uEucYVMYaUV6oUwyuuRkTE83/kfjo/VK xTjw==
X-Gm-Message-State: AOAM531xscNI1h1EZ33cH9Hw3B72DEFjwJn+QB+4G91H5g6ebuWE0AjQ K+TAWAo7eeCGy1h4HR6TnwwwPaOtv2db1tGcWVY=
X-Google-Smtp-Source: ABdhPJy0imwSBezRS5X+UBEShHyrICeafT64c0mAMOc5563OzHMdOWbShaarh2bVMQIBtYueaQ8apGpZnk83Macvl4M=
X-Received: by 2002:a05:6402:10c7:: with SMTP id p7mr6224105edu.159.1626347672297; Thu, 15 Jul 2021 04:14:32 -0700 (PDT)
MIME-Version: 1.0
References: <3985895D-D420-4995-831E-332E33693B79@mnot.net> <6F79A78A-1DF8-4A48-9B7F-334B309C9C26@gmail.com> <20210715092937.GC27830@1wt.eu>
In-Reply-To: <20210715092937.GC27830@1wt.eu>
From: Töma Gavrichenkov <ximaera@gmail.com>
Date: Thu, 15 Jul 2021 14:14:19 +0300
Message-ID: <CALZ3u+ZELW79rx8=DkS0F0wtoDgWdqu0Bi9VB_-STrj1hCUtUw@mail.gmail.com>
Subject: Re: UDP source ports for HTTP/3 and QUIC
To: Willy Tarreau <w@1wt.eu>
Cc: IETF QUIC WG <quic@ietf.org>, HTTP Working Group <ietf-http-wg@w3.org>, stefan.eissing@greenbytes.de
Content-Type: multipart/alternative; boundary="00000000000049e5b705c7279360"
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/O_KlQq44cHvhnLx08-SbgpssHTg>
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 11:14:37 -0000

Peace,

So basically we could have
> a recommendation that each application preferably uses a single socket
> and source port for outgoing communication.


> Yikes, all QUIC packets will potentially arrive a the same child listener.
> Let's go all the way and defined a fixed source port. ^^


This would irretrievably break ECMP/UCMP 5-tuple hashes pretty much
everywhere in transit.  The closer to the endpoint the worse.

(I understand you were just joking but wanted to point that out just in
case someone takes this seriously)

--
Töma

>