
From nobody Wed Aug  2 19:31:46 2017
Return-Path: <internet-drafts@ietf.org>
X-Original-To: tcpinc@ietf.org
Delivered-To: tcpinc@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id BAFDD126D46; Wed,  2 Aug 2017 19:31:44 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
Cc: tcpinc@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 6.58.0
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <150172750472.5791.5722734243815699285@ietfa.amsl.com>
Date: Wed, 02 Aug 2017 19:31:44 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpinc/amwmBLgfbDrW6ZkGCzNaXg1PEB8>
Subject: [tcpinc] I-D Action: draft-ietf-tcpinc-tcpeno-09.txt
X-BeenThere: tcpinc@ietf.org
X-Mailman-Version: 2.1.22
List-Id: "Working group mailing list for TCP Increased Security \(tcpinc\)" <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, 03 Aug 2017 02:31:45 -0000

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the TCP Increased Security WG of the IETF.

        Title           : TCP-ENO: Encryption Negotiation Option
        Authors         : Andrea Bittau
                          Daniel B. Giffin
                          Mark Handley
                          David Mazieres
                          Eric W. Smith
	Filename        : draft-ietf-tcpinc-tcpeno-09.txt
	Pages           : 27
	Date            : 2017-08-02

Abstract:
   Despite growing adoption of TLS, a significant fraction of TCP
   traffic on the Internet remains unencrypted.  The persistence of
   unencrypted traffic can be attributed to at least two factors.
   First, some legacy protocols lack a signaling mechanism (such as a
   "STARTTLS" command) by which to convey support for encryption, making
   incremental deployment impossible.  Second, legacy applications
   themselves cannot always be upgraded, requiring a way to implement
   encryption transparently entirely within the transport layer.  The
   TCP Encryption Negotiation Option (TCP-ENO) addresses both of these
   problems through a new TCP option kind providing out-of-band, fully
   backward-compatible negotiation of encryption.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-tcpinc-tcpeno/

There are also htmlized versions available at:
https://tools.ietf.org/html/draft-ietf-tcpinc-tcpeno-09
https://datatracker.ietf.org/doc/html/draft-ietf-tcpinc-tcpeno-09

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-ietf-tcpinc-tcpeno-09


Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/


From nobody Fri Aug 11 12:41:59 2017
Return-Path: <dbg@scs.stanford.edu>
X-Original-To: tcpinc@ietfa.amsl.com
Delivered-To: tcpinc@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 822601323C1 for <tcpinc@ietfa.amsl.com>; Fri, 11 Aug 2017 12:41:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 5sN7cEsq4Crf for <tcpinc@ietfa.amsl.com>; Fri, 11 Aug 2017 12:41:56 -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 122B813252C for <tcpinc@ietf.org>; Fri, 11 Aug 2017 12:41:55 -0700 (PDT)
Received: from market.scs.stanford.edu (localhost [127.0.0.1]) by market.scs.stanford.edu (8.15.2/8.15.2) with ESMTP id v7BJftQ5052296 for <tcpinc@ietf.org>; Fri, 11 Aug 2017 12:41:55 -0700 (PDT)
Received: (from dbg@localhost) by market.scs.stanford.edu (8.15.2/8.15.2/Submit) id v7BJftEG034672 for tcpinc@ietf.org; Fri, 11 Aug 2017 12:41:55 -0700 (PDT)
Date: Fri, 11 Aug 2017 12:41:55 -0700
From: Daniel B Giffin <dbg@scs.stanford.edu>
To: tcpinc <tcpinc@ietf.org>
Message-ID: <20170811194155.GB11041@scs.stanford.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpinc/DbeYVjaTs9gsxZaeMeZv5Uz9Kb4>
Subject: [tcpinc] TCP-ENO revision
X-BeenThere: tcpinc@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "Working group mailing list for TCP Increased Security \(tcpinc\)" <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: Fri, 11 Aug 2017 19:41:57 -0000

We've revised the TCP-ENO draft slightly to address concerns
raised in the AD review and during subsequent discussion on
the list:

  https://datatracker.ietf.org/doc/draft-ietf-tcpinc-tcpeno/

Changes include:

- Abstract: remove reference to TLS RFC
- remove experimental form of TCP-ENO option
- "The negotiated TEP": swap order of last two paragraphs
- make TFO an Informative reference
- refine language around transcript tampering
- move "Future developments" out of "Design rationale"
- remove normative language from non-normative sections
- IANA considerations: modify language about TEP assignment

daniel


