Re: [quicwg/base-drafts] Invert the connection ID logic during the handshake (#442)
Brian Trammell <notifications@github.com> Thu, 27 April 2017 07:54 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 CDC03126B6E for <quic-issues@ietfa.amsl.com>; Thu, 27 Apr 2017 00:54:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.02
X-Spam-Level:
X-Spam-Status: No, score=-2.02 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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 yOswGE6ROH9r for <quic-issues@ietfa.amsl.com>; Thu, 27 Apr 2017 00:54:21 -0700 (PDT)
Received: from o1.sgmail.github.com (o1.sgmail.github.com [192.254.114.176]) (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 5F531126BF6 for <quic-issues@ietf.org>; Thu, 27 Apr 2017 00:54:21 -0700 (PDT)
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=kgCN322P27maD81gNL8TmGj28y4=; b=uITJWbEssd+L71pv 4Gr96k8rpGye+a0zoysJLrug5n5rgPYnsif2JAgD8JuLftt6fVnC22NMeeYlE6jI ftdNvQEJkdNgBzwnbwUVuZC0Z+VSf2BHuUCxADIKj7XdplRNp348pXVAJeo2R9i9 vWHI53/AU8O3sTu/BkV5BazrRN0=
Received: by filter0501p1mdw1.sendgrid.net with SMTP id filter0501p1mdw1-32575-5901A3AC-15 2017-04-27 07:54:20.361675284 +0000 UTC
Received: from github-smtp2b-ext-cp1-prd.iad.github.net (github-smtp2b-ext-cp1-prd.iad.github.net [192.30.253.17]) by ismtpd0002p1iad1.sendgrid.net (SG) with ESMTP id 3dAqQohuQ6uaIHCQxv4Qow for <quic-issues@ietf.org>; Thu, 27 Apr 2017 07:54:20.091 +0000 (UTC)
Date: Thu, 27 Apr 2017 00:54:19 -0700
From: Brian Trammell <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+0166e4ab10dadc09e09d589a0a9492c2d60354cc1e5a360892cf00000001151965ab92a169ce0d441b68@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/issues/442/297640203@github.com>
In-Reply-To: <quicwg/base-drafts/issues/442@github.com>
References: <quicwg/base-drafts/issues/442@github.com>
Subject: Re: [quicwg/base-drafts] Invert the connection ID logic during the handshake (#442)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_5901a3abef89c_74a73fab68a2fc3019577e"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: britram
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: l64QuQ2uJCcEyUykJbxN122A6QRmEpucztpreh3Pak2ZpfsflF6rFepIt6F4Sr3XV9CyG4cvuvaeAf HkHgY4Cghyl//zkIPLffuUgoamD45K7Det5lL5IsRTI52Se6PYINCXE02Kme4tTKxLieAUS1Gt1A9I JE9+bwW08gZ7GCkplmp7FOz7i9oHpwCvifTpSaYrd8SWRgAJZMkKvuyYyoOCxup7MZRRyu+YgjzXB1 M=
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/oUGBliw0KliKvtkGPgS4_mcVY5c>
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: Thu, 27 Apr 2017 07:54:26 -0000
In general, this seems like a reasonable thing to do. With respect to DoS, any time you're using an identifier that may need to be implemented using a stateful lookup -- and I don't think there's any amount of clever math that will fit into the number of bits we're willing to stick into the header that can completely avoid state -- you need to have dynamic prevention of DoS against that state. This is an essential property of the problem space. This design, however, stretches the already not-very-helpful "Connection ID" terminology beyond its breaking point, so I'd suggest we rename it in the process of doing this: (1) In the initial client packet, this field doesn't "identify" a connection; it's basically just a nonce. (2) Server-chosen connection IDs don't actually identify connections either; they contain client-opaque information that can be used by the server or server-adjacent forwarding devices for whatever purpose the server sees fit. This is more a token than an identifier. This would admittedly make the packet diagrams a little more complex -- some packets have a nonce, some packets have a token -- but the nonce/token is taking up the same bitspace in the header. -- 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/442#issuecomment-297640203
- [quicwg/base-drafts] Invert the connection ID log… Martin Thomson
- Re: [quicwg/base-drafts] Invert the connection ID… MikkelFJ
- Re: [quicwg/base-drafts] Invert the connection ID… MikkelFJ
- Re: [quicwg/base-drafts] Invert the connection ID… janaiyengar
- Re: [quicwg/base-drafts] Invert the connection ID… Igor Lubashev
- Re: [quicwg/base-drafts] Invert the connection ID… Martin Thomson
- Re: [quicwg/base-drafts] Invert the connection ID… Brian Trammell
- Re: [quicwg/base-drafts] Invert the connection ID… martinduke
- Re: [quicwg/base-drafts] Invert the connection ID… Martin Thomson
- Re: [quicwg/base-drafts] Invert the connection ID… Martin Thomson