Re: [quicwg/base-drafts] QUIC header format/demultiplexing (#426)
Colin Perkins <notifications@github.com> Thu, 07 December 2017 12:41 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 2523212943D for <quic-issues@ietfa.amsl.com>; Thu, 7 Dec 2017 04:41:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.019
X-Spam-Level:
X-Spam-Status: No, score=-2.019 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_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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 7uO_KDOl7Kzo for <quic-issues@ietfa.amsl.com>; Thu, 7 Dec 2017 04:41:36 -0800 (PST)
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 395B112943A for <quic-issues@ietf.org>; Thu, 7 Dec 2017 04:41:23 -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=9zWT6S+elj4/jCALtyAdAEEDoBA=; b=Pde/I+rLYsEoPqHk RDrFyw4ttNIgpirc1BgtvWA51hQRuZWrU/Wij74weRhkmCFJmv7qcURKpIUR0zG5 bbu5P+cPgFTE1MsC53px05nrW8x5LWAOpg6fG3hSkh0FZ7uP9OCR5Ie+rS9cy1a4 E+wMLlqW2ig57U2PMlGH7fMjUUw=
Received: by filter0051p1las1.sendgrid.net with SMTP id filter0051p1las1-24092-5A2936F1-1C 2017-12-07 12:41:22.052879555 +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 ismtpd0012p1iad2.sendgrid.net (SG) with ESMTP id 6tjHmf-SSjyBAYC91D-QlA for <quic-issues@ietf.org>; Thu, 07 Dec 2017 12:41:22.080 +0000 (UTC)
Date: Thu, 07 Dec 2017 12:41:22 +0000
From: Colin Perkins <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+0166e4ab154ed743ae5616f69476123b83abd4fdd31483d292cf000000011640f8f192a169ce0d018204@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/issues/426/349955910@github.com>
In-Reply-To: <quicwg/base-drafts/issues/426@github.com>
References: <quicwg/base-drafts/issues/426@github.com>
Subject: Re: [quicwg/base-drafts] QUIC header format/demultiplexing (#426)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_5a2936f1ce972_4f6f3fbc9f7aaf3010878c0"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: csperkins
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: l64QuQ2uJCcEyUykJbxN122A6QRmEpucztpreh3Pak2LHy+bWTR2WLKFTrtOWlZxXBfhptyf4i7mCO 06J/7BsWHt7QGLgBpNnfmpAo84MQV3oJE6RAAj/JD3Qz3FCI92JbVOFKUFtCf3LOPejsrODYDd7har QvLdie/OKhO9PSgStKxBK73U+XBKsqu2Lr0nVOc1MuT9YsPxtTJbyn7PLfTekY+tH5x9F0nITW1UmF w=
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/lR3ZYNQVJARtVYBU_HjZc3DXK8c>
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, 07 Dec 2017 12:41:38 -0000
@janaiyengar you can't just use the fingerprint. The algorithm to identify STUN is to check that the first two bits of the packet are 00, then check the magic cookie (bits 33-64 = 0x2112A442), then if necessary find and check the fingerprint attribute. Checking the fingerprint is relatively expensive. QUIC long header packets don't conflict with STUN, since QUIC long header packets start 0b1x and STUN packets start 0b00. The fingerprint isn't needed. QUIC short header packets don't conflict if either the C bit is 1 or the C bit is set to 0 and bits 33-64 differ from 0x2112A442. We can avoid collisions without requiring the STUN FINGERPRINT by making the C bit an Omit Connection ID bit (as in #956), and changing the Connection ID to be either (a) a 63-bit value with bit 64 always set to 1; or (b) a 56-bit value in the range 64 to 2^62-1 (i.e., a 64-bit value where the top two and the lower six bits are set to zero) formatted using the variable length integer encoding. Both these changes seem conceptually clean, and would be QUIC version independent and fit with the invariants. That said, I think there's value in demuxing with WebRTC traffic in addition to STUN, at least for QUIC version 1. Renumbering the fields as in #956 is independent of the above discussion of how to demux STUN, doesn't change QUIC semantics, and enables us to do this. -- 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/426#issuecomment-349955910
- [quicwg/base-drafts] QUIC header format/demultipl… Lars Eggert
- Re: [quicwg/base-drafts] QUIC header format/demul… Martin Thomson
- Re: [quicwg/base-drafts] QUIC header format/demul… Colin Perkins
- Re: [quicwg/base-drafts] QUIC header format/demul… Colin Perkins
- Re: [quicwg/base-drafts] QUIC header format/demul… janaiyengar
- Re: [quicwg/base-drafts] QUIC header format/demul… Mark Nottingham
- Re: [quicwg/base-drafts] QUIC header format/demul… Mark Nottingham
- Re: [quicwg/base-drafts] QUIC header format/demul… janaiyengar
- Re: [quicwg/base-drafts] QUIC header format/demul… janaiyengar
- Re: [quicwg/base-drafts] QUIC header format/demul… ianswett
- Re: [quicwg/base-drafts] QUIC header format/demul… Martin Thomson
- Re: [quicwg/base-drafts] QUIC header format/demul… janaiyengar
- Re: [quicwg/base-drafts] QUIC header format/demul… Marten Seemann
- Re: [quicwg/base-drafts] QUIC header format/demul… ianswett
- Re: [quicwg/base-drafts] QUIC header format/demul… janaiyengar
- Re: [quicwg/base-drafts] QUIC header format/demul… janaiyengar
- Re: [quicwg/base-drafts] QUIC header format/demul… Colin Perkins
- Re: [quicwg/base-drafts] QUIC header format/demul… Martin Thomson
- Re: [quicwg/base-drafts] QUIC header format/demul… ianswett
- Re: [quicwg/base-drafts] QUIC header format/demul… janaiyengar
- Re: [quicwg/base-drafts] QUIC header format/demul… Colin Perkins
- Re: [quicwg/base-drafts] QUIC header format/demul… janaiyengar
- Re: [quicwg/base-drafts] QUIC header format/demul… Colin Perkins
- Re: [quicwg/base-drafts] QUIC header format/demul… janaiyengar
- Re: [quicwg/base-drafts] QUIC header format/demul… Roni Even
- Re: [quicwg/base-drafts] QUIC header format/demul… Colin Perkins
- Re: [quicwg/base-drafts] QUIC header format/demul… Marten Seemann
- Re: [quicwg/base-drafts] QUIC header format/demul… Colin Perkins
- Re: [quicwg/base-drafts] QUIC header format/demul… ianswett
- Re: [quicwg/base-drafts] QUIC header format/demul… Colin Perkins
- Re: [quicwg/base-drafts] QUIC header format/demul… janaiyengar
- Re: [quicwg/base-drafts] QUIC header format/demul… Martin Thomson
- Re: [quicwg/base-drafts] QUIC header format/demul… Martin Thomson