From nobody Mon Aug 14 05:29:47 2017
Return-Path: <ietf@kuehlewind.net>
X-Original-To: tcpinc@ietfa.amsl.com
Delivered-To: tcpinc@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D88111321AF for <tcpinc@ietfa.amsl.com>; Mon, 14 Aug 2017 05:29:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Level: 
X-Spam-Status: No, score=-2.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); domainkeys=pass (1024-bit key) header.from=ietf@kuehlewind.net header.d=kuehlewind.net
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 fc-0R8JaS0nU for <tcpinc@ietfa.amsl.com>; Mon, 14 Aug 2017 05:29:43 -0700 (PDT)
Received: from kuehlewind.net (kuehlewind.net [83.169.45.111]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C3F061320D8 for <tcpinc@ietf.org>; Mon, 14 Aug 2017 05:29:42 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=kuehlewind.net;  b=aDtEJnKDmZ4kzQu+vF4cxiC7KNwrz7tvtx3hogTzyzWN+Layvdml9yG4in295DL4aQvY7lLPn4H8Fw5IP7EQm0fNVXtTHh8c7kdf66DQC7cwENJ+JR1Eoug8wJlFlGzclDlw0zSmLAV4AcRuxY7PVj0KRnyd6O9MoayOum0gjQA=; h=Received:Received:Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Cc:Content-Transfer-Encoding:Message-Id:References:To:X-Mailer:X-PPP-Message-ID:X-PPP-Vhost;
Received: (qmail 22088 invoked from network); 14 Aug 2017 14:29:40 +0200
Received: from p5dec2dc4.dip0.t-ipconnect.de (HELO ?192.168.178.33?) (93.236.45.196) by kuehlewind.net with ESMTPSA (DHE-RSA-AES256-SHA encrypted, authenticated); 14 Aug 2017 14:29:40 +0200
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: "Mirja Kuehlewind (IETF)" <ietf@kuehlewind.net>
In-Reply-To: <87shhg2twv.fsf@ta.scs.stanford.edu>
Date: Mon, 14 Aug 2017 14:29:39 +0200
Cc: draft-ietf-tcpinc-tcpeno.all@ietf.org, tcpinc <tcpinc@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <308CA47B-496A-403C-8191-1384B8999717@kuehlewind.net>
References: <55B07DA5-E274-4720-A919-83483094B9A0@tik.ee.ethz.ch> <80C705CD-8A24-49A9-A1B8-6FA7B2162941@kuehlewind.net> <87fudh62um.fsf@ta.scs.stanford.edu> <36738439-CAEC-4694-87EF-00EC91426D9C@kuehlewind.net> <87shhg2twv.fsf@ta.scs.stanford.edu>
To: David Mazieres <dm-list-tcpcrypt@scs.stanford.edu>
X-Mailer: Apple Mail (2.3273)
X-PPP-Message-ID: <20170814122940.22081.34994@lvps83-169-45-111.dedicated.hosteurope.de>
X-PPP-Vhost: kuehlewind.net
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpinc/rHNHKKUjI3oH1y8lrSHB0T2mcXY>
Subject: Re: [tcpinc] AD review of tcp-eno
X-BeenThere: tcpinc@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "Working group mailing list for TCP Increased Security \(tcpinc\)" <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: Mon, 14 Aug 2017 12:29:46 -0000

Hi David,

sorry for the delay; I missed this mail. See below.

> Am 28.07.2017 um 22:22 schrieb David Mazieres =
<dm-list-tcpcrypt@scs.stanford.edu>:
>=20
> "Mirja Kuehlewind (IETF)" <ietf@kuehlewind.net> writes:
>=20
>> This is what early allocation is for. We could have also asked for
>> early allocation for tcpinc as soon as the spec was reasonably stable
>> but given there was no-one who was actually about to deploy this in
>> the Internet, it was probably not necessary.
>=20
> Is there something I can put in the document to clarify that early
> allocation should be the norm not the exception?  The think I like =
about
> "Specification required" is that RFC7120 2a says:
>=20
>       The code points must be from a space designated as "RFC
>       Required", "IETF Review", or "Standards Action".  Additionally,
>       requests for early assignment of code points from a
>       "Specification Required" registry are allowed if the
>       specification will be published as an RFC.

This text only says that Early Allocation is only possible for =
"Specification required" if the specification will be an RFC. So if you =
have =E2=80=9ESpecification required=E2=80=9C and you have a stable spec =
somewhere, then you can ask for a code point right away. However, if =
your spec is a draft, you should wait to ask for the codepoint until =
this spec is stable, hence published as RFC. However, in this case you =
can apply the early allocation. While for policies where all final =
documents are RFC (=E2=80=9EIETF review=E2=80=9C or =E2=80=9EStandards =
action=E2=80=9C), early allocation is always possible.

Again I believe that you want all schemes to be document in RFCs in the =
IETF stream as a final outcome. Therefore the right policy is =E2=80=9EIET=
F review=E2=80=9C. Again, it is not necessary to explicitly mention =
early allocation for this policy, however, if you want to make sure that =
people think about using it, you can mention it separately.

>=20
> So I like the fact that the specification required allows early
> allocation *if* an RFC is anticipated.

Again, if your spec is not an RFC/draft this means you can allocation a =
code point right away. I don=E2=80=99t think this is what you want.
>=20
> Basically I want something in this document to make it clearly easier =
to
> get ENO TEP IDs than TCP option kinds.

It=E2=80=99s actually not that hard to get an option number if you =
follow the process. Unfortunatey this was a bit a mess from the =
beginning for tcpinc. Again, we could have asked for early allocation =
for tcpinc but it didn=E2=80=99t seem necessary, given there is the =
experimental option and there was no real deployment yet.
>=20
>=20
> On a related note, I think there might be an inconsistency in the =
draft
> that I would appreciate some input in resolving.  Section 7.1 says:
>=20
>        TLS can currently only be added to legacy applications whose
>        protocols accommodate a STARTTLS command or equivalent.
>        TCP-ENO, because it provides out-of-band signaling, opens the
>        possibility of future TLS revisions being generically =
applicable
>        to any TCP application.
>=20
> Of course what, we really wanted to say was TCP-ENO was designed to
> support TCP-use-TLS.  However, if I recall, there's a citation issue
> because we aren't supposed to cite an internet draft in an RFC unless
> the two will become RFCs at the same time, and TCP-use-TLS has been
> delayed.  But then in 0x30, we still cite TCP-Use-TLS to assign it =
code
> point 0x30.

You shouldn=E2=80=99t cite a draft normatively, also you in theory can =
if really needed.=20

>=20
> Given the work invested in TCP-Use-TLS, should we indeed reserve TEP =
Id
> 0x30 for that effort in case anyone wants to pick up it up again, and =
if
> so how should we do that without citing an expired internet draft?  =
Can
> we just reserve TEP ID 0x30 for future use by TLS and cite TLS?  Or =
what
> should we do?

Yes, I think it would be good to remove the normative reference here. =
Usually the tcp-use-tls draft should make the assignment request itself. =
We could mark it in the registry as reserved and make a note in the =
document that this is reserved for use with TLS (without referring to =
any document). Or we just leave this open. I=E2=80=99m not expecting any =
other scheme coming up soon (especially if we go for =E2=80=9EIETF =
review=E2=80=9C and not =E2=80=9ESpecification required", and in the =
unlikely case this would happen, then TLS would need to take another =
number, which I believe would also not be a problem, right?

Mirja

P.S.: Please also check my comments for draft-ietf-tcpinc-tcpcrypt and =
update accordingly. I would like to start both IETF Last Calls at the =
same time when updated. Thanks!



>=20
> Thanks,
> David


From nobody Mon Aug 14 05:39:59 2017
Return-Path: <ietf@kuehlewind.net>
X-Original-To: tcpinc@ietfa.amsl.com
Delivered-To: tcpinc@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7C9CE1321BE for <tcpinc@ietfa.amsl.com>; Mon, 14 Aug 2017 05:39:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Level: 
X-Spam-Status: No, score=-2.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); domainkeys=pass (1024-bit key) header.from=ietf@kuehlewind.net header.d=kuehlewind.net
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 wHbXf2JA_ZWu for <tcpinc@ietfa.amsl.com>; Mon, 14 Aug 2017 05:39:55 -0700 (PDT)
Received: from kuehlewind.net (kuehlewind.net [83.169.45.111]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0CCB01321B8 for <tcpinc@ietf.org>; Mon, 14 Aug 2017 05:39:54 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=kuehlewind.net;  b=rJXc//mFG9YttFnuMtchp+8i4sL3wwjLLYTU8nmmZbLWqG4/oRKNMPppqDwu/zmRaoVExOP/lQZnz31t3RLUGMCMayBho3h+v5CKvfV+U9eQNnV6SH9iEbnx9HrDmrOVNqfBhHO5WXVdk/DsxTxR3Oh23/S1lr4ENl+Cp+dG3F8=; h=Received:Received:Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Cc:Content-Transfer-Encoding:Message-Id:References:To:X-Mailer:X-PPP-Message-ID:X-PPP-Vhost;
Received: (qmail 22350 invoked from network); 14 Aug 2017 14:39:53 +0200
Received: from p5dec2dc4.dip0.t-ipconnect.de (HELO ?192.168.178.33?) (93.236.45.196) by kuehlewind.net with ESMTPSA (DHE-RSA-AES256-SHA encrypted, authenticated); 14 Aug 2017 14:39:53 +0200
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: "Mirja Kuehlewind (IETF)" <ietf@kuehlewind.net>
In-Reply-To: <308CA47B-496A-403C-8191-1384B8999717@kuehlewind.net>
Date: Mon, 14 Aug 2017 14:39:51 +0200
Cc: draft-ietf-tcpinc-tcpeno.all@ietf.org, tcpinc <tcpinc@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <55C704A6-966A-4CBB-A05A-6F0CBF449F49@kuehlewind.net>
References: <55B07DA5-E274-4720-A919-83483094B9A0@tik.ee.ethz.ch> <80C705CD-8A24-49A9-A1B8-6FA7B2162941@kuehlewind.net> <87fudh62um.fsf@ta.scs.stanford.edu> <36738439-CAEC-4694-87EF-00EC91426D9C@kuehlewind.net> <87shhg2twv.fsf@ta.scs.stanford.edu> <308CA47B-496A-403C-8191-1384B8999717@kuehlewind.net>
To: David Mazieres <dm-list-tcpcrypt@scs.stanford.edu>
X-Mailer: Apple Mail (2.3273)
X-PPP-Message-ID: <20170814123953.22344.36659@lvps83-169-45-111.dedicated.hosteurope.de>
X-PPP-Vhost: kuehlewind.net
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpinc/CDzEPs6Nnk81WYIszXAkBUXf3qk>
Subject: Re: [tcpinc] AD review of tcp-eno
X-BeenThere: tcpinc@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "Working group mailing list for TCP Increased Security \(tcpinc\)" <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: Mon, 14 Aug 2017 12:39:57 -0000

Hi once again,

because I also saw the updated draft just now. Thanks for that! All =
changes look good!

The only remaining question, is probably now how to cite tcp-use-tls. =
The way it is cited right now (as informational) would not block the =
publication. However, it seems weird to assign a number to an (expired) =
draft. Again, as explained below, it would actually recommend to just =
not assign it at all, or you could mark it as reserved and explain in =
the text what it is reserved for (use with TLS) without referring to a =
specific doc, if you really want.

Also again, please update draft-ietf-tcpinc-tcpcrypt as I would like to =
start their IETF Last Calls together!

Thanks!
Mirja


> Am 14.08.2017 um 14:29 schrieb Mirja Kuehlewind (IETF) =
<ietf@kuehlewind.net>:
>=20
> Hi David,
>=20
> sorry for the delay; I missed this mail. See below.
>=20
>> Am 28.07.2017 um 22:22 schrieb David Mazieres =
<dm-list-tcpcrypt@scs.stanford.edu>:
>>=20
>> "Mirja Kuehlewind (IETF)" <ietf@kuehlewind.net> writes:
>>=20
>>> This is what early allocation is for. We could have also asked for
>>> early allocation for tcpinc as soon as the spec was reasonably =
stable
>>> but given there was no-one who was actually about to deploy this in
>>> the Internet, it was probably not necessary.
>>=20
>> Is there something I can put in the document to clarify that early
>> allocation should be the norm not the exception?  The think I like =
about
>> "Specification required" is that RFC7120 2a says:
>>=20
>>      The code points must be from a space designated as "RFC
>>      Required", "IETF Review", or "Standards Action".  Additionally,
>>      requests for early assignment of code points from a
>>      "Specification Required" registry are allowed if the
>>      specification will be published as an RFC.
>=20
> This text only says that Early Allocation is only possible for =
"Specification required" if the specification will be an RFC. So if you =
have =E2=80=9ESpecification required=E2=80=9C and you have a stable spec =
somewhere, then you can ask for a code point right away. However, if =
your spec is a draft, you should wait to ask for the codepoint until =
this spec is stable, hence published as RFC. However, in this case you =
can apply the early allocation. While for policies where all final =
documents are RFC (=E2=80=9EIETF review=E2=80=9C or =E2=80=9EStandards =
action=E2=80=9C), early allocation is always possible.
>=20
> Again I believe that you want all schemes to be document in RFCs in =
the IETF stream as a final outcome. Therefore the right policy is =
=E2=80=9EIETF review=E2=80=9C. Again, it is not necessary to explicitly =
mention early allocation for this policy, however, if you want to make =
sure that people think about using it, you can mention it separately.
>=20
>>=20
>> So I like the fact that the specification required allows early
>> allocation *if* an RFC is anticipated.
>=20
> Again, if your spec is not an RFC/draft this means you can allocation =
a code point right away. I don=E2=80=99t think this is what you want.
>>=20
>> Basically I want something in this document to make it clearly easier =
to
>> get ENO TEP IDs than TCP option kinds.
>=20
> It=E2=80=99s actually not that hard to get an option number if you =
follow the process. Unfortunatey this was a bit a mess from the =
beginning for tcpinc. Again, we could have asked for early allocation =
for tcpinc but it didn=E2=80=99t seem necessary, given there is the =
experimental option and there was no real deployment yet.
>>=20
>>=20
>> On a related note, I think there might be an inconsistency in the =
draft
>> that I would appreciate some input in resolving.  Section 7.1 says:
>>=20
>>       TLS can currently only be added to legacy applications whose
>>       protocols accommodate a STARTTLS command or equivalent.
>>       TCP-ENO, because it provides out-of-band signaling, opens the
>>       possibility of future TLS revisions being generically =
applicable
>>       to any TCP application.
>>=20
>> Of course what, we really wanted to say was TCP-ENO was designed to
>> support TCP-use-TLS.  However, if I recall, there's a citation issue
>> because we aren't supposed to cite an internet draft in an RFC unless
>> the two will become RFCs at the same time, and TCP-use-TLS has been
>> delayed.  But then in 0x30, we still cite TCP-Use-TLS to assign it =
code
>> point 0x30.
>=20
> You shouldn=E2=80=99t cite a draft normatively, also you in theory can =
if really needed.=20
>=20
>>=20
>> Given the work invested in TCP-Use-TLS, should we indeed reserve TEP =
Id
>> 0x30 for that effort in case anyone wants to pick up it up again, and =
if
>> so how should we do that without citing an expired internet draft?  =
Can
>> we just reserve TEP ID 0x30 for future use by TLS and cite TLS?  Or =
what
>> should we do?
>=20
> Yes, I think it would be good to remove the normative reference here. =
Usually the tcp-use-tls draft should make the assignment request itself. =
We could mark it in the registry as reserved and make a note in the =
document that this is reserved for use with TLS (without referring to =
any document). Or we just leave this open. I=E2=80=99m not expecting any =
other scheme coming up soon (especially if we go for =E2=80=9EIETF =
review=E2=80=9C and not =E2=80=9ESpecification required", and in the =
unlikely case this would happen, then TLS would need to take another =
number, which I believe would also not be a problem, right?
>=20
> Mirja
>=20
> P.S.: Please also check my comments for draft-ietf-tcpinc-tcpcrypt and =
update accordingly. I would like to start both IETF Last Calls at the =
same time when updated. Thanks!
>=20
>=20
>=20
>>=20
>> Thanks,
>> David
>=20


From nobody Fri Aug 25 06:16:34 2017
Return-Path: <ietf@kuehlewind.net>
X-Original-To: tcpinc@ietfa.amsl.com
Delivered-To: tcpinc@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6540E132BEB for <tcpinc@ietfa.amsl.com>; Fri, 25 Aug 2017 06:16:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001,  URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); domainkeys=pass (1024-bit key) header.from=ietf@kuehlewind.net header.d=kuehlewind.net
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 TJbTLLLv3dGo for <tcpinc@ietfa.amsl.com>; Fri, 25 Aug 2017 06:16:30 -0700 (PDT)
Received: from kuehlewind.net (kuehlewind.net [83.169.45.111]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C009E13295C for <tcpinc@ietf.org>; Fri, 25 Aug 2017 06:16:29 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=kuehlewind.net;  b=WcZ7c24DT07M38kURYPX6Ai/jRSctryFfE9CksstXsQDxsuATQc2WCKXH7ZamoCsFdza//ZudHKWLjt+/udkwbhzJP40ra18M2+dHMT9LcMTzijTDKxCRu5X4ZEjKtGu6Pn0f+RRgsxh0DUiTDayj14s1RKjFw+flI815yuN8kU=; h=Received:Received:Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Cc:Content-Transfer-Encoding:Message-Id:References:To:X-Mailer:X-PPP-Message-ID:X-PPP-Vhost;
Received: (qmail 22020 invoked from network); 25 Aug 2017 15:16:26 +0200
Received: from pd9e11dec.dip0.t-ipconnect.de (HELO ?192.168.178.33?) (217.225.29.236) by kuehlewind.net with ESMTPSA (DHE-RSA-AES256-SHA encrypted, authenticated); 25 Aug 2017 15:16:25 +0200
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: "Mirja Kuehlewind (IETF)" <ietf@kuehlewind.net>
In-Reply-To: <55C704A6-966A-4CBB-A05A-6F0CBF449F49@kuehlewind.net>
Date: Fri, 25 Aug 2017 15:16:23 +0200
Cc: draft-ietf-tcpinc-tcpeno.all@ietf.org, tcpinc <tcpinc@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <89DA8775-1218-4DD8-9901-4EFB0FA556A6@kuehlewind.net>
References: <55B07DA5-E274-4720-A919-83483094B9A0@tik.ee.ethz.ch> <80C705CD-8A24-49A9-A1B8-6FA7B2162941@kuehlewind.net> <87fudh62um.fsf@ta.scs.stanford.edu> <36738439-CAEC-4694-87EF-00EC91426D9C@kuehlewind.net> <87shhg2twv.fsf@ta.scs.stanford.edu> <308CA47B-496A-403C-8191-1384B8999717@kuehlewind.net> <55C704A6-966A-4CBB-A05A-6F0CBF449F49@kuehlewind.net>
To: David Mazieres <dm-list-tcpcrypt@scs.stanford.edu>
X-Mailer: Apple Mail (2.3273)
X-PPP-Message-ID: <20170825131626.22014.36318@lvps83-169-45-111.dedicated.hosteurope.de>
X-PPP-Vhost: kuehlewind.net
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpinc/wBKMIjk3iZH_RB5jh9zDUhAI3nU>
Subject: Re: [tcpinc] AD review of tcp-eno
X-BeenThere: tcpinc@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "Working group mailing list for TCP Increased Security \(tcpinc\)" <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: Fri, 25 Aug 2017 13:16:31 -0000

Hi David, hi all!

any news? Also regarding draft-ietf-tcpinc-tcpcrypt?

Mirja


> Am 14.08.2017 um 14:39 schrieb Mirja Kuehlewind (IETF) =
<ietf@kuehlewind.net>:
>=20
> Hi once again,
>=20
> because I also saw the updated draft just now. Thanks for that! All =
changes look good!
>=20
> The only remaining question, is probably now how to cite tcp-use-tls. =
The way it is cited right now (as informational) would not block the =
publication. However, it seems weird to assign a number to an (expired) =
draft. Again, as explained below, it would actually recommend to just =
not assign it at all, or you could mark it as reserved and explain in =
the text what it is reserved for (use with TLS) without referring to a =
specific doc, if you really want.
>=20
> Also again, please update draft-ietf-tcpinc-tcpcrypt as I would like =
to start their IETF Last Calls together!
>=20
> Thanks!
> Mirja
>=20
>=20
>> Am 14.08.2017 um 14:29 schrieb Mirja Kuehlewind (IETF) =
<ietf@kuehlewind.net>:
>>=20
>> Hi David,
>>=20
>> sorry for the delay; I missed this mail. See below.
>>=20
>>> Am 28.07.2017 um 22:22 schrieb David Mazieres =
<dm-list-tcpcrypt@scs.stanford.edu>:
>>>=20
>>> "Mirja Kuehlewind (IETF)" <ietf@kuehlewind.net> writes:
>>>=20
>>>> This is what early allocation is for. We could have also asked for
>>>> early allocation for tcpinc as soon as the spec was reasonably =
stable
>>>> but given there was no-one who was actually about to deploy this in
>>>> the Internet, it was probably not necessary.
>>>=20
>>> Is there something I can put in the document to clarify that early
>>> allocation should be the norm not the exception?  The think I like =
about
>>> "Specification required" is that RFC7120 2a says:
>>>=20
>>>     The code points must be from a space designated as "RFC
>>>     Required", "IETF Review", or "Standards Action".  Additionally,
>>>     requests for early assignment of code points from a
>>>     "Specification Required" registry are allowed if the
>>>     specification will be published as an RFC.
>>=20
>> This text only says that Early Allocation is only possible for =
"Specification required" if the specification will be an RFC. So if you =
have =E2=80=9ESpecification required=E2=80=9C and you have a stable spec =
somewhere, then you can ask for a code point right away. However, if =
your spec is a draft, you should wait to ask for the codepoint until =
this spec is stable, hence published as RFC. However, in this case you =
can apply the early allocation. While for policies where all final =
documents are RFC (=E2=80=9EIETF review=E2=80=9C or =E2=80=9EStandards =
action=E2=80=9C), early allocation is always possible.
>>=20
>> Again I believe that you want all schemes to be document in RFCs in =
the IETF stream as a final outcome. Therefore the right policy is =
=E2=80=9EIETF review=E2=80=9C. Again, it is not necessary to explicitly =
mention early allocation for this policy, however, if you want to make =
sure that people think about using it, you can mention it separately.
>>=20
>>>=20
>>> So I like the fact that the specification required allows early
>>> allocation *if* an RFC is anticipated.
>>=20
>> Again, if your spec is not an RFC/draft this means you can allocation =
a code point right away. I don=E2=80=99t think this is what you want.
>>>=20
>>> Basically I want something in this document to make it clearly =
easier to
>>> get ENO TEP IDs than TCP option kinds.
>>=20
>> It=E2=80=99s actually not that hard to get an option number if you =
follow the process. Unfortunatey this was a bit a mess from the =
beginning for tcpinc. Again, we could have asked for early allocation =
for tcpinc but it didn=E2=80=99t seem necessary, given there is the =
experimental option and there was no real deployment yet.
>>>=20
>>>=20
>>> On a related note, I think there might be an inconsistency in the =
draft
>>> that I would appreciate some input in resolving.  Section 7.1 says:
>>>=20
>>>      TLS can currently only be added to legacy applications whose
>>>      protocols accommodate a STARTTLS command or equivalent.
>>>      TCP-ENO, because it provides out-of-band signaling, opens the
>>>      possibility of future TLS revisions being generically =
applicable
>>>      to any TCP application.
>>>=20
>>> Of course what, we really wanted to say was TCP-ENO was designed to
>>> support TCP-use-TLS.  However, if I recall, there's a citation issue
>>> because we aren't supposed to cite an internet draft in an RFC =
unless
>>> the two will become RFCs at the same time, and TCP-use-TLS has been
>>> delayed.  But then in 0x30, we still cite TCP-Use-TLS to assign it =
code
>>> point 0x30.
>>=20
>> You shouldn=E2=80=99t cite a draft normatively, also you in theory =
can if really needed.=20
>>=20
>>>=20
>>> Given the work invested in TCP-Use-TLS, should we indeed reserve TEP =
Id
>>> 0x30 for that effort in case anyone wants to pick up it up again, =
and if
>>> so how should we do that without citing an expired internet draft?  =
Can
>>> we just reserve TEP ID 0x30 for future use by TLS and cite TLS?  Or =
what
>>> should we do?
>>=20
>> Yes, I think it would be good to remove the normative reference here. =
Usually the tcp-use-tls draft should make the assignment request itself. =
We could mark it in the registry as reserved and make a note in the =
document that this is reserved for use with TLS (without referring to =
any document). Or we just leave this open. I=E2=80=99m not expecting any =
other scheme coming up soon (especially if we go for =E2=80=9EIETF =
review=E2=80=9C and not =E2=80=9ESpecification required", and in the =
unlikely case this would happen, then TLS would need to take another =
number, which I believe would also not be a problem, right?
>>=20
>> Mirja
>>=20
>> P.S.: Please also check my comments for draft-ietf-tcpinc-tcpcrypt =
and update accordingly. I would like to start both IETF Last Calls at =
the same time when updated. Thanks!
>>=20
>>=20
>>=20
>>>=20
>>> Thanks,
>>> David
>>=20
>=20


From nobody Wed Aug 30 15:38:07 2017
Return-Path: <dbg@scs.stanford.edu>
X-Original-To: tcpinc@ietfa.amsl.com
Delivered-To: tcpinc@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 659C11200F3; Wed, 30 Aug 2017 15:38:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 VYyhMHho66o9; Wed, 30 Aug 2017 15:38:03 -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 9143B13294B; Wed, 30 Aug 2017 15:37:59 -0700 (PDT)
Received: from market.scs.stanford.edu (localhost [127.0.0.1]) by market.scs.stanford.edu (8.15.2/8.15.2) with ESMTP id v7UMbxQO029006; Wed, 30 Aug 2017 15:37:59 -0700 (PDT)
Received: (from dbg@localhost) by market.scs.stanford.edu (8.15.2/8.15.2/Submit) id v7UMbwDJ018264; Wed, 30 Aug 2017 15:37:58 -0700 (PDT)
Date: Wed, 30 Aug 2017 15:37:58 -0700
From: Daniel B Giffin <dbg@scs.stanford.edu>
To: "Mirja Kuehlewind (IETF)" <ietf@kuehlewind.net>
Cc: draft-ietf-tcpinc-tcpcrypt.all@ietf.org, tcpinc <tcpinc@ietf.org>
Message-ID: <20170830223758.GA73969@scs.stanford.edu>
References: <D38E22E9-FBB6-40D1-BF85-D5A77F5C2365@kuehlewind.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=unknown-8bit
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <D38E22E9-FBB6-40D1-BF85-D5A77F5C2365@kuehlewind.net>
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpinc/rRq8hkGE2QAQ-JBeA0uBdS8cE-o>
Subject: Re: [tcpinc] AD review of draft-ietf-tcpinc-tcpcrypt
X-BeenThere: tcpinc@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "Working group mailing list for TCP Increased Security \(tcpinc\)" <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: Wed, 30 Aug 2017 22:38:06 -0000

Hi Mirja (et al.),

Thanks for your detailed review!  I've got a new
version of the draft ready that I think addresses what
you've brought up.  I'll detail the changes below (with some
of the new language inline) before submitting so you have
another chance to respond if necessary.

Mirja Kuehlewind wrote:
> Hi all,
> 
> thanks again for this also very well-written document and shepherd write-up. I still remember a earlier version I’ve read that was more paper-like, so thanks a lot for all the editorial (and technical) work you did here!
> 
> Again, I’m afraid we need a few minor updates before we can go to IETF last call. Nothing big, mostly processing:
> 
> 1) As indicated by the nits check, this document has the wrong disclaimer. I think that really should be fixed before we call in Last call…
> 
> https://www.ietf.org/tools/idnits?url=https://www.ietf.org/archive/id/draft-ietf-tcpinc-tcpcrypt-06.txt

Oh thanks, I've fixed that.

> 2) Again IANA: 
>    - This is probably rather a comment for tcp-eno but I just realized this now: Probably tcpcrypt should register itself in the "TCP encryption protocol identifiers“ created by the tcp-eno draft...
>    - Is the "tcpcrypt AEAD parameter“ registry a sub registry under the "Transmission Control Protocol (TCP) Parameters“ registry and what’s the registration policy for this new registry? I guess it could be good to also add a column in the registry for the respective RFCs that specify the algorithms…?

Ok, I've tried to fix up the IANA section as follows.  (Note
that the TCP-ENO document includes these same tcpcrypt
values, as well as one for TCP-Use-TLS, in its listing of
"initial values" for the table.)

  7.  IANA considerations

     Tcpcrypt's TEP identifiers will need to be incorporated in IANA's
     "TCP encryption protocol identifiers" registry under the
     "Transmission Control Protocol (TCP) Parameters" registry, as in the
     following table.  The various key-agreement schemes used by these
     tcpcrypt variants are defined in Section 5.

               +-------+---------------------------+-----------+
               | Value | Meaning                   | Reference |
               +-------+---------------------------+-----------+
               | 0x21  | TCPCRYPT_ECDHE_P256       | [RFC-TBD] |
               | 0x22  | TCPCRYPT_ECDHE_P521       | [RFC-TBD] |
               | 0x23  | TCPCRYPT_ECDHE_Curve25519 | [RFC-TBD] |
               | 0x24  | TCPCRYPT_ECDHE_Curve448   | [RFC-TBD] |
               +-------+---------------------------+-----------+

                Table 2: TEP identifiers for use with tcpcrypt

     In Section 4.1, this document defines "sym-cipher" specifiers for
     which IANA is to maintain a new "tcpcrypt AEAD Algorithm" registry
     under the "Transmission Control Protocol (TCP) Parameters" registry,
     with initial values as given in the following table.  The AEAD
     algorithms named there are defined in Section 6.  Future assignments
     are to be made under the "RFC Required" policy detailed in [RFC8126],
     relying on early allocation [RFC7120] to facilitate testing before an
     RFC is finalized.

          +-------+------------------------+------------+-----------+
          | Value | AEAD Algorithm         | Key Length | Reference |
          +-------+------------------------+------------+-----------+
          | 0x01  | AEAD_AES_128_GCM       | 16 bytes   | [RFC-TBD] |
          | 0x02  | AEAD_AES_256_GCM       | 32 bytes   | [RFC-TBD] |
          | 0x10  | AEAD_CHACHA20_POLY1305 | 32 bytes   | [RFC-TBD] |
          +-------+------------------------+------------+-----------+

      Table 3: Authenticated-encryption algorithms corresponding to sym-
                cipher specifiers in Init1 and Init2 messages.


> 3) Appendix are usually not normativ, therefore Table 3 should be moved somewhere in the body of the document; probably a new subsection in section 4.

