[quicwg/base-drafts] b37554: Rework Retry packet

Martin Thomson <martin.thomson@gmail.com> Fri, 29 June 2018 00:37 UTC

Return-Path: <bounce+565321.40f-quic-issues=ietf.org@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 51ED8130E40 for <quic-issues@ietfa.amsl.com>; Thu, 28 Jun 2018 17:37:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.499
X-Spam-Level:
X-Spam-Status: No, score=-0.499 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=no 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 DVzG7r40ZRre for <quic-issues@ietfa.amsl.com>; Thu, 28 Jun 2018 17:37:47 -0700 (PDT)
Received: from m69-169.mailgun.net (m69-169.mailgun.net [166.78.69.169]) (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 BBEF4130DEF for <quic-issues@ietf.org>; Thu, 28 Jun 2018 17:37:47 -0700 (PDT)
DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=github.com; q=dns/txt; s=mailo; t=1530232667; h=Content-Transfer-Encoding: Content-Type: Mime-Version: Subject: Message-ID: To: Reply-To: From: Date: Sender; bh=UTSZrchGaXmz1AxCXbrO80or+cqwwnV5SX4+YbDVOPM=; b=hqpCOv8o7fCkljLBg66tU12BIDO9XSUqID957Fvzgl+nI+koIxtghpX+cLr+x40A9kBCMWms M9nJjA0+84HgknVvBWNjJQF3gLOuOa+sJL90oP366DreaZ99UyEEeXYO0rdtWZ5yATXtfuQb J4M698gJR6D/OhWw3LaO2G7CySw=
X-Mailgun-Sending-Ip: 166.78.69.169
X-Mailgun-Sid: WyJhNzYyYiIsICJxdWljLWlzc3Vlc0BpZXRmLm9yZyIsICI0MGYiXQ==
Sender: martin.thomson=gmail.com@github.com
Received: from github.com (Unknown [192.30.252.38]) by mxa.mailgun.org with ESMTP id 5b357f5b.7f3857c23f00-smtp-out-n02; Fri, 29 Jun 2018 00:37:47 -0000 (UTC)
Date: Thu, 28 Jun 2018 17:37:46 -0700
From: Martin Thomson <martin.thomson@gmail.com>
Reply-To: Martin Thomson <martin.thomson@gmail.com>
To: quic-issues@ietf.org
Message-ID: <5b357f5a2265a_1bb92ae4d43e3bfc315d3@hookshot-fe-265448d.cp1-iad.github.net.mail>
Subject: [quicwg/base-drafts] b37554: Rework Retry packet
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="--==_mimepart_5b357f5a21f76_1bb92ae4d43e3bfc31446"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/UmmhfXOgyICPyYTRsyra_FfAbuA>
X-BeenThere: quic-issues@ietf.org
X-Mailman-Version: 2.1.26
Precedence: list
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: Fri, 29 Jun 2018 00:37:50 -0000

  Branch: refs/heads/move-retry
  Home:   https://github.com/quicwg/base-drafts
  Commit: b3755446d985d542105628c0a6509328976e89da
      https://github.com/quicwg/base-drafts/commit/b3755446d985d542105628c0a6509328976e89da
  Author: Martin Thomson <martin.thomson@gmail.com>
  Date:   2018-06-29 (Fri, 29 Jun 2018)

  Changed paths:
    M draft-ietf-quic-transport.md

  Log Message:
  -----------
  Rework Retry packet

This includes several changes:

* I moved the Retry packet description.  It is more like Version Negotiation than Handshake or Initial, so it made sense to move it up.

* Retry doesn't include a packet number or payload.  Like Version Negotiation, it includes a complete definition.

* As discussed in #1451, this requires a server that might send another Retry to provide a connection ID of at least 8 octets.

* I clarified the description of fields, expanded the pictures, and made some other editorial tweaks.

Open Question: would it make sense to normalize the encoding of Retry and Initial?  The former includes a token without a length (because it's the last piece of the packet), whereas the latter includes a length-prefixed token.  It might be easier to invert the ODCID and token on Retry.  That would make the token processing more consistent.  I'm not sure if we want to consider adding a token to 0-RTT and Handshake packets, but that would fully normalize things.

Closes #1492, #1451.



      **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.