[quicwg/base-drafts] 594ab5: Define requirements for handling packets

Martin Thomson <martin.thomson@gmail.com> Fri, 11 August 2017 06:50 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 C762D1326CB for <quic-issues@ietfa.amsl.com>; Thu, 10 Aug 2017 23:50:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.799
X-Spam-Level:
X-Spam-Status: No, score=-0.799 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.199, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, 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; domainkeys=pass (1024-bit key) header.sender=martin.thomson=gmail.com@github.com 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 7S47ny8CXlgH for <quic-issues@ietfa.amsl.com>; Thu, 10 Aug 2017 23:50:40 -0700 (PDT)
Received: from m71-131.mailgun.net (m71-131.mailgun.net [166.78.71.131]) (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 3F5BA1326C4 for <quic-issues@ietf.org>; Thu, 10 Aug 2017 23:50:40 -0700 (PDT)
DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=github.com; q=dns/txt; s=mailo; t=1502434239; h=Content-Transfer-Encoding: Content-Type: Mime-Version: Subject: Message-ID: To: Reply-To: From: Date: Sender; bh=QnEj5tI6JMbnjlJcpGYugRZW9Cj/xdzWRXdsn6+0xV4=; b=hfw0XeXca5izLMANMqZj4/P7RyQ4iZm+NhUs9TJgqVqu468Apvqwej6Zdq0xU5TMWVVFVLHz /Wo0eAEU17oDOZ0Nur7WOXkEsRbehXQ9Tmsa6d5gQtJckz5QYYYeK7gCboO8uQbsXr4qzdVF nzGLveTeHcNPy5WJEChGfp/pBWw=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=github.com; s=mailo; q=dns; h=Sender: Date: From: Reply-To: To: Message-ID: Subject: Mime-Version: Content-Type: Content-Transfer-Encoding; b=o5X8SDwDpPm1rwgx8LPRd+254KlteOcm30pjsVaYeAjPzdiBx1aOlQaJxWdupqXf7t5l9R 0AQnnko6//X3vK3olWXTTqKh1WJrUXMi8GDjGYBBzqkaw7eL5Z+TKqK1lQPnLZxyiBaeyFoS 0d1qP5lIoaO54xYU0WSjMWEhQo9Ns=
Sender: martin.thomson=gmail.com@github.com
X-Mailgun-Sending-Ip: 166.78.71.131
X-Mailgun-Sid: WyJhNzYyYiIsICJxdWljLWlzc3Vlc0BpZXRmLm9yZyIsICI0MGYiXQ==
Received: from github.com (Unknown [192.30.252.34]) by mxa.mailgun.org with ESMTP id 598d53be.7f4b4c0fc2a0-smtp-out-n02; Fri, 11 Aug 2017 06:50:38 -0000 (UTC)
Date: Thu, 10 Aug 2017 23:50:37 -0700
From: Martin Thomson <martin.thomson@gmail.com>
Reply-To: Martin Thomson <martin.thomson@gmail.com>
To: quic-issues@ietf.org
Message-ID: <598d53bddf958_43e3f99dfad9c34628fe@hookshot-fe2-cp1-prd.iad.github.net.mail>
Subject: [quicwg/base-drafts] 594ab5: Define requirements for handling packets
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="--==_mimepart_598d53bddf5ab_43e3f99dfad9c34627da"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/uXx4MCgucgCFYr59Wrg4pLDjkhM>
X-BeenThere: quic-issues@ietf.org
X-Mailman-Version: 2.1.22
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, 11 Aug 2017 06:50:42 -0000

  Branch: refs/heads/packet-handling
  Home:   https://github.com/quicwg/base-drafts
  Commit: 594ab51b68a4b451a613ab89d1cca55cb29d63e7
      https://github.com/quicwg/base-drafts/commit/594ab51b68a4b451a613ab89d1cca55cb29d63e7
  Author: Martin Thomson <martin.thomson@gmail.com>
  Date:   2017-08-11 (Fri, 11 Aug 2017)

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

  Log Message:
  -----------
  Define requirements for handling packets

We never really said how to handle incoming packets.  This adds a section on
that.  This was originally motivated by #570, where the rules for what to
generate a Version Negotiation packet for were a little unclear.

Now though, this is a far more comprehensive description of what to do with
a packet that is received.

For #570, I've chosen to limit packet size.  If the packet is too small, then
this requires the server to drop the packet.  In response to the potential for
a future version of QUIC to define a smaller initial packet (@mikkelfj raised
this point), I've included advice on what might be done to avoid having packets
discarded.

I realize that we don't have a patch that sets the packet size to 1200.  I'm
going to write that one now.  This depends on that.