Ok great, I've moved the table of constants to section
"4. Encodings" as you suggest.

> 4) One technical comment/question:
> I think the following sentence in section 3.6 is actually not well enough defined:
> "In the latter case, the implementation MUST
>    either ignore the frame or abort the connection;“
>    - What does ignore in this case mean? This sounds like you ack the TCP segment but just don’t deliver the data… I guess that is not what you meant to say because that would break the TCP stream…? I guess you mean drop the TCP segment, right? In this case it’s probably useful to say somewhere that first the frame has to be decrypted and only if the decryption succeeds and ACK can be sent.
>    - Similar question for abort: Does this mean you send a TCP RST?
>    - Maybe it'd better to say that in general if encryption fails the TCP segment MUST be dropped. Failed decryption attempts SHOULD be logged and the connection MAY be reset if failure rate is high…?

Okay yes, I've slightly modified that text to use the
clearer "drop segment" as you suggest:

			 In the latter case, the implementation MUST
   either drop the TCP segment(s) containing the frame or abort the
   connection; but if it aborts, the implementation MUST raise an error
   condition distinct from the end-of-file condition.

I think the option to abort needs to be retained, as this is
likely to be the most convenient behavior for implementors
and for users (and doesn't make a tcpcrypt-protected
connection any more brittle than a plain one).  Still, the
"drop" option is there in case an implementation is able to
get some amount of DOS-resistance out of it.

