Re: [quicwg/base-drafts] Rewrite Packet Size section (#2036)

ianswett <notifications@github.com> Tue, 27 November 2018 16:40 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 7A087130DDA for <quic-issues@ietfa.amsl.com>; Tue, 27 Nov 2018 08:40:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.46
X-Spam-Level:
X-Spam-Status: No, score=-4.46 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-1.46, 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] 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 dCLxN87IXAAK for <quic-issues@ietfa.amsl.com>; Tue, 27 Nov 2018 08:40:25 -0800 (PST)
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 12D5C128CB7 for <quic-issues@ietf.org>; Tue, 27 Nov 2018 08:40:21 -0800 (PST)
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=bbGInsWbN86c+kvCZw3Zyal4ZsI=; b=ezVhArnN3C3eZyd4 KXTw4RxNYKhZXPsLV9Lg3Pzl+rOwVPKcPkL4slwZsemkzn+BN0BWeJFIDOrwMgJs esKS4xtzauCNw4v9yKjWGG1VZRrzLOQGrttDIjkK1aBxh3233mFZyaAVRxdSVMIP IbrC9PVZz5fFispcpdHeZD948aQ=
Received: by filter0747p1las1.sendgrid.net with SMTP id filter0747p1las1-25910-5BFD7359-B 2018-11-27 16:39:53.487006182 +0000 UTC m=+434741.339159319
Received: from github-lowworker-baaab27.cp1-iad.github.net (unknown [192.30.252.33]) by ismtpd0035p1iad2.sendgrid.net (SG) with ESMTP id mBDbrBn2SUyfEaTCsHDGYQ for <quic-issues@ietf.org>; Tue, 27 Nov 2018 16:39:53.349 +0000 (UTC)
Received: from github.com (localhost [127.0.0.1]) by github-lowworker-baaab27.cp1-iad.github.net (Postfix) with ESMTP id 564FB803BA for <quic-issues@ietf.org>; Tue, 27 Nov 2018 08:39:53 -0800 (PST)
Date: Tue, 27 Nov 2018 16:39:53 +0000
From: ianswett <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+0166e4ab2896abedd09f2b113f0d6c4a2ce365fd6c39c96192cf000000011815355992a169ce16d66007@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/pull/2036/review/178877642@github.com>
In-Reply-To: <quicwg/base-drafts/pull/2036@github.com>
References: <quicwg/base-drafts/pull/2036@github.com>
Subject: Re: [quicwg/base-drafts] Rewrite Packet Size section (#2036)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_5bfd735953324_40333fdc27ad45c4138651"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: ianswett
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: l64QuQ2uJCcEyUykJbxN122A6QRmEpucztpreh3Pak2yry8A1AZ7JntiZ7R4CtUIlXLLN/2tEy/s2C 4T5KeaOwqU1lkAAOdo2a6bPegfssp6cRqbrqty9vJihkgvzMDlR7NSm1dc+ywWfVK1kFFQLojsoa3/ iDbO+jLVa6kVqfJzIJ2h+Wit11TRQrLyRng6obHqAB9K96yNPgVF9/d5Vw==
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/fQ_cqdkJKZoaEnlWl5QszySrQIQ>
X-BeenThere: quic-issues@ietf.org
X-Mailman-Version: 2.1.29
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: Tue, 27 Nov 2018 16:40:28 -0000

ianswett approved this pull request.

Nice PR, some small suggestions.

> @@ -2998,17 +2998,15 @@ The QUIC packet size includes the QUIC header and integrity check, but not the
 UDP or IP header.
 
 Clients MUST ensure that the first Initial packet they send is sent in a UDP

nit: how about:
"Clients MUST ensure they send the first Initial packet in a UDP datagram that is at least 1200 bytes."

> @@ -3023,83 +3021,108 @@ The server MUST also limit the number of bytes it sends before validating the
 address of the client, see {{address-validation}}.
 
 
-## Path Maximum Transmission Unit
+## Path Maximum Transmission Unit (PMTU)
+
+The PMTU is the maximum size of the entire IP packet including the IP header,
+UDP header, and UDP payload.  The UDP payload includes the QUIC packet header,
+protected payload, and any authentication fields. This can depend upon the

```suggestion
protected payload, and any authentication fields. The PMTU can depend upon the
```

> @@ -3023,83 +3021,108 @@ The server MUST also limit the number of bytes it sends before validating the
 address of the client, see {{address-validation}}.
 
 
-## Path Maximum Transmission Unit
+## Path Maximum Transmission Unit (PMTU)
+
+The PMTU is the maximum size of the entire IP packet including the IP header,
+UDP header, and UDP payload.  The UDP payload includes the QUIC packet header,
+protected payload, and any authentication fields. This can depend upon the
+current path characteristics.  Therefore, the current largest UDP payload an
+implementation will send is referred to as QUIC maximum packet size.

```suggestion
implementation will send is referred to as the QUIC maximum packet size.
```

>  
 If a QUIC endpoint determines that the PMTU between any pair of local and remote
-IP addresses has fallen below 1280 bytes, it MUST immediately cease sending QUIC
-packets on the affected path.  This could result in termination of the
-connection if an alternative path cannot be found.
+IP addresses has fallen below the size needed to support the smallest allowed
+maximum packet size, it MUST immediately cease sending QUIC packets on the
+affected path.  This could result in termination of the connection if an

This recommendation results in a timeout in cases where it may be possible to immediately close the connection if no other paths are available. I think it'd be preferable to close the connection, or say it MAY close the connection?

-- 
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/2036#pullrequestreview-178877642