[quicwg/base-drafts] Pathological loss recovery case with Finished (#1190)
Martin Thomson <notifications@github.com> Wed, 14 March 2018 12:12 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 3D38E126CC7 for <quic-issues@ietfa.amsl.com>; Wed, 14 Mar 2018 05:12:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.11
X-Spam-Level:
X-Spam-Status: No, score=-0.11 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] 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 Laesbl81VEoD for <quic-issues@ietfa.amsl.com>; Wed, 14 Mar 2018 05:12:46 -0700 (PDT)
Received: from o3.sgmail.github.com (o3.sgmail.github.com [192.254.112.98]) (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 86CF21242EA for <quic-issues@ietf.org>; Wed, 14 Mar 2018 05:12:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=github.com; h=from:reply-to:to:cc:subject:mime-version:content-type:content-transfer-encoding:list-id:list-archive:list-post:list-unsubscribe; s=s20150108; bh=eKnKf6naL50B2hekf1wQgGmrn5A=; b=LfPupRyKCjhJIYbb xcHkksUutcEseDXTmxoF8Ey1aazM9bm8r0SMImEAGCQCmCf4Hfs7/w9d2ba7lO8/ IO4BYteqhasKb3yYo9cKun+BDc4Phd0Ohbe2wcIPHSGq0Hrc2m1BMrJzweUFYxUN +Gt1kEmLedphwuWh4buNReiyRc4=
Received: by filter0368p1iad2.sendgrid.net with SMTP id filter0368p1iad2-25233-5AA911BD-1C 2018-03-14 12:12:45.690972831 +0000 UTC
Received: from github-smtp2a-ext-cp1-prd.iad.github.net (github-smtp2a-ext-cp1-prd.iad.github.net [192.30.253.16]) by ismtpd0025p1iad2.sendgrid.net (SG) with ESMTP id CPbS7T4QSbeAsQWgnzw4Vg for <quic-issues@ietf.org>; Wed, 14 Mar 2018 12:12:45.747 +0000 (UTC)
Date: Wed, 14 Mar 2018 12:12:45 +0000
From: Martin Thomson <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+0166e4ab9d6226987d5391dfef55b1d693df8094dabac65b92cf0000000116c0d3bd92a169ce122ff718@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/issues/1190@github.com>
Subject: [quicwg/base-drafts] Pathological loss recovery case with Finished (#1190)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_5aa911bd78a0a_79ff2ad7af632ed04635f"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: martinthomson
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: l64QuQ2uJCcEyUykJbxN122A6QRmEpucztpreh3Pak3gQlA23YFaXBBNDJHEdeThcM853YPPuV1Vim frO1fkwXD20iJNWTnHNfRdfdfdiPP6vVQJVWAo7o+Do91nF34q4/oWVYuyfBOgek6slSWvYE5BSPtg WLTT+S5ADs2z+rh5hphQTKt7r3qSKZ5XbNFgMpEfbHiRi8JItz4H6mmt6MlbmSRUJW4u5J795XTRQy Y=
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/nvEv9Zr1ofWvJN6GE_r7N8Lsbk8>
X-BeenThere: quic-issues@ietf.org
X-Mailman-Version: 2.1.22
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: Wed, 14 Mar 2018 12:12:48 -0000
@marten-seemann writes: 1. Client and server perform the handshake, no packets are lost so far. Client and server both arrive at the CONNECTED state, and the server receives all ACKs for handshake packets it sent. The client receives ACKs for all handshake packets except for the one containing the FINISHED message is lost (the packet containing the ACK for the FINISHED is lost). 2. The client starts using 1-RTT keys, and it sends two packets: First, a packet only containing an ACK, and then a packet containing stream data (e.g. a request). The request packet is then lost. 3. The server receives the ACK in the 1-RTT packet, and it stops accepting unencrypted packets according to 6.1.2 of the TLS draft. It doesn’t generate an ACK in response, since the packet only contained an ACK. 4. The client is now missing acknowledgements for two packets: the (unencrypted) packet containing the FINISHED message, and the (1-RTT) packet containing the request. It runs its loss recovery algorithm (OnLossDetectionAlarm), and since there is one outstanding handshake packet, it retransmit all outstanding handshake packets. Now we’ve run into a situation we can’t recover from: The server won’t even open packet sent as a retransmission (since these packets are unencrypted, and arrive after it already received a 1-RTT packet), and the client will never retransmit the request packet. Furthermore, the server won't send any other packets, since it's just waiting for a request from the client. -- 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/1190
- Re: [quicwg/base-drafts] Pathological loss recove… Martin Thomson
- [quicwg/base-drafts] Pathological loss recovery c… Martin Thomson
- Re: [quicwg/base-drafts] Pathological loss recove… janaiyengar
- Re: [quicwg/base-drafts] Pathological loss recove… janaiyengar
- Re: [quicwg/base-drafts] Pathological loss recove… Martin Thomson
- Re: [quicwg/base-drafts] Pathological loss recove… Martin Thomson
- Re: [quicwg/base-drafts] Pathological loss recove… ianswett