Datagrams and packets in invariants

"Lubashev, Igor" <ilubashe@akamai.com> Tue, 26 May 2020 02:02 UTC

Return-Path: <ilubashe@akamai.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 11B943A0A9C for <quic@ietfa.amsl.com>; Mon, 25 May 2020 19:02:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level:
X-Spam-Status: No, score=-2.099 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=akamai.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 VDhMOYawMwhd for <quic@ietfa.amsl.com>; Mon, 25 May 2020 19:02:26 -0700 (PDT)
Received: from mx0b-00190b01.pphosted.com (mx0b-00190b01.pphosted.com [IPv6:2620:100:9005:57f::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 55F363A0A9B for <quic@ietf.org>; Mon, 25 May 2020 19:02:26 -0700 (PDT)
Received: from pps.filterd (m0050096.ppops.net [127.0.0.1]) by m0050096.ppops.net-00190b01. (8.16.0.42/8.16.0.42) with SMTP id 04Q1dPDn010816; Tue, 26 May 2020 03:02:24 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; h=from : to : subject : date : message-id : references : in-reply-to : content-type : mime-version; s=jan2016.eng; bh=abQby2NyUmGQ6ZN1rvfkdtScobeym/lMl98YSnYO88Y=; b=NySrrhtaERsG0nnlHj8kjwasgYSorwDCZIjja5tBWCvJC9OlGIgprd8W0aKiMQ+40dVl Bch55s17Et4+3JVxa010FIhRJ+fDPyptwfDRKI3S4BOd+pj86cNHJ7PRR1V3wcByhy/p X5U9REMDEyNvQ9o0y/SIhdvXbp/CWSy/V3yzqVdmkS1Dxa1CjqWkp2/Fj3Gm7hkXY80+ ft51k/a7w1V8fYezx2VWYxIkZG5GrCGLSpykd1KU5PBjr+0GSvNFhx0giyXy/zcChKvD nbQya/0UdR/YiVaEG7EnRym/Gj9mBiEhDk1hZhPT7/LnzI9X6nB9gRw8Axd30k6S6jkq Xw==
Received: from prod-mail-ppoint5 (prod-mail-ppoint5.akamai.com [184.51.33.60] (may be forged)) by m0050096.ppops.net-00190b01. with ESMTP id 316v8dy7ke-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 26 May 2020 03:02:24 +0100
Received: from pps.filterd (prod-mail-ppoint5.akamai.com [127.0.0.1]) by prod-mail-ppoint5.akamai.com (8.16.0.27/8.16.0.27) with SMTP id 04Q1Warn030375; Mon, 25 May 2020 19:02:24 -0700
Received: from email.msg.corp.akamai.com ([172.27.123.33]) by prod-mail-ppoint5.akamai.com with ESMTP id 3171t8nuqy-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Mon, 25 May 2020 19:02:23 -0700
Received: from USMA1EX-DAG1MB5.msg.corp.akamai.com (172.27.123.105) by usma1ex-dag1mb2.msg.corp.akamai.com (172.27.123.102) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 25 May 2020 22:02:23 -0400
Received: from USMA1EX-DAG1MB5.msg.corp.akamai.com ([172.27.123.105]) by usma1ex-dag1mb5.msg.corp.akamai.com ([172.27.123.105]) with mapi id 15.00.1497.006; Mon, 25 May 2020 22:02:23 -0400
From: "Lubashev, Igor" <ilubashe@akamai.com>
To: "quic@ietf.org" <quic@ietf.org>, Martin Thomson <mt@lowentropy.net>
Subject: Datagrams and packets in invariants
Thread-Topic: Datagrams and packets in invariants
Thread-Index: AQHWMvXQwHAmaWvYQEiE1HrXz9oWY6i5nXhn
Date: Tue, 26 May 2020 02:02:22 +0000
Message-ID: <1b65d93f-1a5d-4a7c-a446-7a368fd8edaa@akamai.com>
References: <7d654e16-e5f4-42aa-90bd-48109302ea71@www.fastmail.com>
In-Reply-To: <7d654e16-e5f4-42aa-90bd-48109302ea71@www.fastmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-transport-fromentityheader: Hosted
Content-Type: multipart/alternative; boundary="_000_1b65d93f1a5d4a7ca4467a368fd8edaaakamaicom_"
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.216, 18.0.687 definitions=2020-05-25_10:2020-05-25, 2020-05-25 signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=420 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-2004280000 definitions=main-2005260010
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.216, 18.0.687 definitions=2020-05-25_10:2020-05-25, 2020-05-25 signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 suspectscore=0 malwarescore=0 clxscore=1011 impostorscore=0 phishscore=0 mlxlogscore=406 mlxscore=0 lowpriorityscore=0 adultscore=0 cotscore=-2147483648 bulkscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2004280000 definitions=main-2005260011
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/xsKe-9pMdDXxlowjSzXhnCc0VvI>
X-BeenThere: quic@ietf.org
X-Mailman-Version: 2.1.29
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, 26 May 2020 02:02:30 -0000

Since packet length is not a part of the Invariants, there is no way to locate a coalesced packet in a version-independent way. So any promises about the format of such coalesced packets are moot. Both the new text and the old text specify equally little, but the new text is just a bit more explicit and clear.

- Igor

On May 25, 2020 8:37 PM, Martin Thomson <mt@lowentropy.net> wrote:
In https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_quicwg_base-2Ddrafts_pull_3684&d=DwIBAg&c=96ZbZZcaMF4w0F4jpN6LZg&r=Djn3bQ5uNJDPM_2skfL3rW1tzcIxyjUZdn_m55KPmlo&m=2htiCUbu6d9s1os71kPSMJ9LBmdCsOMfovsl5piIry4&s=CqkKn4IY7-Gk6Qg4qcTccrb7wJzhQgaE6YfSwGIUfwM&e=  I am proposing language that is a little more careful about the distinction between packets and datagrams.

Previously the text said:

> A QUIC packet is the content of the UDP datagrams exchanged by QUIC endpoints. This document describes the contents of those datagrams.

What I have proposed is instead:

> QUIC endpoints exchange UDP datagrams that contain one or more QUIC packets. This section describes the invariant characteristics of a QUIC packet.  A version of QUIC could permit multiple QUIC packets in a single UDP datagram, but the invariant properties only describe the first packet in a datagram.

It was suggested that this changes the promise made in the invariants.  The point was to better align with what we are actually doing in version 1.  And to make clear the cardinality rules between datagrams and packets, which were previously unspecified.

Does anyone find the new language objectionable or incorrect?