Re: [quicwg/base-drafts] Handling of corrupt Retry packets (#3014)
Jana Iyengar <notifications@github.com> Tue, 17 September 2019 02:09 UTC
Return-Path: <noreply@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 15FD51200E7 for <quic-issues@ietfa.amsl.com>; Mon, 16 Sep 2019 19:09:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.898
X-Spam-Level:
X-Spam-Status: No, score=-7.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_HI=-5, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 T2yS-XHAi7o3 for <quic-issues@ietfa.amsl.com>; Mon, 16 Sep 2019 19:09:11 -0700 (PDT)
Received: from out-19.smtp.github.com (out-19.smtp.github.com [192.30.252.202]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 58DF81200D7 for <quic-issues@ietf.org>; Mon, 16 Sep 2019 19:09:11 -0700 (PDT)
Received: from github-lowworker-292e294.va3-iad.github.net (github-lowworker-292e294.va3-iad.github.net [10.48.102.70]) by smtp.github.com (Postfix) with ESMTP id 6C28A520444 for <quic-issues@ietf.org>; Mon, 16 Sep 2019 19:09:10 -0700 (PDT)
Date: Mon, 16 Sep 2019 19:09:10 -0700
From: Jana Iyengar <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+AFTOJKYQZPIS5PPNJH44UC53RWANNEVBNHHB2TYBKQ@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/issues/3014/532027451@github.com>
In-Reply-To: <quicwg/base-drafts/issues/3014@github.com>
References: <quicwg/base-drafts/issues/3014@github.com>
Subject: Re: [quicwg/base-drafts] Handling of corrupt Retry packets (#3014)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_5d8040465da2d_63243fbbcc0cd95c69586"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: janaiyengar
X-GitHub-Recipient: quic-issues
X-GitHub-Reason: subscribed
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address: quic-issues@ietf.org
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/eRSEelR0OnXq3aM6s4e1FL1AQxY>
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, 17 Sep 2019 02:09:13 -0000
Jon Stone's work [[1](http://conferences.sigcomm.org/sigcomm/2000/conf/paper/sigcomm2000-9-1.pdf)] showed that the internet is actually quite terrible and that the TCP/UDP checksums are super important. From the conclusion section: "Our trace data shows that the TCP and UDP checksums are catching a signicant number of persistent errors. In practice, the checksum is being asked to detect an error every few thousand packets." Of course, this data is dated, but given the I wouldn't be surprised if the numbers today were not too far off from the ones he reports. @kazuho's right that we cannot rely on the UDP checksum being on in all circumstances, but I would guess that it'll be on in _most_ deployments. That said, the failure rate can be high enough to be bothersome in specific deployments. I would argue that it's a valuable goal to ensure that QUIC is protected against trivial corruption in all deployments. I agree with @RyanAtGoogle that encrypting this packet is aligned with how we do things anyways, and there's additional benefit in being able to remove the ODCID. It is a bit late in the process, but this is a fairly isolated and local change. I would argue that unless there's a strong reason to _not_ encrypt this packet, we should encrypt it. 1: http://conferences.sigcomm.org/sigcomm/2000/conf/paper/sigcomm2000-9-1.pdf -- 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/issues/3014#issuecomment-532027451
- [quicwg/base-drafts] Handling of corrupt Retry pa… Kazuho Oku
- Re: [quicwg/base-drafts] Handling of corrupt Retr… Nick Banks
- Re: [quicwg/base-drafts] Handling of corrupt Retr… MikkelFJ
- Re: [quicwg/base-drafts] Handling of corrupt Retr… Nick Banks
- Re: [quicwg/base-drafts] Handling of corrupt Retr… MikkelFJ
- Re: [quicwg/base-drafts] Handling of corrupt Retr… MikkelFJ
- Re: [quicwg/base-drafts] Handling of corrupt Retr… Nick Banks
- Re: [quicwg/base-drafts] Handling of corrupt Retr… MikkelFJ
- Re: [quicwg/base-drafts] Handling of corrupt Retr… ianswett
- Re: [quicwg/base-drafts] Handling of corrupt Retr… Kazuho Oku
- Re: [quicwg/base-drafts] Handling of corrupt Retr… MikkelFJ
- Re: [quicwg/base-drafts] Handling of corrupt Retr… Kazuho Oku
- Re: [quicwg/base-drafts] Handling of corrupt Retr… MikkelFJ
- Re: [quicwg/base-drafts] Handling of corrupt Retr… Ryan Hamilton
- Re: [quicwg/base-drafts] Handling of corrupt Retr… David Schinazi
- Re: [quicwg/base-drafts] Handling of corrupt Retr… Kazuho Oku
- Re: [quicwg/base-drafts] Handling of corrupt Retr… Martin Thomson
- Re: [quicwg/base-drafts] Handling of corrupt Retr… Ryan Hamilton
- Re: [quicwg/base-drafts] Handling of corrupt Retr… Jana Iyengar
- Re: [quicwg/base-drafts] Handling of corrupt Retr… Nick Banks
- Re: [quicwg/base-drafts] Handling of corrupt Retr… Dmitri Tikhonov
- Re: [quicwg/base-drafts] Handling of corrupt Retr… ianswett
- Re: [quicwg/base-drafts] Handling of corrupt Retr… Dmitri Tikhonov
- Re: [quicwg/base-drafts] Handling of corrupt Retr… MikkelFJ
- Re: [quicwg/base-drafts] Handling of corrupt Retr… Kazuho Oku
- Re: [quicwg/base-drafts] Handling of corrupt Retr… Jana Iyengar
- Re: [quicwg/base-drafts] Handling of corrupt Retr… Nick Banks
- Re: [quicwg/base-drafts] Handling of corrupt Retr… David Schinazi
- Re: [quicwg/base-drafts] Handling of corrupt Retr… Nick Banks
- Re: [quicwg/base-drafts] Handling of corrupt Retr… Martin Thomson
- Re: [quicwg/base-drafts] Handling of corrupt Retr… Nick Banks
- Re: [quicwg/base-drafts] Handling of corrupt Retr… David Schinazi
- Re: [quicwg/base-drafts] Handling of corrupt Retr… Nick Banks
- Re: [quicwg/base-drafts] Handling of corrupt Retr… David Schinazi
- Re: [quicwg/base-drafts] Handling of corrupt Retr… Nick Banks
- Re: [quicwg/base-drafts] Handling of corrupt Retr… ianswett
- Re: [quicwg/base-drafts] Handling of corrupt Retr… MikkelFJ
- Re: [quicwg/base-drafts] Handling of corrupt Retr… Marten Seemann
- Re: [quicwg/base-drafts] Handling of corrupt Retr… Ryan Hamilton
- Re: [quicwg/base-drafts] Handling of corrupt Retr… Martin Thomson
- Re: [quicwg/base-drafts] Handling of corrupt Retr… Kazuho Oku
- Re: [quicwg/base-drafts] Handling of corrupt Retr… Nick Banks
- Re: [quicwg/base-drafts] Handling of corrupt Retr… MikkelFJ
- Re: [quicwg/base-drafts] Handling of corrupt Retr… ianswett
- Re: [quicwg/base-drafts] Handling of corrupt Retr… Kazuho Oku
- Re: [quicwg/base-drafts] Handling of corrupt Retr… ianswett
- Re: [quicwg/base-drafts] Handling of corrupt Retr… ianswett
- Re: [quicwg/base-drafts] Handling of corrupt Retr… Nick Banks
- Re: [quicwg/base-drafts] Handling of corrupt Retr… Kazuho Oku
- Re: [quicwg/base-drafts] Handling of corrupt Retr… ianswett
- Re: [quicwg/base-drafts] Handling of corrupt Retr… MikkelFJ
- Re: [quicwg/base-drafts] Handling of corrupt Retr… Martin Thomson
- Re: [quicwg/base-drafts] Handling of corrupt Retr… Mike Bishop
- Re: [quicwg/base-drafts] Handling of corrupt Retr… Martin Thomson
- Re: [quicwg/base-drafts] Handling of corrupt Retr… Christian Huitema
- Re: [quicwg/base-drafts] Handling of corrupt Retr… Lars Eggert
- Re: [quicwg/base-drafts] Handling of corrupt Retr… David Schinazi
- Re: [quicwg/base-drafts] Handling of corrupt Retr… Martin Thomson
- Re: [quicwg/base-drafts] Handling of corrupt Retr… David Schinazi
- Re: [quicwg/base-drafts] Handling of corrupt Retr… Jana Iyengar
- Re: [quicwg/base-drafts] Handling of corrupt Retr… Kazuho Oku
- Re: [quicwg/base-drafts] Handling of corrupt Retr… Martin Thomson
- Re: [quicwg/base-drafts] Handling of corrupt Retr… Jana Iyengar