Re: [quicwg/base-drafts] QUIC header format/demultiplexing (#426)

Colin Perkins <notifications@github.com> Wed, 06 December 2017 16:48 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 21C0D1276AF for <quic-issues@ietfa.amsl.com>; Wed, 6 Dec 2017 08:48:07 -0800 (PST)
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, 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 TZsFEF9OhImf for <quic-issues@ietfa.amsl.com>; Wed, 6 Dec 2017 08:48:05 -0800 (PST)
Received: from o10.sgmail.github.com (o10.sgmail.github.com [167.89.101.201]) (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 1F82B1275F4 for <quic-issues@ietf.org>; Wed, 6 Dec 2017 08:48:05 -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=dDwNE+0ewUZmy84riBIB+2yl3+k=; b=DFxxYrh3AinA4vJt 93Sq2pUqco/631sBYpldusHcHD5gxRPkRO33ylFNHznQnZZTPcPnNVZS3k7RzMoX V3377MQu9JaJArM8ICdtFlrJ50Vq29dP15iD+1+Qi2QhspMvQFpg4k4EtuA1xl93 /lZx+B3Wlo+hQuXpUljHYhzSxJY=
Received: by filter0422p1iad2.sendgrid.net with SMTP id filter0422p1iad2-10805-5A281F43-1E 2017-12-06 16:48:03.873944302 +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 ismtpd0002p1iad1.sendgrid.net (SG) with ESMTP id pFe9kysYTamPnsqqWvx0Cg for <quic-issues@ietf.org>; Wed, 06 Dec 2017 16:48:03.913 +0000 (UTC)
Date: Wed, 06 Dec 2017 16:48:04 +0000
From: Colin Perkins <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+0166e4abde5c86198df4b35144724729d5a9490313e0f55292cf00000001163fe14392a169ce0d018204@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/349700820@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_5a281f43c067b_207f3fc05c21af2885226"; 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: l64QuQ2uJCcEyUykJbxN122A6QRmEpucztpreh3Pak1RVW3tuHqy5zi3oyH7Xvfxsdri0jF04se+0I X0A5yCRQ3+e/w2GGQwAZ8GviXpuVQzHg0uLXP8almlIjgr2Q8vHlWWfUet7HvVoAaMifKecvjdKgEm rDXptkJJIMSXml6vIxT673ZKZEM/4sjfqR7/0J/S3Nf9annFxfM+C2oZST40DIDYOVLo1jdadD5kLH 0=
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/x458sFd6aB-IiCBmfSVbCj1gAzg>
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, 06 Dec 2017 16:48:07 -0000

If all you care about is demuxing QUIC and STUN, then there are several alternatives. The fingerprint is one option, certainly. Inspecting the first two bits of the packet and checking for the presence of STUN Magic Cookie is another that's simpler (especially if we revert the C bit in the short header packets). 

I do think there are use cases for demuxing QUIC with other protocols, however (@aboba likely has input too). #956 (and the -08 draft) supports this with only minimal changes to QUIC (renumbering fields, no semantic changes). 

We do need to document a long-term stable demux algorithm for QUIC and STUN, and decide to what extent we want a stable algorithm for demuxing QUIC and other protocols. My feeling is that one of the QUIC invariants has to be an algorithm for demuxing QUIC and STUN, but for demultiplexing QUIC and other protocols we should say "this works for QUIC v1, but we don't guarantee for future versions of QUIC".

-- 
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-349700820