Re: [quicwg/base-drafts] Rework Retry packet (#1498)

Marten Seemann <notifications@github.com> Wed, 18 July 2018 14:39 UTC

Return-Path: <bounces+848413-a050-quic-issues=ietf.org@sgmail.github.com>
X-Original-To: quic-issues@ietfa.amsl.com
Delivered-To: quic-issues@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BB9D4131171 for <quic-issues@ietfa.amsl.com>; Wed, 18 Jul 2018 07:39:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.009
X-Spam-Level:
X-Spam-Status: No, score=-3.009 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_DKIMWL_WL_HIGH=-0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=github.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 nq3gxvXqERmo for <quic-issues@ietfa.amsl.com>; Wed, 18 Jul 2018 07:39:42 -0700 (PDT)
Received: from o9.sgmail.github.com (o9.sgmail.github.com [167.89.101.2]) (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 EC3D41311B7 for <quic-issues@ietf.org>; Wed, 18 Jul 2018 07:39:41 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=github.com; h=from:reply-to:to:cc:in-reply-to:references:subject:mime-version:content-type:content-transfer-encoding:list-id:list-archive:list-post:list-unsubscribe; s=s20150108; bh=b0bC1JnxMJW0D71OCUiKDeSkwTU=; b=c8qiouA6xUiRNqDJ FH+di8JSqqCB/6FF8HqzkhW0r19ULoJPStzq1GP034gFO8LvFPsHs+Dopy8J0UVd 9T7MkDyvNte80W6QTuwvslnz/BNz1x9js7XSqlEt2hBBU0SQLiWIVY8DPvBSsCab wFQ2xWnc+KG0x8/eAjUiAsg80Pk=
Received: by filter0085p1iad2.sendgrid.net with SMTP id filter0085p1iad2-6139-5B4F512C-1C 2018-07-18 14:39:40.517910658 +0000 UTC m=+55445.110939983
Received: from github-lowworker7-cp1-prd.iad.github.net (unknown [192.30.252.47]) by ismtpd0002p1iad1.sendgrid.net (SG) with ESMTP id N6DHtCFIQKyA2R9YB09XNA for <quic-issues@ietf.org>; Wed, 18 Jul 2018 14:39:40.426 +0000 (UTC)
Received: from github.com (localhost [127.0.0.1]) by github-lowworker7-cp1-prd.iad.github.net (Postfix) with ESMTP id 6830DA1D3C for <quic-issues@ietf.org>; Wed, 18 Jul 2018 07:39:40 -0700 (PDT)
Date: Wed, 18 Jul 2018 14:39:40 +0000
From: Marten Seemann <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+0166e4ab3e8d2aee26af6e72bb2dd4b63d22296746aa188492cf000000011767132c92a169ce14138c09@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/pull/1498/review/138286909@github.com>
In-Reply-To: <quicwg/base-drafts/pull/1498@github.com>
References: <quicwg/base-drafts/pull/1498@github.com>
Subject: Re: [quicwg/base-drafts] Rework Retry packet (#1498)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_5b4f512c66dd5_733b3fd7de2bef8092474"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: marten-seemann
X-GitHub-Recipient: quic-issues
X-GitHub-Reason: subscribed
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address: quic-issues@ietf.org
X-SG-EID: l64QuQ2uJCcEyUykJbxN122A6QRmEpucztpreh3Pak3FV/NwhhgRzW5HHwA+cTSQULKW3GF/ym84/g NJfkd3w3usRxyNFABnNq21nHeSPfhvXNZl/TLFmyx3nkV8CnimPTxCgW5dAX5nv8pryUn7T8ENcabB bx3R3vvNU+rTIfI7/ApiPfFFHGWLTMyA4sPPWdHtyAWV02+2CXUYcjlwXciUdi3ixljF213vIgtMna M=
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/uktTJfS9nyP5L2W_-RgJhia0A0I>
X-BeenThere: quic-issues@ietf.org
X-Mailman-Version: 2.1.27
List-Id: Notification list for GitHub issues related to the QUIC WG <quic-issues.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/quic-issues>, <mailto:quic-issues-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/quic-issues/>
List-Post: <mailto:quic-issues@ietf.org>
List-Help: <mailto:quic-issues-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/quic-issues>, <mailto:quic-issues-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 18 Jul 2018 14:39:53 -0000

marten-seemann commented on this pull request.



> + 0                   1                   2                   3
+ 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
++-+-+-+-+-+-+-+-+
+|1|    0x7e     |
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+|                         Version (32)                          |
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+|DCIL(4)|SCIL(4)|
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+|               Destination Connection ID (0/32..144)         ...
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+|                 Source Connection ID (0/32..144)            ...
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+|    ODCIL(8)   |      Original Destination Connection ID (*)   |
++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+|                        Retry Token (*)                      ...

This might be a bit esoteric, but here's possible use cases:
Let's say a server only support QUIC v1, and it receives an Initial packet for a different version. The server would then send a Version Negotiation Packet, and could coalesce that with a Retry packet, in order to save one round trip.
I admit feels kind of clumsy though, since the Retry would have to go *in front of* the VNP (since the VNP doesn't have a length field).

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/quicwg/base-drafts/pull/1498#discussion_r203405159