Re: Invariants draft

Spencer Dawkins at IETF <spencerdawkins.ietf@gmail.com> Wed, 06 December 2017 19:56 UTC

Return-Path: <spencerdawkins.ietf@gmail.com>
X-Original-To: quic@ietfa.amsl.com
Delivered-To: quic@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 24BAA124D85 for <quic@ietfa.amsl.com>; Wed, 6 Dec 2017 11:56:55 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level:
X-Spam-Status: No, score=-2.699 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 CeIYH9Y8_aVO for <quic@ietfa.amsl.com>; Wed, 6 Dec 2017 11:56:52 -0800 (PST)
Received: from mail-yw0-x22d.google.com (mail-yw0-x22d.google.com [IPv6:2607:f8b0:4002:c05::22d]) (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 C50E91243FE for <quic@ietf.org>; Wed, 6 Dec 2017 11:56:52 -0800 (PST)
Received: by mail-yw0-x22d.google.com with SMTP id m129so2027937ywb.11 for <quic@ietf.org>; Wed, 06 Dec 2017 11:56:52 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=iTadUJ5rqrkWPniAmapcmelHt50oGHW0kvaXUaiu9vM=; b=lmeoMy5E+sYsRUJ9IMIrQ8OyE+NtS6GFcYD/Pwl5k8v68g1PAgMZFRGV2JBHZEdPK6 WEdFT4RlAsObjtqWbHC4UihoNGgDRY0i2KqhzoD6XVDgin3ulbN6JX7nZoUNw9PWSkKp nH/jAqY0nA0kZcetOkosJgidMKDnfesVc76V4E+sDc6clO2sXmK+CsXJrjdnDn2Vw6g6 J5PUCYFjrCTsXMHSMRsfG6SPltfFcAgkLhAjHsTPtuCE6FNerKEMxeNr0RychISrCVTv /p4indAgu0pQC2+EDWuvTC9QTPFlEzAi6l/78zC1+oOjgCzTrjWoI9OYuMF7sZYXY3Jw WZVQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=iTadUJ5rqrkWPniAmapcmelHt50oGHW0kvaXUaiu9vM=; b=oRCu/gOEQHnhQpDW2ewNvRcvcvdoa5vey6qkgYIyEah0SxX/SsxOQHsTuynoxLJgwL 1Lk16ELaHQ6RznNDM0Q7nNHOz1Bldi76LCWLy4hwoorLeh5oHOsi9gWEfH8FOwz9Q6qd 4jcb3+5/xJgUHPrdU4tqex9uBbgPg3f7ai79itA60azaWld/md3hNDErZCiR8+Fjkn3W TpHPXbbLpy6Q3uG+F62BZ4oCD1kw64HBIRCCwZac8BltrAn4YhwDxxjrsdaVONtPcaxC 7kujeuXxFR2AUn0MGTDI9ULuV336kyEltEietDSMruzbGKefwRTrm770Y5Yfv+6vyYFe QOxw==
X-Gm-Message-State: AJaThX50Ddtr2pUwfbzKtcN9Rghd+E14pyjVR4nJBvaqfWbuYlW1t3bD 4S3XC2eu2VnDipg7UvAXGabLHF7zB7PK9psd4Ig=
X-Google-Smtp-Source: AGs4zMbIqLzDYCNX5bVBUSv+CHD6tey38ZgAgUYlSrrYrq5Tek5HduHYabX7fmEXTtxwqKgPSiv5q6rMbynSXOzsNM4=
X-Received: by 10.13.248.2 with SMTP id i2mr18227055ywf.448.1512590211851; Wed, 06 Dec 2017 11:56:51 -0800 (PST)
MIME-Version: 1.0
Received: by 10.37.129.7 with HTTP; Wed, 6 Dec 2017 11:56:51 -0800 (PST)
In-Reply-To: <6E58094ECC8D8344914996DAD28F1CCD851F75@DGGEMM506-MBS.china.huawei.com>
References: <CABkgnnVr7jQ2=fFM+OOgk0-=Fseze8fT3xwWBOj-4CWTOtbq1Q@mail.gmail.com> <6E58094ECC8D8344914996DAD28F1CCD851F75@DGGEMM506-MBS.china.huawei.com>
From: Spencer Dawkins at IETF <spencerdawkins.ietf@gmail.com>
Date: Wed, 06 Dec 2017 13:56:51 -0600
Message-ID: <CAKKJt-eQJgboaQowAPQ6FZ5fwjg4ROpj77+fe-E4v0NKXgK1nA@mail.gmail.com>
Subject: Re: Invariants draft
To: Roni Even <roni.even@huawei.com>
Cc: Martin Thomson <martin.thomson@gmail.com>, QUIC WG <quic@ietf.org>
Content-Type: multipart/alternative; boundary="94eb2c07f7f444acde055fb15afc"
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/1Q9BTAQxXZE_XJ93y0ah9PELt64>
X-BeenThere: quic@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Main mailing list of the IETF QUIC working group <quic.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/quic>, <mailto:quic-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/quic/>
List-Post: <mailto:quic@ietf.org>
List-Help: <mailto:quic-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/quic>, <mailto:quic-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 06 Dec 2017 19:56:55 -0000

Speaking with no hats ...

On Wed, Dec 6, 2017 at 4:44 AM, Roni Even <roni.even@huawei.com> wrote:

> Hi,
> I think that the document needs some more information about why these
> fields are invariants.
> For example, we can have a new version with a message type that will mean
> that the header format from the next message changes and the connection ID
> will be in a different position from the next message with higher packet
> number.  I assume that this is not something we want if there is a need to
> support routing based on connection ID by intermediary who will not support
> this new version. So if routing support is mandatory it will be good to
> mention it in this document.
>

I want to thank Martin for putting together version -00 of this draft. It's
already very helpful.

When I made the suggestion to progress work on invariants as a separate
draft, I was thinking that the problem that solves, is making it easier to
update QUIC specifications without simultaneously reopening the list of
invariants and/or arguing about adding to that list.

IIUC Roni's suggestion, I'm thinking that it's also worth adding
information about why these invariants are invariant, in case we ever start
arguing about taking an invariant away.

I can easily imagine that some creative security person will, some day,
think of some way that one of these invariants can be exploited to tell a
third party something that the two endpoints didn't intend to share. If
(when?) that happens, it would be good to have a clear understanding of the
value of any invariant that's questioned, so we don't have to agree on that
while we're trying to decide what to do, after an exploit is identified.

Again, wearing no hats.

Spencer


> Roni
>
> > -----Original Message-----
> > From: QUIC [mailto:quic-bounces@ietf.org] On Behalf Of Martin Thomson
> > Sent: יום ו 01 דצמבר 2017 06:10
> > To: QUIC WG
> > Subject: Invariants draft
> >
> > I've just submitted a personal draft that describes the invariants that
> I think
> > we agreed to in Singapore.
> >
> > https://datatracker.ietf.org/doc/html/draft-thomson-quic-invariants
> >
> > This is just me for the moment (though Jana and Mike were very helpful in
> > reviewing an even draftier draft).  It also assumes a few things about
> the
> > current drafts that aren't yet true, and may not even become true.  Don't
> > focus too much on the specific content of what is in or out, because
> that sort
> > of detail is easy to fix.
> >
> > More than content, I'd like to concentrate on the general approach and
> > scope.  My hope is that we can agree that those are more or less correct.
> > And then adopt the draft.  A draft like this should help address
> questions
> > people have been asking about what can and cannot change between QUIC
> > versions.
>
>