Re: Differentiate between GQUIC and QUIC packets

Dmitri Tikhonov <dtikhonov@litespeedtech.com> Tue, 01 August 2017 12:55 UTC

Return-Path: <dtikhonov@litespeedtech.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 3E03F12F280 for <quic@ietfa.amsl.com>; Tue, 1 Aug 2017 05:55:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.59
X-Spam-Level:
X-Spam-Status: No, score=-2.59 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7, T_SPF_PERMERROR=0.01] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=litespeedtech-com.20150623.gappssmtp.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 L8h0yDVdbzMx for <quic@ietfa.amsl.com>; Tue, 1 Aug 2017 05:55:55 -0700 (PDT)
Received: from mail-qk0-x22d.google.com (mail-qk0-x22d.google.com [IPv6:2607:f8b0:400d:c09::22d]) (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 E60F91320A4 for <quic@ietf.org>; Tue, 1 Aug 2017 05:50:40 -0700 (PDT)
Received: by mail-qk0-x22d.google.com with SMTP id a77so8227895qkb.0 for <quic@ietf.org>; Tue, 01 Aug 2017 05:50:40 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=litespeedtech-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=MSGg2H3onYfznO57KwXtRYuLTh2uMH1A0QSKzXiMlQw=; b=Me1SIr8BYS00BdKV/Qp/3iC5lwp5LKcgYUJP2BiEy3zcq6R280V3NB3wBWXvIJ5m7l 8fsI2M9cCY+ZTGTTw1+Li7lNNkx135c+J3q5wHnTuru7RdbQaMsFmQm5knvcYg0BqnlO WBW9NH+cG2zfb8FbwXg8uSkmZDP9r6qY8+umIoNTx3KO3z8iuUaPdVOjaf2Py0Bn6Pgz OmVWFy7xrzyJX9ZQhVoccEGnd7RvizpA78zJNeJR0qhK88g5MvfXmsbf/QELE5AIbuW6 BCX/q/vQoKeRfwjxoBmV+T4BJXDaoZQOPM66FoL+Gxdf68SWNNRA+OhMdH7tXC/N5emM SJBA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=MSGg2H3onYfznO57KwXtRYuLTh2uMH1A0QSKzXiMlQw=; b=ZCTcuqcw8BoSGnGZITWUZqZOr/tVLuqSlXXWdPCERcH5iLxD7T/dSHq2iWXcFqbckP AEckBQeDhsswsdtDHC/6XQ0wo45aQT7jEobGACd+37onUCOAmEz/xsaJDvcZmAeqd1lj cG3HZZOt6s1pHzE3ULiHHrk/0oiaEZUQnG6AiKbZV2lz/5izHtGnfovEdjC/zfPF69Gx NM+HCLEw1SNODlKCEybpFeSDfuZCxnZPCKnzYjzBetgPvCu4jn4sxgJp2dNDZhlQUwOp iTnLHkVF+k++dbSm8lXZZkAwiiT8IRl/gwkB/HWHlMh/8hYJFEXP+Gj8dXn50qO6D9d5 w1Zg==
X-Gm-Message-State: AIVw112g9txwxVyzVUzjpIwxTl4/53fiH5MPG1ujD9d7alvfek2I47Il wpaGUWg9qjc0FgA3
X-Received: by 10.233.237.212 with SMTP id c203mr26434917qkg.328.1501591840088; Tue, 01 Aug 2017 05:50:40 -0700 (PDT)
Received: from ubuntu-dmitri (ool-2f1636b6.static.optonline.net. [47.22.54.182]) by smtp.gmail.com with ESMTPSA id v64sm21332640qkd.96.2017.08.01.05.50.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 01 Aug 2017 05:50:39 -0700 (PDT)
Date: Tue, 01 Aug 2017 08:50:32 -0400
From: Dmitri Tikhonov <dtikhonov@litespeedtech.com>
To: Ian Swett <ianswett@google.com>
Cc: IETF QUIC WG <quic@ietf.org>
Subject: Re: Differentiate between GQUIC and QUIC packets
Message-ID: <20170801125031.GA2742@ubuntu-dmitri>
References: <20170801032502.GA28788@ubuntu-dmitri> <20170801032805.GA29894@ubuntu-dmitri> <CAKcm_gNQFEmws7wX5vfKCZ4QHGTHRq=Y4GxO09GxjW66dRPRig@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <CAKcm_gNQFEmws7wX5vfKCZ4QHGTHRq=Y4GxO09GxjW66dRPRig@mail.gmail.com>
User-Agent: Mutt/1.5.24 (2015-08-30)
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/OeX6RWJUb7tCJIml_VmE5fsiBwo>
X-BeenThere: quic@ietf.org
X-Mailman-Version: 2.1.22
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: Tue, 01 Aug 2017 12:55:56 -0000

On Tue, Aug 01, 2017 at 08:31:11AM -0400, Ian Swett wrote:
> Good question.  The plan is for Google to support both during a transition
> period and the general approach is similar to what you outlined above.

We at LiteSpeed plan to support both as well, hence my query. :)

> The key to resolving the ambiguity is that gQUIC always requires a
> connection ID from the client to the server, and the intent is to
> continue to require that for IETF QUIC.

AFAICT, this requirement is not documented in the latest
[draft-ietf-quic-transport].

> Google's server uses the connection ID to lookup the connection,
> so I believe we'd just discard an incoming packet with no connection ID.

I was hoping to avoid performing a hash lookup...  But what you're
saying is that this is necessary to resolve ambiguous packets.

> On the client side, it knows what version is being spoken, so there's no
> ambiguity.

*nods*

Speaking of clients: is it the plan for Chrome to support both GQUIC
and IETF QUIC during the transition period?

  - Dmitri.