Re: [tcpinc] Revised version of TCP-ENO

Daniel B Giffin <dbg@scs.stanford.edu> Thu, 13 August 2015 23:23 UTC

Return-Path: <dbg@scs.stanford.edu>
X-Original-To: tcpinc@ietfa.amsl.com
Delivered-To: tcpinc@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 912001ACEB8 for <tcpinc@ietfa.amsl.com>; Thu, 13 Aug 2015 16:23:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.911
X-Spam-Level:
X-Spam-Status: No, score=-1.911 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
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 MhJpER6aimzJ for <tcpinc@ietfa.amsl.com>; Thu, 13 Aug 2015 16:23:54 -0700 (PDT)
Received: from market.scs.stanford.edu (www.scs.stanford.edu [IPv6:2001:470:806d:1::9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9CB9D1ACEB7 for <tcpinc@ietf.org>; Thu, 13 Aug 2015 16:23:54 -0700 (PDT)
Received: from market.scs.stanford.edu (localhost.scs.stanford.edu [127.0.0.1]) by market.scs.stanford.edu (8.14.7/8.14.7) with ESMTP id t7DNNrJZ000799; Thu, 13 Aug 2015 16:23:53 -0700 (PDT)
Received: (from dbg@localhost) by market.scs.stanford.edu (8.14.7/8.14.7/Submit) id t7DNNqsd028653; Thu, 13 Aug 2015 16:23:52 -0700 (PDT)
Date: Thu, 13 Aug 2015 16:23:52 -0700
From: Daniel B Giffin <dbg@scs.stanford.edu>
To: Martin Thomson <martin.thomson@gmail.com>
Message-ID: <20150813232352.GA18349@scs.stanford.edu>
References: <87pp2vqplu.fsf@ta.scs.stanford.edu> <CAJU8_nXAHhf6dqqs0gUEGz49bG7YUO1qaGwaLm04+vstPTyfWg@mail.gmail.com> <87h9o4rqwz.fsf@ta.scs.stanford.edu> <874mk2kj56.fsf@alice.fifthhorseman.net> <CAJU8_nVcDmCw-0KYviJ5GWZL+-YcCg3wLMJqpkuh=iN8RppA+A@mail.gmail.com> <87y4hej2vf.fsf@alice.fifthhorseman.net> <87egj67sac.fsf@ta.scs.stanford.edu> <87bnea7rr6.fsf@ta.scs.stanford.edu> <CABkgnnUF-byT2MH8mrmZJaMY2PTsspWJ8W3wJmddXdgMqGHCkQ@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <CABkgnnUF-byT2MH8mrmZJaMY2PTsspWJ8W3wJmddXdgMqGHCkQ@mail.gmail.com>
Archived-At: <http://mailarchive.ietf.org/arch/msg/tcpinc/0hPbhYA40p8m9p77x_uSfg-MXVY>
Cc: tcpinc <tcpinc@ietf.org>
Subject: Re: [tcpinc] Revised version of TCP-ENO
X-BeenThere: tcpinc@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "Discussion list for adding encryption to TCP." <tcpinc.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tcpinc>, <mailto:tcpinc-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tcpinc/>
List-Post: <mailto:tcpinc@ietf.org>
List-Help: <mailto:tcpinc-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tcpinc>, <mailto:tcpinc-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 13 Aug 2015 23:23:55 -0000

Martin Thomson wrote:
> On 13 August 2015 at 15:22, David Mazieres
> <dm-list-tcpcrypt@scs.stanford.edu> wrote:
> >
> > * Unless and until applications disclose information about the session
> >   ID, all but the first byte MUST be computationally indistinguishable
> >   from random bytes to a network eavesdropper.
> 
> 
> Don't call out the first byte.  The whole thing is what will matter
> here.  As long as two session IDs are indistinguishable from each
> other, I think that we're OK.

david is just exempting the negotiated "spec identifier"
that TCP-ENO prepends to the collision-resistant hash of
connection information.

that byte indicates what encryption protocol was negotiated,
and of course will be easily distinguishable from random.