RE: Treatment of ICMP for PMTU

Mikkel Fahnøe Jørgensen <mikkelfj@gmail.com> Thu, 28 June 2018 10:07 UTC

Return-Path: <mikkelfj@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 54BA4130EA4 for <quic@ietfa.amsl.com>; Thu, 28 Jun 2018 03:07:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=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 OE9kniFIoLXF for <quic@ietfa.amsl.com>; Thu, 28 Jun 2018 03:07:31 -0700 (PDT)
Received: from mail-io0-x22b.google.com (mail-io0-x22b.google.com [IPv6:2607:f8b0:4001:c06::22b]) (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 7EE86130934 for <quic@ietf.org>; Thu, 28 Jun 2018 03:07:31 -0700 (PDT)
Received: by mail-io0-x22b.google.com with SMTP id g7-v6so4682401ioh.11 for <quic@ietf.org>; Thu, 28 Jun 2018 03:07:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:in-reply-to:references:mime-version:date:message-id:subject:to; bh=46ozSSg9HdHO6RWshyDeyIzlTHrKuuphMvDvMXk3/2g=; b=M3UfM0VPSV74lDZcJAWdiohZdham2PVBqHMLtSsJxjmgp9hGy0uDJdZCJu+JM6mA8d O6JZb0qqB6TA05//v4e9iQqGBBkGuDwp/S3Og7SKE1roJhOP7+RW+3vF8XmNlEV4h6kC Y6yfJ7chVB3Y0fy7VOiY5JXAejYuzr3lJ0dhnzgYnU/EnmSX1kZiCjUdjpT3m9lqJgWz /THJnYFs0gTCXd9VVDsP0l9P5nqgzw+Fe5bqK+AaAuKV3YR3dxy0KNEGvgPK5S2KlR/B 2SUL+udrD/U0WQ9QOHwEl7xyvK6up0ufc5lq/1KNVeUYw6/Dy5C218qXe2CYm1EZ+vKn HaaQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to; bh=46ozSSg9HdHO6RWshyDeyIzlTHrKuuphMvDvMXk3/2g=; b=fLa6RGKetTnkK0BIiHNNwD95NKrP/Jcbh9PZJ4Pq+nNcmWrqReqt8QF4DOXHueBLCx KsP88SXg1+mJvQmfC9z+D7fHer5iMTShxuvxxkSrTlahJzH5bd7JYHmfgbcJ5ENYaJuU ekvjkd4cTu8daniY7f1AYVq8CsVCF/EcAZp1YijRU0NtMbMWo+dTOWjQsppnBeP1M1LY 6LEX4CXEEgqBfAkPFZlLkpTM0dSak22lgJd56fQYcwwK+MsO2j0GZi+sEthaK/z6OG6+ amJh0sz5b+ys61CzhzqziwuZuCl6nTWKZ43M9Jy1LO0Uq1H0JDqH8CvlVGcYOKmA8Tzk YJnA==
X-Gm-Message-State: APt69E3QiSsHTliDEP+61Q+mJxRBpXbykqCp6Ksi6pkvq49zWf1Fsdh2 QwiBjIGKKDpXMbo1Y6K/8BFTra9eDaWoCzkLEm4=
X-Google-Smtp-Source: AAOMgpe2T5sXRrIIdFtwSOHddHZa3FgGWHqcEnz1seEqlphZOnD/nFSD2LV7qyjpjJq/1N26dxIVurhCsHLrxD2oS1Y=
X-Received: by 2002:a6b:b78b:: with SMTP id h133-v6mr7760244iof.274.1530180450793; Thu, 28 Jun 2018 03:07:30 -0700 (PDT)
Received: from 1058052472880 named unknown by gmailapi.google.com with HTTPREST; Thu, 28 Jun 2018 06:07:29 -0400
From: Mikkel Fahnøe Jørgensen <mikkelfj@gmail.com>
In-Reply-To: <7CF7F94CB496BF4FAB1676F375F9666A3BB5BA9B@bgb01xud1012>
References: <924fbd75dbcf4d62a9062570b0d2ba5a@ustx2ex-dag1mb5.msg.corp.akamai.com> <7CF7F94CB496BF4FAB1676F375F9666A3BB5B9DC@bgb01xud1012> <2f0e251a9b274272968a8b3053d3a3a5@ustx2ex-dag1mb5.msg.corp.akamai.com> <7CF7F94CB496BF4FAB1676F375F9666A3BB5BA29@bgb01xud1012> <4674cc2be90e4b5b9056cc63a0735664@ustx2ex-dag1mb5.msg.corp.akamai.com> <7CF7F94CB496BF4FAB1676F375F9666A3BB5BA9B@bgb01xud1012>
X-Mailer: Airmail (420)
MIME-Version: 1.0
Date: Thu, 28 Jun 2018 06:07:29 -0400
Message-ID: <CAN1APdeH5yQELW9wv4Oj=UtaVcC=zCNz6su8_R-hrB3T8_Yp2w@mail.gmail.com>
Subject: RE: Treatment of ICMP for PMTU
To: Lucas Pardue <lucas.pardue@bbc.co.uk>, IETF QUIC WG <quic@ietf.org>, Martin Duke <martin.h.duke@gmail.com>, "Lubashev, Igor" <ilubashe@akamai.com>
Content-Type: multipart/alternative; boundary="000000000000363dda056fb0e673"
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/x3jrNyArSR__HRW8Vo3IjNVPQcg>
X-BeenThere: quic@ietf.org
X-Mailman-Version: 2.1.26
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, 28 Jun 2018 10:07:34 -0000

I think QUIC needs a tunnel extension frame.

On 28 June 2018 at 11.25.20, Lucas Pardue (lucas.pardue@bbc.co.uk) wrote:

Igor Lubashev wrote:

>I think I see what you are talking about.
>
>At least the way it is specced in H2 and HTTP/QUIC, CONNECT proxies
forward
>data streams, not packets. Hence, MTU concept on a tunnel-stream is
>meaningless. The text says it explicitly: "Note that the size and number
of TCP
>segments is not guaranteed to map predictably to the size and number of
>HTTP DATA or QUIC STREAM frames." From the client's perspective there is
>only one PMTU that is relevant -- the one to the proxy. The proxy will
keep
>tracks of the PMTUs to the CONNECT endpoints itself and will generate TCP
>segments accordingly.

Right, that's how I was seeing it.

>Trying to design a CONNECT-like method to proxy an entire QUIC connection
>over a single QUIC stream would create HOLB for QUIC packets to and from
>the proxy. Some sort of a partially reliable QUIC stream could help here.

Both you and Mikkel have identified HOL as something that needs more
thought. Thanks. Mikkel's view is a little more extreme, to paraphrase "HOL
is enough to make QUIC not QUIC". I've taken the view that it may be
desirable to tunnel QUIC over TLS/TCP too (perhaps using HTTP/2 frames), so
I view HOL avoidance as an optimisation rather than a requirement. Partial
reliability (of streams, or of some new frame type) could help solve that
puzzle. Now I think about it, a complimentary mitigation could be to
reserve a set of tunnel-streams to provide some basic multiplexing.
However, the complexity of that might not be worth it.

>This proxying scheme would require an extension to CONNECT to open a
>UDP/IP tunnel instead of a TCP/IP tunnel. That extension would also
mandate
>that HTTP/QUIC DATA frame corresponds to a UDP frame. I suspect that it
>would be a very good idea for such a proxy to add a new frame for
providing
>ICMP-like explicit PMTU feedback to the sender (why leave the sender
>guessing and probing, if the PMTU is already known to the proxy?).

This is good feedback. Thanks!

Kind regards
Lucas