As for describing the abort behavior precisely, it feels
safer simply to use the expression "abort the connection"
from RFC793 instead of trying to summarize its semantics
here.

> Please fix/address this and resubmit! Given I have reviewed the whole document in detail I have some more, mostly editorial comments below. Please have a look at these as well and update where needed, given we anyway need another version:
> 
> - Again (as noted with tcp-eno) there should be no references in the abstract. Maybe just remove the reference there and add a sentence (or half-sentence) on tcp-eno in the intro with the reference.

Ok thanks; the intro cites ENO so I've just removed the
reference in the abstract.

> - In section 3.1 PRK and OKM are not extended here.

Okay yes, I will define PRK/OKM before using them.

> - section 3.3:
> „However, the segment containing the
>    last byte of an "Init1" or "Init2" message SHOULD have TCP's PSH bit
>    set.“
>    - PSH should be extended: s/TCP's PSH bit/TCP's push flag (PSH)/
>    - Why does this need to be set? And why is that a SHOULD?

Okay, I've changed that sentence to:

  However, the segment containing the last byte of an
  "Init1" or "Init2" message MUST have TCP's push flag (PSH)
  set.

And yes, we agreed to change it to MUST: this prevents the
tcpcrypt handshake from getting hung up in a buffer
somewhere, and there's no good reason not to do it.

