Re: [quicwg/base-drafts] Discard Initial keys as soon as possible (#2045)

Christian Huitema <notifications@github.com> Wed, 12 December 2018 23:09 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 95C14130F32 for <quic-issues@ietfa.amsl.com>; Wed, 12 Dec 2018 15:09:10 -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 SoCXRp4RQMiF for <quic-issues@ietfa.amsl.com>; Wed, 12 Dec 2018 15:09:08 -0800 (PST)
Received: from o7.sgmail.github.com (o7.sgmail.github.com [167.89.101.198]) (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 65B3A130F29 for <quic-issues@ietf.org>; Wed, 12 Dec 2018 15:09:08 -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=L2iTn9ziErnLyNDTg+AFrd97izA=; b=kvFwKEDyHmRksbZk 8caPnLoev/iCVZBHXZJRX4Flmzkpy1r4GzC5m9hfhIA2GtFZOKP+7LQ4SE8sWKWC oDDRX0gIMali5QBkTQLRS1zjpNYh4a25vXj0+t9NHEXCoNsWlg1r/gzegkkGTaS8 Sr4g8QV0uMj58fEVFvAnYiEHKRQ=
Received: by filter0610p1iad2.sendgrid.net with SMTP id filter0610p1iad2-19506-5C119512-5D 2018-12-12 23:09:06.989893313 +0000 UTC m=+171095.395426071
Received: from github-lowworker-f6df7df.cp1-iad.github.net (unknown [192.30.252.41]) by ismtpd0033p1iad2.sendgrid.net (SG) with ESMTP id rpkZ0EKqSDWDSGOspiuZ8A for <quic-issues@ietf.org>; Wed, 12 Dec 2018 23:09:06.998 +0000 (UTC)
Received: from github.com (localhost [127.0.0.1]) by github-lowworker-f6df7df.cp1-iad.github.net (Postfix) with ESMTP id EE75E3E026B for <quic-issues@ietf.org>; Wed, 12 Dec 2018 15:09:06 -0800 (PST)
Date: Wed, 12 Dec 2018 23:09:07 +0000
From: Christian Huitema <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+0166e4ab95f2c7cfe26cc7878a72081d3fff2356f28a6f9b92cf000000011829571292a169ce16de7e61@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/pull/2045/c446778962@github.com>
In-Reply-To: <quicwg/base-drafts/pull/2045@github.com>
References: <quicwg/base-drafts/pull/2045@github.com>
Subject: Re: [quicwg/base-drafts] Discard Initial keys as soon as possible (#2045)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_5c119512ec6bd_5f8e3fcbe1ad45c0162121"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: huitema
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: l64QuQ2uJCcEyUykJbxN122A6QRmEpucztpreh3Pak0P4e8h27sJqaSUk3ekcA808gWvjkbl4/X8Ik fmTWG1KFFK/kn4gG/zgDre6ceG2Cg71vKkgtltsInnaM6qzROyME/fcGBAKFjtAcPRyJTLLP/l1frh UCN6W74FVr+aJmaHLYVbMmASe/EuI9PM1Ba/hupZVtEVVPqvnMi/zXJ8m0z8O2teQJsEY/GdmVdsif c=
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/yzTICC9gdqDZIOMQ-BrrNWk644I>
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: Wed, 12 Dec 2018 23:09:11 -0000

I am looking at the arguments on this thread, and I think EKR and Kazuho are making very similar points:

1) The current state is that packet injection attacks are possible until 3 RTT after handshake is complete, or about 4 RTT from the time the Client Hello is sent.

2) This PR (#2045) would reduce the window from 4 RTT to 1 RTT.

3) But it is reasonably easy for attackers to inject packets within 0.5 RTT from the point the Client Hello is sent.

4) Thus we get a piecemeal defense that adds some complexity and risk but does not actually solve the problem.

I feel sad.

-- 
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/2045#issuecomment-446778962