> 
> - also section 3.3:
> „"eno-transcript" is the protocol-
>    negotiation transcript defined in TCP-ENO“
> MAYBE
> ""eno-transcript" is the protocol-
>    negotiation transcript defined for TCP-ENO in section X of [draft-ietf-tcpinc-tcpeno], containing the two full tcp-eno option send in the SYN and SYN-ACK.“

Okay, that paragraph now reads:

   Above, "|" denotes concatenation; "eno-transcript" is the protocol-
   negotiation transcript defined in Section 4.8 of
   [I-D.ietf-tcpinc-tcpeno]; and "Init1" and "Init2" are the transmitted
   encodings of the messages described in Section 4.1.

> - Maybe s/3.5.  Session caching/3.5.  Session resumption/
>   Resumption is at least to me the more commonly used term, or was this on purpose named differently?

Good idea, thanks -- I've gone through and named this
facility "session resumption" throughout.  (In the details
of storing session-related data, we still use "session
caching" to describe particular actions.)

> - section 3.5
> "A host MUST NOT resume with a session secret if it has ever
>    successfully negotiated resumption in the past,...“
> Was this meant to mean „previous resumption attempt(s) failed“? Because if I read it like there was a least one successful resumption performed already, that’s not true for the first resumption attempt and therefore I could never use it…

I'm not quite sure I understand what was confusing about
that wording, but I've adjusted it as follows to make sure
that "with the same secret" cannot be missed:

   A host MUST NOT resume with a session secret if it has ever
   successfully negotiated resumption in the past with the same secret,
   in either role.

Does this help at all?

> - I’m not sure about the term _application frames_ in section 3.6. That can be confusing as tcpcrypt is part of the transport. Maybe just call it _frame_ or maybe _encryption frame_ or _record frame_ or _tcpcrypt frame_ or …?

I think you're right.  I never really liked that term.  I've
changed this term to "encryption frame" throughout (with
occasional abbreviation to "frame" where the context is
clear).

> - section 3.7
>    - It’s a bit confusing that FINp and URGp are explained quite extensively in this section while the frame format is specified later. Probably it's enough to say here that the FIN flag and the urgent pointer (URG) of the TCP header are protected (and the segment must be dropped if the protected values differ from the values in the TCP header). 
>    - I also think this sentence is not quite correct:
>     "When "FINp" is set, it indicates that the sender will send no more
>    application data after this frame.“
>    When the FIN flag in the TCP header is set it indicates the sender will send no more payload data, however, the FINp is only the protected version of the FIN flag. It’s it’s a minor wording difference but it good to note that the TCP header information still define the normative behavior and also tcpcrypt does it to decide if the segment is value or not which cases a drop before the TCP precessing even starts.

Yes, good points.  I've changed that language as follows in
order to make it clearer that we aren't interfering with TCP
semantics apart from defining when invalid segments must be
dropped:

   A sender MUST set the "FINp" bit on the last frame it sends in the
   connection (unless it aborts the connection), and MUST set the TCP
   FIN flag on the last TCP segment used to transmit that frame.  A
   sender MUST NOT set the TCP FIN flag except on the last segment of a
   frame with "FINp" set.

   Once a receiving host has received all segments containing a frame
   and has successfully decrypted the frame, it MUST verify that the TCP
   FIN flag in the last of these segments matches the "FINp" bit in the
   frame; if they differ, the receiving host MUST either drop the
   segments or abort the connection and raise an error condition
   distinct from the end-of-file condition.

As for where this text should live, I agree it feels a
little scattered to have it separate from where the format
is defined, but now that the document has a major separation
between the semantics in "3. Encryption protocol" and the
formats in "4. Encodings", it seems best to stick with that
arrangement.
 
> - The design notes (section 9) could actually be integrated in the security consideration; you can also have subsection in the security considerations…

Good idea, I've done that.

> - Any again, do you want to note Andrea especially in the acknowledgement? This has been done in previous drafts, so that nothing uncommon.

Thanks for the thought.  We've discussed it and decided
Andrea would probably be most glad simply to have his
name on the work.
 
daniel

