
From nobody Mon Jul 24 11:30:09 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 C9759124234; Mon, 24 Jul 2017 11:30:07 -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.57.0
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <150092100768.31921.12087349587069210958@ietfa.amsl.com>
Date: Mon, 24 Jul 2017 11:30:07 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpinc/MB1QY1HBiC_Bnmr3Z-gtYwKNEE0>
Subject: [tcpinc] I-D Action: draft-ietf-tcpinc-api-03.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: Mon, 24 Jul 2017 18:30:08 -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           : Interface Extensions for TCP-ENO and tcpcrypt
        Authors         : Andrea Bittau
                          Dan Boneh
                          Daniel B. Giffin
                          Mark Handley
                          David Mazieres
                          Eric W. Smith
	Filename        : draft-ietf-tcpinc-api-03.txt
	Pages           : 14
	Date            : 2017-07-24

Abstract:
   TCP-ENO and tcpcrypt perform encryption at the transport layer.  They
   also define a few parameters that are intended to be used or
   configured by applications.  This document specifies operating system
   interfaces for access to these parameters.  We describe the
   interfaces in terms of socket options, the de facto standard API for
   adjusting per-connection behavior in TCP/IP, and sysctl, a popular
   mechanism for setting global defaults.  Operating systems that lack
   socket or sysctl functionality can implement similar interfaces in
   their native frameworks, but should ideally adapt their interfaces
   from those presented in this document.


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

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

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


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 Thu Jul 27 06:14:51 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 1FBF0131C82 for <tcpinc@ietfa.amsl.com>; Thu, 27 Jul 2017 06:14:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.002
X-Spam-Level: 
X-Spam-Status: No, score=-2.002 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, 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 k_IP8vtRvUTH for <tcpinc@ietfa.amsl.com>; Thu, 27 Jul 2017 06:14:47 -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 54E39132147 for <tcpinc@ietf.org>; Thu, 27 Jul 2017 06:14:44 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=kuehlewind.net;  b=lVuinHTQKHKXB4+eh6Psa7sSZm2blHNwffJrreITv1Syx6SJKgXkbqU0qnnI2/9J1KRAKGc9qTvNqoE0q9/o3UFiN8Ftk2NJqdgoTwL/RGx1JTOQHxlgR4rMkWWiggDeWc/wFit5RbDv4KK0bc0qS6UW6TfUxFwrnMv6RpzKf0E=; 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 9871 invoked from network); 27 Jul 2017 15:14:41 +0200
Received: from pd9e11f0f.dip0.t-ipconnect.de (HELO ?192.168.178.33?) (217.225.31.15) by kuehlewind.net with ESMTPSA (DHE-RSA-AES256-SHA encrypted, authenticated); 27 Jul 2017 15:14:41 +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: <55B07DA5-E274-4720-A919-83483094B9A0@tik.ee.ethz.ch>
Date: Thu, 27 Jul 2017 15:14:40 +0200
Cc: tcpinc <tcpinc@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <80C705CD-8A24-49A9-A1B8-6FA7B2162941@kuehlewind.net>
References: <55B07DA5-E274-4720-A919-83483094B9A0@tik.ee.ethz.ch>
To: draft-ietf-tcpinc-tcpeno.all@ietf.org
X-Mailer: Apple Mail (2.3273)
X-PPP-Message-ID: <20170727131441.9866.80891@lvps83-169-45-111.dedicated.hosteurope.de>
X-PPP-Vhost: kuehlewind.net
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpinc/Vonv3ZB8Kx9pr54uUsQN--6patU>
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: Thu, 27 Jul 2017 13:14:49 -0000

Resending because I just realized I forgot to cc the list=E2=80=A6

> Am 26.07.2017 um 19:06 schrieb Mirja K=C3=BChlewind =
<mirja.kuehlewind@tik.ee.ethz.ch>:
>=20
> Hi all,
>=20
> thanks for this very well written document and detailed shepherd =
write-up!
>=20
> I=E2=80=99m afraid we need a new revision before IETF Last Call =
because the RFC should only specify the actually TCP option and not the =
experimental one. So you can simply remove the experimental one in =
Figure 1, 2 and 3 (as well as sec 4.8) and only note in the IANA section =
that this experimental assignment also exists, as it is already done.
>=20
> Other minor comments:
>=20
> 1) I would recommend to switch the last to paragraphs in section 4.5; =
I think that helps understanding.
>=20
> 2) I=E2=80=99m wondering if it would make sense to specify at the =
beginning of section 4.7 another requirement that TEPs SHOULD only =
specify the use of SYN data if there is some a-priori knowledge that the =
other end is likely to support tcp-eno and the tep (e.g. due to previous =
successful connections aka session resumption, or application =
knowledge).
>=20
> 3) Sec 4.8 does not really specify what to do with the transcript. I =
guess that=E2=80=99s TEP specific but it sounds like there should be a =
requirement stated that a TEP has to check this or abort the =
connection=E2=80=A6?
>=20
> 4) sec 5:
> s/TEPs MUST protect TCP data streams with authenticated =
encryption./TEPs MUST protect TCP data streams with unauthenticated =
encryption./ ? Or do you mean must support both, authenticated and =
unauthenticated?
>=20
> 5) section 6: Maybe
> OLD
> "Figure 9 shows a three-way handshake with a successful TCP-ENO
>   negotiation.  The two sides agree to follow the TEP identified by
>   suboption Y.=E2=80=9C
> NEW
> "Figure 9 shows a three-way handshake with a successful TCP-ENO
>   negotiation. Host A includes two ENO suboptions with TEP identifiers =
X and Y.=20
>   The two sides agree to follow the TEP identified by suboption Y.=E2=80=
=9C=20
>=20
> 6) Also looking at the example in Figure 11, I have to say that the =
spec does not clearly state anywhere that the first ACK has to have a =
ENO option (it=E2=80=99s only mention implicitly somewhere). Maybe that =
can be spelled out more clearly (in section 4.6)?
>=20
> 7) Also based on this example. I guess it=E2=80=99s also possible that =
a middlebox does not strip the options in the SYN packets but only in =
the ACK. In this case host A would send encrypted data and host B would =
think they are not encrypted and deliver garbage to the application. =
I=E2=80=99m not sure how to avoid or even detect such a case but maybe =
it=E2=80=99s still good to mention this somewhere=E2=80=A6?
>=20
> 8) section 7.2: The following is a normative requirement thats should =
be stated normatively (MUST) somewhere in the main part of the =
specification:
> "To stay robust in the face of dropped segments, hosts must continue
>   to include non-SYN form ENO options in segments until such point as
>   they have received a non-SYN segment from the other side.=E2=80=9C
>=20
> 9) I would recommend to move 7.1 into an own section (not as part of =
section 7 on rational), or maybe rather as a subsection of section 8.
>=20
> 10) =46rom reading the text in the IANA section, I believe you rather =
what =E2=80=9ERFC required=E2=80=9C as a policy (see =
https://tools.ietf.org/html/rfc8126#section-4.7). Early allocation are =
always possible and does not need to be noted separately (see =
https://tools.ietf.org/html/rfc8126#section-3.4).
>=20
> 11) Do you want to specially note Andrea=E2=80=99s contribution to =
this work in the acknowledgements?
>=20
> 12) RFC5226 (now RFC8126), RFC6994 (after removing the exp option from =
the body of the doc), and RFC7413 do not need to be normative =
references. Please move to informative.
>=20
> 12) Finally, two tiny things from the nits check:
> =
https://www.ietf.org/tools/idnits?url=3Dhttps://www.ietf.org/archive/id/dr=
aft-ietf-tcpinc-tcpeno-08.txt
> - There shouldn=E2=80=99t be reference in the abstract. You can just =
remove it; TLS is well known. You may want to add it in section 7.1 =
instead.
> - RFC 5226 is obsolete
> Both could be fixed by the editor but as you anyway have to make a new =
revision, so you can fix these as well.
>=20
> Thanks!
> Mirja
>=20
>=20


From nobody Thu Jul 27 06:22:04 2017
Return-Path: <David.Black@dell.com>
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 BE60C132150; Thu, 27 Jul 2017 06:22:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.2
X-Spam-Level: 
X-Spam-Status: No, score=-2.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_SORBS_SPAM=0.5, 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=dell.com header.b=bTV7cLeE; dkim=fail (1024-bit key) reason="fail (message has been altered)" header.d=emc.com header.b=c5z5xc2E
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 c6fxl0yVdSCf; Thu, 27 Jul 2017 06:22:00 -0700 (PDT)
Received: from esa4.dell-outbound.iphmx.com (esa4.dell-outbound.iphmx.com [68.232.149.214]) (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 CADCA131D32; Thu, 27 Jul 2017 06:21:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=dell.com; i=@dell.com; q=dns/txt; s=smtpout; t=1501161719; x=1532697719; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=qoqYWTZi6jT3ajkD/N2NUOyXmG6XC8hTmNvu5ucl2BI=; b=bTV7cLeElD5Yj2y4WJ52ML+mTfn/wUdcBnxb12K2UAN3LomNGPWknTaP gr774C1RV3X65RVGV8QCNkJpvzdpmjLZLmnWMSJ6xSqZTqZteMLTHy7gA cG5b0kyO4TzyTzmjMvQAfpaTiSGvIvBzj9ADkpWVKWuz33V5GtfU/c9Yi Y=;
Received: from esa3.dell-outbound2.iphmx.com ([68.232.154.63]) by esa4.dell-outbound.iphmx.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Jul 2017 08:21:57 -0500
From: "Black, David" <David.Black@dell.com>
Received: from mailuogwdur.emc.com ([128.221.224.79]) by esa3.dell-outbound2.iphmx.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Jul 2017 19:19:44 +0600
Received: from maildlpprd56.lss.emc.com (maildlpprd56.lss.emc.com [10.106.48.160]) by mailuogwprd51.lss.emc.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.0) with ESMTP id v6RDLseS001829 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 27 Jul 2017 09:21:56 -0400
X-DKIM: OpenDKIM Filter v2.4.3 mailuogwprd51.lss.emc.com v6RDLseS001829
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=emc.com; s=jan2013; t=1501161716; bh=5VgZA4oRiB8qkVll2YvA8z0JcJ0=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:Content-Transfer-Encoding:MIME-Version; b=c5z5xc2EBWlkvXLy600+y1LafZPG/GtPyOYpLMdMxU0jku+VtMJiKCwvhtguYGSWg nw8DpqVxcHMaPisvfS6yQZiwiahVKb2y0XFQ45LIEmu6Tma6JXenagycRShSANWdSF RDo9aq+ZP37s6FZdBMIzQzBG8D++KHL4pE212QwM=
X-DKIM: OpenDKIM Filter v2.4.3 mailuogwprd51.lss.emc.com v6RDLseS001829
Received: from mailusrhubprd02.lss.emc.com (mailusrhubprd02.lss.emc.com [10.253.24.20]) by maildlpprd56.lss.emc.com (RSA Interceptor); Thu, 27 Jul 2017 09:21:41 -0400
Received: from MXHUB305.corp.emc.com (MXHUB305.corp.emc.com [10.146.3.31]) by mailusrhubprd02.lss.emc.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.0) with ESMTP id v6RDJjKt019988 (version=TLSv1.2 cipher=AES128-SHA256 bits=128 verify=FAIL); Thu, 27 Jul 2017 09:21:47 -0400
Received: from MX307CL04.corp.emc.com ([fe80::849f:5da2:11b:4385]) by MXHUB305.corp.emc.com ([10.146.3.31]) with mapi id 14.03.0352.000; Thu, 27 Jul 2017 09:20:05 -0400
To: "tcpinc@ietf.org" <tcpinc@ietf.org>
CC: "draft-ietf-tcpinc-tcpeno.all@ietf.org" <draft-ietf-tcpinc-tcpeno.all@ietf.org>
Thread-Topic: AD review of tcp-eno
Thread-Index: AQHTBjGr9NIWBVpYBEqO6/K8LwyL/qJmjVgAgAEcHrA=
Date: Thu, 27 Jul 2017 13:20:05 +0000
Message-ID: <CE03DB3D7B45C245BCA0D243277949362FB997E6@MX307CL04.corp.emc.com>
References: <55B07DA5-E274-4720-A919-83483094B9A0@tik.ee.ethz.ch> <CE03DB3D7B45C245BCA0D243277949362FB97D36@MX307CL04.corp.emc.com>
In-Reply-To: <CE03DB3D7B45C245BCA0D243277949362FB97D36@MX307CL04.corp.emc.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.238.44.127]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-Sentrion-Hostname: mailusrhubprd02.lss.emc.com
X-RSA-Classifications: public
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpinc/PbSQoAI2Iz89SxMwNKWE8kQSeyc>
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: Thu, 27 Jul 2017 13:22:03 -0000

QW5kIGxpa2V3aXNlIHJlc2VuZGluZyB0aGlzIGZvbGxvdy11cCBhcyBkcmFmdCBzaGVwaGVyZCAu
Li4NCg0KVGhhbmtzLCAtLURhdmlkDQoNCg0KPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0K
PiBGcm9tOiBCbGFjaywgRGF2aWQgW21haWx0bzpEYXZpZC5CbGFja0BkZWxsLmNvbV0NCj4gU2Vu
dDogV2VkbmVzZGF5LCBKdWx5IDI2LCAyMDE3IDQ6MzYgUE0NCj4gVG86IE1pcmphIEvDvGhsZXdp
bmQgPG1pcmphLmt1ZWhsZXdpbmRAdGlrLmVlLmV0aHouY2g+OyBkcmFmdC1pZXRmLXRjcGluYy0N
Cj4gdGNwZW5vLmFsbEBpZXRmLm9yZw0KPiBTdWJqZWN0OiBSRTogQUQgcmV2aWV3IG9mIHRjcC1l
bm8NCj4gDQo+IEhpIE1pcmphLA0KPiANCj4gTWFueSB0aGFua3MgZm9yIHlvdXIgY2FyZWZ1bCBy
ZXZpZXcgYW5kIGNvbW1lbnRzLg0KPiANCj4gSW4gc2VjdGlvbiA1LCBJIGJlbGlldmUgd2UgYXJl
IGRlYWxpbmcgd2l0aCBhIHRlcm1pbm9sb2d5IGNvbGxpc2lvbjoNCj4gDQo+ID4gNCkgc2VjIDU6
DQo+ID4gcy9URVBzIE1VU1QgcHJvdGVjdCBUQ1AgZGF0YSBzdHJlYW1zIHdpdGggYXV0aGVudGlj
YXRlZA0KPiBlbmNyeXB0aW9uLi9URVBzDQo+ID4gTVVTVCBwcm90ZWN0IFRDUCBkYXRhIHN0cmVh
bXMgd2l0aCB1bmF1dGhlbnRpY2F0ZWQgZW5jcnlwdGlvbi4vID8gT3IgZG8NCj4gPiB5b3UgbWVh
biBtdXN0IHN1cHBvcnQgYm90aCwgYXV0aGVudGljYXRlZCBhbmQgdW5hdXRoZW50aWNhdGVkPw0K
PiANCj4gVGhlIG9yaWdpbmFsIHRleHQgaXMgY29ycmVjdCwgc28gdGhpcyBjaGFuZ2Ugc2hvdWxk
IG5vdCBiZSBtYWRlLCBidXQgdGhhdA0KPiBvcmlnaW5hbCB0ZXh0IGlzIGhpZ2hseSBzdXNjZXB0
aWJsZSB0byBiZWluZyBtaXNyZWFkLCBhbmQgaGVuY2UgZG9lcyBuZWVkDQo+IGF0dGVudGlvbiB0
byBpbXByb3ZlIGNsYXJpdHkuICAgRm9yIHJlYXNvbnMgdGhhdCBvbmx5IHNlY3VyaXR5IGV4cGVy
dHMgd2lsbCBiZQ0KPiBhYmxlIGV4cGxhaW4gOi0pLCAiYXV0aGVudGljYXRlZCBlbmNyeXB0aW9u
IiBkb2VzIG5vdCBpbmNsdWRlIG9yIHJlcXVpcmUNCj4gZW5kcG9pbnQgYXV0aGVudGljYXRpb24u
ICBIZXJlJ3MgdGhlIHJlbGV2YW50IGRlZmluaXRpb24gZnJvbSBTZWN0aW9uIDEgb2YgUkZDDQo+
IDUxMTY6DQo+IA0KPiAgICBBdXRoZW50aWNhdGVkIGVuY3J5cHRpb24gW0JOMDBdIGlzIGEgZm9y
bSBvZiBlbmNyeXB0aW9uIHRoYXQsIGluDQo+ICAgIGFkZGl0aW9uIHRvIHByb3ZpZGluZyBjb25m
aWRlbnRpYWxpdHkgZm9yIHRoZSBwbGFpbnRleHQgdGhhdCBpcw0KPiAgICBlbmNyeXB0ZWQsIHBy
b3ZpZGVzIGEgd2F5IHRvIGNoZWNrIGl0cyBpbnRlZ3JpdHkgYW5kIGF1dGhlbnRpY2l0eS4NCj4g
DQo+IGh0dHBzOi8vdG9vbHMuaWV0Zi5vcmcvaHRtbC9yZmM1MTE2I3NlY3Rpb24tMQ0KPiANCj4g
SSBzdWdnZXN0IGFkZGluZyB0ZXh0IHRvIHNlY3Rpb24gNSBvZiB0aGlzIGRyYWZ0IHRvIHJlcGVh
dCBvciBwYXJhcGhyYXNlIHRoaXMNCj4gUkZDIDUxMTYgZGVmaW5pdGlvbiwgYW5kIGluZm9ybWF0
aXZlbHkgY2l0ZSBSRkMgNTExNiBhcyB0aGUgc291cmNlLg0KPiANCj4gSSdsbCBhbHNvIHRha2Ug
YSBzbWFsbCBtZWEgY3VscGEgb24gdGhlIElBTkEgQ29uc2lkZXJhdGlvbnMgLSBJIHNob3VsZCd2
ZQ0KPiBjYXVnaHQgdGhhdCBpbiBXRyBMYXN0IENhbGwuDQo+IA0KPiBUaGFua3MsIC0tRGF2aWQN
Cj4gDQo+IA0KPiA+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+ID4gRnJvbTogTWlyamEg
S8O8aGxld2luZCBbbWFpbHRvOm1pcmphLmt1ZWhsZXdpbmRAdGlrLmVlLmV0aHouY2hdDQo+ID4g
U2VudDogV2VkbmVzZGF5LCBKdWx5IDI2LCAyMDE3IDE6MDcgUE0NCj4gPiBUbzogZHJhZnQtaWV0
Zi10Y3BpbmMtdGNwZW5vLmFsbEBpZXRmLm9yZw0KPiA+IFN1YmplY3Q6IEFEIHJldmlldyBvZiB0
Y3AtZW5vDQo+ID4NCj4gPiBIaSBhbGwsDQo+ID4NCj4gPiB0aGFua3MgZm9yIHRoaXMgdmVyeSB3
ZWxsIHdyaXR0ZW4gZG9jdW1lbnQgYW5kIGRldGFpbGVkIHNoZXBoZXJkIHdyaXRlLQ0KPiB1cCEN
Cj4gPg0KPiA+IEnigJltIGFmcmFpZCB3ZSBuZWVkIGEgbmV3IHJldmlzaW9uIGJlZm9yZSBJRVRG
IExhc3QgQ2FsbCBiZWNhdXNlIHRoZSBSRkMNCj4gPiBzaG91bGQgb25seSBzcGVjaWZ5IHRoZSBh
Y3R1YWxseSBUQ1Agb3B0aW9uIGFuZCBub3QgdGhlIGV4cGVyaW1lbnRhbCBvbmUuDQo+IFNvDQo+
ID4geW91IGNhbiBzaW1wbHkgcmVtb3ZlIHRoZSBleHBlcmltZW50YWwgb25lIGluIEZpZ3VyZSAx
LCAyIGFuZCAzIChhcyB3ZWxsIGFzDQo+ID4gc2VjIDQuOCkgYW5kIG9ubHkgbm90ZSBpbiB0aGUg
SUFOQSBzZWN0aW9uIHRoYXQgdGhpcyBleHBlcmltZW50YWwNCj4gYXNzaWdubWVudA0KPiA+IGFs
c28gZXhpc3RzLCBhcyBpdCBpcyBhbHJlYWR5IGRvbmUuDQo+ID4NCj4gPiBPdGhlciBtaW5vciBj
b21tZW50czoNCj4gPg0KPiA+IDEpIEkgd291bGQgcmVjb21tZW5kIHRvIHN3aXRjaCB0aGUgbGFz
dCB0byBwYXJhZ3JhcGhzIGluIHNlY3Rpb24gNC41OyBJIHRoaW5rDQo+ID4gdGhhdCBoZWxwcyB1
bmRlcnN0YW5kaW5nLg0KPiA+DQo+ID4gMikgSeKAmW0gd29uZGVyaW5nIGlmIGl0IHdvdWxkIG1h
a2Ugc2Vuc2UgdG8gc3BlY2lmeSBhdCB0aGUgYmVnaW5uaW5nIG9mDQo+IHNlY3Rpb24NCj4gPiA0
LjcgYW5vdGhlciByZXF1aXJlbWVudCB0aGF0IFRFUHMgU0hPVUxEIG9ubHkgc3BlY2lmeSB0aGUg
dXNlIG9mIFNZTg0KPiBkYXRhDQo+ID4gaWYgdGhlcmUgaXMgc29tZSBhLXByaW9yaSBrbm93bGVk
Z2UgdGhhdCB0aGUgb3RoZXIgZW5kIGlzIGxpa2VseSB0byBzdXBwb3J0DQo+IHRjcC0NCj4gPiBl
bm8gYW5kIHRoZSB0ZXAgKGUuZy4gZHVlIHRvIHByZXZpb3VzIHN1Y2Nlc3NmdWwgY29ubmVjdGlv
bnMgYWthIHNlc3Npb24NCj4gPiByZXN1bXB0aW9uLCBvciBhcHBsaWNhdGlvbiBrbm93bGVkZ2Up
Lg0KPiA+DQo+ID4gMykgU2VjIDQuOCBkb2VzIG5vdCByZWFsbHkgc3BlY2lmeSB3aGF0IHRvIGRv
IHdpdGggdGhlIHRyYW5zY3JpcHQuIEkgZ3Vlc3MNCj4gdGhhdOKAmXMNCj4gPiBURVAgc3BlY2lm
aWMgYnV0IGl0IHNvdW5kcyBsaWtlIHRoZXJlIHNob3VsZCBiZSBhIHJlcXVpcmVtZW50IHN0YXRl
ZCB0aGF0IGENCj4gPiBURVAgaGFzIHRvIGNoZWNrIHRoaXMgb3IgYWJvcnQgdGhlIGNvbm5lY3Rp
b27igKY/DQo+ID4NCj4gPiA0KSBzZWMgNToNCj4gPiBzL1RFUHMgTVVTVCBwcm90ZWN0IFRDUCBk
YXRhIHN0cmVhbXMgd2l0aCBhdXRoZW50aWNhdGVkDQo+IGVuY3J5cHRpb24uL1RFUHMNCj4gPiBN
VVNUIHByb3RlY3QgVENQIGRhdGEgc3RyZWFtcyB3aXRoIHVuYXV0aGVudGljYXRlZCBlbmNyeXB0
aW9uLi8gPyBPciBkbw0KPiA+IHlvdSBtZWFuIG11c3Qgc3VwcG9ydCBib3RoLCBhdXRoZW50aWNh
dGVkIGFuZCB1bmF1dGhlbnRpY2F0ZWQ/DQo+ID4NCj4gPiA1KSBzZWN0aW9uIDY6IE1heWJlDQo+
ID4gT0xEDQo+ID4gIkZpZ3VyZSA5IHNob3dzIGEgdGhyZWUtd2F5IGhhbmRzaGFrZSB3aXRoIGEg
c3VjY2Vzc2Z1bCBUQ1AtRU5PDQo+ID4gICAgbmVnb3RpYXRpb24uICBUaGUgdHdvIHNpZGVzIGFn
cmVlIHRvIGZvbGxvdyB0aGUgVEVQIGlkZW50aWZpZWQgYnkNCj4gPiAgICBzdWJvcHRpb24gWS7i
gJwNCj4gPiBORVcNCj4gPiAiRmlndXJlIDkgc2hvd3MgYSB0aHJlZS13YXkgaGFuZHNoYWtlIHdp
dGggYSBzdWNjZXNzZnVsIFRDUC1FTk8NCj4gPiAgICBuZWdvdGlhdGlvbi4gSG9zdCBBIGluY2x1
ZGVzIHR3byBFTk8gc3Vib3B0aW9ucyB3aXRoIFRFUCBpZGVudGlmaWVycyBYDQo+IGFuZA0KPiA+
IFkuDQo+ID4gICAgVGhlIHR3byBzaWRlcyBhZ3JlZSB0byBmb2xsb3cgdGhlIFRFUCBpZGVudGlm
aWVkIGJ5IHN1Ym9wdGlvbiBZLuKAnA0KPiA+DQo+ID4gNikgQWxzbyBsb29raW5nIGF0IHRoZSBl
eGFtcGxlIGluIEZpZ3VyZSAxMSwgSSBoYXZlIHRvIHNheSB0aGF0IHRoZSBzcGVjIGRvZXMNCj4g
PiBub3QgY2xlYXJseSBzdGF0ZSBhbnl3aGVyZSB0aGF0IHRoZSBmaXJzdCBBQ0sgaGFzIHRvIGhh
dmUgYSBFTk8gb3B0aW9uIChpdOKAmXMNCj4gPiBvbmx5IG1lbnRpb24gaW1wbGljaXRseSBzb21l
d2hlcmUpLiBNYXliZSB0aGF0IGNhbiBiZSBzcGVsbGVkIG91dCBtb3JlDQo+ID4gY2xlYXJseSAo
aW4gc2VjdGlvbiA0LjYpPw0KPiA+DQo+ID4gNykgQWxzbyBiYXNlZCBvbiB0aGlzIGV4YW1wbGUu
IEkgZ3Vlc3MgaXTigJlzIGFsc28gcG9zc2libGUgdGhhdCBhIG1pZGRsZWJveA0KPiBkb2VzDQo+
ID4gbm90IHN0cmlwIHRoZSBvcHRpb25zIGluIHRoZSBTWU4gcGFja2V0cyBidXQgb25seSBpbiB0
aGUgQUNLLiBJbiB0aGlzIGNhc2UNCj4gaG9zdA0KPiA+IEEgd291bGQgc2VuZCBlbmNyeXB0ZWQg
ZGF0YSBhbmQgaG9zdCBCIHdvdWxkIHRoaW5rIHRoZXkgYXJlIG5vdA0KPiBlbmNyeXB0ZWQNCj4g
PiBhbmQgZGVsaXZlciBnYXJiYWdlIHRvIHRoZSBhcHBsaWNhdGlvbi4gSeKAmW0gbm90IHN1cmUg
aG93IHRvIGF2b2lkIG9yIGV2ZW4NCj4gPiBkZXRlY3Qgc3VjaCBhIGNhc2UgYnV0IG1heWJlIGl0
4oCZcyBzdGlsbCBnb29kIHRvIG1lbnRpb24gdGhpcyBzb21ld2hlcmXigKY/DQo+ID4NCj4gPiA4
KSBzZWN0aW9uIDcuMjogVGhlIGZvbGxvd2luZyBpcyBhIG5vcm1hdGl2ZSByZXF1aXJlbWVudCB0
aGF0cyBzaG91bGQgYmUNCj4gPiBzdGF0ZWQgbm9ybWF0aXZlbHkgKE1VU1QpIHNvbWV3aGVyZSBp
biB0aGUgbWFpbiBwYXJ0IG9mIHRoZQ0KPiBzcGVjaWZpY2F0aW9uOg0KPiA+ICJUbyBzdGF5IHJv
YnVzdCBpbiB0aGUgZmFjZSBvZiBkcm9wcGVkIHNlZ21lbnRzLCBob3N0cyBtdXN0IGNvbnRpbnVl
DQo+ID4gICAgdG8gaW5jbHVkZSBub24tU1lOIGZvcm0gRU5PIG9wdGlvbnMgaW4gc2VnbWVudHMg
dW50aWwgc3VjaCBwb2ludCBhcw0KPiA+ICAgIHRoZXkgaGF2ZSByZWNlaXZlZCBhIG5vbi1TWU4g
c2VnbWVudCBmcm9tIHRoZSBvdGhlciBzaWRlLuKAnA0KPiA+DQo+ID4gOSkgSSB3b3VsZCByZWNv
bW1lbmQgdG8gbW92ZSA3LjEgaW50byBhbiBvd24gc2VjdGlvbiAobm90IGFzIHBhcnQgb2YNCj4g
PiBzZWN0aW9uIDcgb24gcmF0aW9uYWwpLCBvciBtYXliZSByYXRoZXIgYXMgYSBzdWJzZWN0aW9u
IG9mIHNlY3Rpb24gOC4NCj4gPg0KPiA+IDEwKSBGcm9tIHJlYWRpbmcgdGhlIHRleHQgaW4gdGhl
IElBTkEgc2VjdGlvbiwgSSBiZWxpZXZlIHlvdSByYXRoZXIgd2hhdA0KPiDigJ5SRkMNCj4gPiBy
ZXF1aXJlZOKAnCBhcyBhIHBvbGljeSAoc2VlIGh0dHBzOi8vdG9vbHMuaWV0Zi5vcmcvaHRtbC9y
ZmM4MTI2I3NlY3Rpb24tNC43KS4NCj4gPiBFYXJseSBhbGxvY2F0aW9uIGFyZSBhbHdheXMgcG9z
c2libGUgYW5kIGRvZXMgbm90IG5lZWQgdG8gYmUgbm90ZWQNCj4gc2VwYXJhdGVseQ0KPiA+IChz
ZWUgaHR0cHM6Ly90b29scy5pZXRmLm9yZy9odG1sL3JmYzgxMjYjc2VjdGlvbi0zLjQpLg0KPiA+
DQo+ID4gMTEpIERvIHlvdSB3YW50IHRvIHNwZWNpYWxseSBub3RlIEFuZHJlYeKAmXMgY29udHJp
YnV0aW9uIHRvIHRoaXMgd29yayBpbiB0aGUNCj4gPiBhY2tub3dsZWRnZW1lbnRzPw0KPiA+DQo+
ID4gMTIpIFJGQzUyMjYgKG5vdyBSRkM4MTI2KSwgUkZDNjk5NCAoYWZ0ZXIgcmVtb3ZpbmcgdGhl
IGV4cCBvcHRpb24gZnJvbQ0KPiA+IHRoZSBib2R5IG9mIHRoZSBkb2MpLCBhbmQgUkZDNzQxMyBk
byBub3QgbmVlZCB0byBiZSBub3JtYXRpdmUNCj4gcmVmZXJlbmNlcy4NCj4gPiBQbGVhc2UgbW92
ZSB0byBpbmZvcm1hdGl2ZS4NCj4gPg0KPiA+IDEyKSBGaW5hbGx5LCB0d28gdGlueSB0aGluZ3Mg
ZnJvbSB0aGUgbml0cyBjaGVjazoNCj4gPg0KPiBodHRwczovL3d3dy5pZXRmLm9yZy90b29scy9p
ZG5pdHM/dXJsPWh0dHBzOi8vd3d3LmlldGYub3JnL2FyY2hpdmUvaWQvZHJhZnQNCj4gPiAtaWV0
Zi10Y3BpbmMtdGNwZW5vLTA4LnR4dA0KPiA+IC0gVGhlcmUgc2hvdWxkbuKAmXQgYmUgcmVmZXJl
bmNlIGluIHRoZSBhYnN0cmFjdC4gWW91IGNhbiBqdXN0IHJlbW92ZSBpdDsgVExTIGlzDQo+ID4g
d2VsbCBrbm93bi4gWW91IG1heSB3YW50IHRvIGFkZCBpdCBpbiBzZWN0aW9uIDcuMSBpbnN0ZWFk
Lg0KPiA+IC0gUkZDIDUyMjYgaXMgb2Jzb2xldGUNCj4gPiBCb3RoIGNvdWxkIGJlIGZpeGVkIGJ5
IHRoZSBlZGl0b3IgYnV0IGFzIHlvdSBhbnl3YXkgaGF2ZSB0byBtYWtlIGEgbmV3DQo+ID4gcmV2
aXNpb24sIHNvIHlvdSBjYW4gZml4IHRoZXNlIGFzIHdlbGwuDQo+ID4NCj4gPiBUaGFua3MhDQo+
ID4gTWlyamENCj4gPg0KDQo=


From nobody Thu Jul 27 06:22:23 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 0C670131D32 for <tcpinc@ietfa.amsl.com>; Thu, 27 Jul 2017 06:22:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.002
X-Spam-Level: 
X-Spam-Status: No, score=-2.002 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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 qcQ4Lt5laM83 for <tcpinc@ietfa.amsl.com>; Thu, 27 Jul 2017 06:22:13 -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 5077B132152 for <tcpinc@ietf.org>; Thu, 27 Jul 2017 06:22:13 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=kuehlewind.net;  b=avns9jSSu0WQoWS29YuADvTWyRlihN1v3GzTnyVHWBM+DYjlJrbJ/wyEgipz2F8hmsCi5NrA1uzCAxXA5uUXhKxByU680TIhcsL7JzmDW7Zu9nzu7SAFlbqvYsOpO5kTFfRMn5zJFjwdry6EAKmvA1x/qfYCHb1ZVSg2SVBmmQE=; h=Received:Received:From:Content-Type:Content-Transfer-Encoding:Mime-Version:Subject:Message-Id:Date:Cc:To:X-Mailer:X-PPP-Message-ID:X-PPP-Vhost;
Received: (qmail 9887 invoked from network); 27 Jul 2017 15:14:48 +0200
Received: from pd9e11f0f.dip0.t-ipconnect.de (HELO ?192.168.178.33?) (217.225.31.15) by kuehlewind.net with ESMTPSA (DHE-RSA-AES256-SHA encrypted, authenticated); 27 Jul 2017 15:14:48 +0200
From: "Mirja Kuehlewind (IETF)" <ietf@kuehlewind.net>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
Message-Id: <D38E22E9-FBB6-40D1-BF85-D5A77F5C2365@kuehlewind.net>
Date: Thu, 27 Jul 2017 15:14:48 +0200
Cc: tcpinc <tcpinc@ietf.org>
To: draft-ietf-tcpinc-tcpcrypt.all@ietf.org
X-Mailer: Apple Mail (2.3273)
X-PPP-Message-ID: <20170727131448.9882.4470@lvps83-169-45-111.dedicated.hosteurope.de>
X-PPP-Vhost: kuehlewind.net
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpinc/s3eD_eM_mW4XXOr_W3n5bYyxw7o>
Subject: [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: Thu, 27 Jul 2017 13:22:22 -0000

Hi all,

thanks again for this also very well-written document and shepherd =
write-up. I still remember a earlier version I=E2=80=99ve read that was =
more paper-like, so thanks a lot for all the editorial (and technical) =
work you did here!

Again, I=E2=80=99m 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=E2=80=A6

=
https://www.ietf.org/tools/idnits?url=3Dhttps://www.ietf.org/archive/id/dr=
aft-ietf-tcpinc-tcpcrypt-06.txt

2) Again IANA:=20
   - 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=E2=80=9C created by the tcp-eno draft...
   - Is the "tcpcrypt AEAD parameter=E2=80=9C registry a sub registry =
under the "Transmission Control Protocol (TCP) Parameters=E2=80=9C =
registry and what=E2=80=99s 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=E2=80=A6?

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.

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;=E2=80=9C
   - What does ignore in this case mean? This sounds like you ack the =
TCP segment but just don=E2=80=99t deliver the data=E2=80=A6 I guess =
that is not what you meant to say because that would break the TCP =
stream=E2=80=A6? I guess you mean drop the TCP segment, right? In this =
case it=E2=80=99s 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=E2=80=A6?

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.

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

- section 3.3:
=E2=80=9EHowever, the segment containing the
   last byte of an "Init1" or "Init2" message SHOULD have TCP's PSH bit
   set.=E2=80=9C
   - 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?

- also section 3.3:
=E2=80=9E"eno-transcript" is the protocol-
   negotiation transcript defined in TCP-ENO=E2=80=9C
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.=E2=80=9C

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

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

- I=E2=80=99m 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 =E2=80=A6?

- section 3.7
   - It=E2=80=99s 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).=20
   - 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.=E2=80=9C
   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=E2=80=99s it=E2=80=99s 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.

- The design notes (section 9) could actually be integrated in the =
security consideration; you can also have subsection in the security =
considerations=E2=80=A6

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

Thanks!!!
Mirja








From nobody Thu Jul 27 07:25:57 2017
Return-Path: <touch@isi.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 79269127444; Thu, 27 Jul 2017 07:25:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.901
X-Spam-Level: 
X-Spam-Status: No, score=-6.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-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 UhgT_leP1wg9; Thu, 27 Jul 2017 07:25:54 -0700 (PDT)
Received: from vapor.isi.edu (vapor.isi.edu [128.9.64.64]) (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 0DD30132167; Thu, 27 Jul 2017 07:25:54 -0700 (PDT)
Received: from [192.168.1.189] (cpe-172-250-240-132.socal.res.rr.com [172.250.240.132]) (authenticated bits=0) by vapor.isi.edu (8.13.8/8.13.8) with ESMTP id v6REPSL3027120 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Thu, 27 Jul 2017 07:25:38 -0700 (PDT)
To: "Mirja Kuehlewind (IETF)" <ietf@kuehlewind.net>, draft-ietf-tcpinc-tcpeno.all@ietf.org
Cc: tcpinc <tcpinc@ietf.org>
References: <55B07DA5-E274-4720-A919-83483094B9A0@tik.ee.ethz.ch> <80C705CD-8A24-49A9-A1B8-6FA7B2162941@kuehlewind.net>
From: Joe Touch <touch@isi.edu>
Message-ID: <baad59c7-03cb-738a-e1b9-185931fe96a2@isi.edu>
Date: Thu, 27 Jul 2017 07:25:27 -0700
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1
MIME-Version: 1.0
In-Reply-To: <80C705CD-8A24-49A9-A1B8-6FA7B2162941@kuehlewind.net>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Content-Language: en-US
X-ISI-4-43-8-MailScanner: Found to be clean
X-MailScanner-From: touch@isi.edu
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpinc/ZCh4gXNNbH1Kx8J6z_nrhNuC6G0>
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: Thu, 27 Jul 2017 14:25:56 -0000

On 7/27/2017 6:14 AM, Mirja Kuehlewind (IETF) wrote:
> ...
>> I’m afraid we need a new revision before IETF Last Call because the RFC should only specify the actually TCP option and not the experimental one. So you can simply remove the experimental one in Figure 1, 2 and 3 (as well as sec 4.8) and only note in the IANA section that this experimental assignment also exists, as it is already done.
First, as an Experimental RFC, I don't think it would be appropriate to
assign a codepoint that requires a standards-track doc.

Second, regardless of whether the IESG decides to override that
requirement, this document needs to address how to handle packets with
the ExID values that have already been assigned if they are considered
to be part of the transition plan (though it would be better to describe
a transition plan). Per RFC6994, the authors do need to address this
issue, especially indicating that connections should *not* include both
variants in the same segment.

Finally, IMO, if a TCP option codepoint is assigned, I strongly
recommend not poisoning the codepoint space with a "fresh" assignment,
nor should the developers be rewarded for squatting on a value. The only
appropriate solution IMO, in that case, would be to assign this option
to a codepoint already squatted **by another party**. In that case,
their deployment would appropriately suffer from the impact of squatting.

>> Other minor comments:
...
>> 2) I’m wondering if it would make sense to specify at the beginning of section 4.7 another requirement that TEPs SHOULD only specify the use of SYN data if there is some a-priori knowledge that the other end is likely to support tcp-eno and the tep (e.g. due to previous successful connections aka session resumption, or application knowledge).
That section does not appear to address the case where non-user data in
the SYN is received by a legacy receiver, either because of first
contact or in contacting a host that has changed configuration since
last contact. In such cases, there is no way to support transparent
fallback as required by RFC 1122 -- which is why it is avoided at all
costs. AFAICT, this optimization is too hazardous to include at all.

Joe


From nobody Thu Jul 27 08:22:04 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 5682A131CBE for <tcpinc@ietfa.amsl.com>; Thu, 27 Jul 2017 08:22:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.002
X-Spam-Level: 
X-Spam-Status: No, score=-2.002 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, 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 NxrFAOYp-8rU for <tcpinc@ietfa.amsl.com>; Thu, 27 Jul 2017 08:22:00 -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 73DA2131CC5 for <tcpinc@ietf.org>; Thu, 27 Jul 2017 08:22:00 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=kuehlewind.net;  b=I1XK/w0Gl8uNX6wsDJNHLA0JfXM1OXL1yPTKzVFWl/mwkymKmHBhv6rldkHkFb5PQaKYNhyrMRW6Sy6yFECullU8ws6meA5QRRE9ZV7V6ttWM10LTZOUVk5Q88rVrZyg99sqY0exhKM+JzeUwze2OZuKpG0KyOLZWCtOWH7XJBs=; 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 16204 invoked from network); 27 Jul 2017 17:21:58 +0200
Received: from pd9e11f0f.dip0.t-ipconnect.de (HELO ?192.168.178.33?) (217.225.31.15) by kuehlewind.net with ESMTPSA (DHE-RSA-AES256-SHA encrypted, authenticated); 27 Jul 2017 17:21:58 +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: <baad59c7-03cb-738a-e1b9-185931fe96a2@isi.edu>
Date: Thu, 27 Jul 2017 17:21:57 +0200
Cc: draft-ietf-tcpinc-tcpeno.all@ietf.org, tcpinc <tcpinc@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <E855DFC2-1D60-4FF5-B67A-3E2DE4B44541@kuehlewind.net>
References: <55B07DA5-E274-4720-A919-83483094B9A0@tik.ee.ethz.ch> <80C705CD-8A24-49A9-A1B8-6FA7B2162941@kuehlewind.net> <baad59c7-03cb-738a-e1b9-185931fe96a2@isi.edu>
To: Joe Touch <touch@isi.edu>
X-Mailer: Apple Mail (2.3273)
X-PPP-Message-ID: <20170727152158.16198.39923@lvps83-169-45-111.dedicated.hosteurope.de>
X-PPP-Vhost: kuehlewind.net
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpinc/zWeqNV6R6KjFK_IsNZX3KMbeuts>
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: Thu, 27 Jul 2017 15:22:02 -0000

Hi Joe,

thanks for your feedback. See comments inline.

> Am 27.07.2017 um 16:25 schrieb Joe Touch <touch@isi.edu>:
>=20
> On 7/27/2017 6:14 AM, Mirja Kuehlewind (IETF) wrote:
>> ...
>>> I=E2=80=99m afraid we need a new revision before IETF Last Call =
because the RFC should only specify the actually TCP option and not the =
experimental one. So you can simply remove the experimental one in =
Figure 1, 2 and 3 (as well as sec 4.8) and only note in the IANA section =
that this experimental assignment also exists, as it is already done.
> First, as an Experimental RFC, I don't think it would be appropriate =
to
> assign a codepoint that requires a standards-track doc.

We have actually assigned quite a couple of option numbers to =
experimental RFCs lately, given it is very common to go for experimental =
first in transport. As this work is chartered for experimental, we will =
go with IESG approval in this case, however, maybe we should consider to =
change the policy to "IESG Approval or RFC Required=E2=80=9C instead.

>=20
> Second, regardless of whether the IESG decides to override that
> requirement, this document needs to address how to handle packets with
> the ExID values that have already been assigned if they are considered
> to be part of the transition plan (though it would be better to =
describe
> a transition plan). Per RFC6994, the authors do need to address this
> issue, especially indicating that connections should *not* include =
both
> variants in the same segment.

That=E2=80=99s right. I though RFC6994 would make a general =
recommendation here. But I guess it=E2=80=99s anyway good to add one =
sentence that implementations that following this specification should =
actually not respond to the experimental option. Thanks for noting.

>=20
> Finally, IMO, if a TCP option codepoint is assigned, I strongly
> recommend not poisoning the codepoint space with a "fresh" assignment,
> nor should the developers be rewarded for squatting on a value. The =
only
> appropriate solution IMO, in that case, would be to assign this option
> to a codepoint already squatted **by another party**. In that case,
> their deployment would appropriately suffer from the impact of =
squatting.

While I know the problems with squatting that we have, I don=E2=80=99t =
think is a suitable option to enable good deployment for this or any new =
IETF protocols that we invested a lot of time in. I though we had this =
discussion already and concluded that the best viable option for this =
case is the number that they already squatted on. Let=E2=80=99s go for =
this path.

>=20
>>> Other minor comments:
> ...
>>> 2) I=E2=80=99m wondering if it would make sense to specify at the =
beginning of section 4.7 another requirement that TEPs SHOULD only =
specify the use of SYN data if there is some a-priori knowledge that the =
other end is likely to support tcp-eno and the tep (e.g. due to previous =
successful connections aka session resumption, or application =
knowledge).
> That section does not appear to address the case where non-user data =
in
> the SYN is received by a legacy receiver, either because of first
> contact or in contacting a host that has changed configuration since
> last contact. In such cases, there is no way to support transparent
> fallback as required by RFC 1122 -- which is why it is avoided at all
> costs. AFAICT, this optimization is too hazardous to include at all.

It does. The initiator must reset the connection in this case. It=E2=80=99=
s phrased slightly complicated but it is specified. Maybe this can be =
clarified a bit better/described earlier in the text.

Mirja


>=20
> Joe


From nobody Thu Jul 27 08:40:25 2017
Return-Path: <touch@isi.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 8C350131CA5; Thu, 27 Jul 2017 08:40:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.9
X-Spam-Level: 
X-Spam-Status: No, score=-6.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, URIBL_BLOCKED=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 nB7D4wOBmMJS; Thu, 27 Jul 2017 08:40:23 -0700 (PDT)
Received: from vapor.isi.edu (vapor.isi.edu [128.9.64.64]) (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 1A52E131687; Thu, 27 Jul 2017 08:40:23 -0700 (PDT)
Received: from [192.168.1.189] (cpe-172-250-240-132.socal.res.rr.com [172.250.240.132]) (authenticated bits=0) by vapor.isi.edu (8.13.8/8.13.8) with ESMTP id v6RFe13Y002485 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Thu, 27 Jul 2017 08:40:11 -0700 (PDT)
To: "Mirja Kuehlewind (IETF)" <ietf@kuehlewind.net>
Cc: draft-ietf-tcpinc-tcpeno.all@ietf.org, tcpinc <tcpinc@ietf.org>
References: <55B07DA5-E274-4720-A919-83483094B9A0@tik.ee.ethz.ch> <80C705CD-8A24-49A9-A1B8-6FA7B2162941@kuehlewind.net> <baad59c7-03cb-738a-e1b9-185931fe96a2@isi.edu> <E855DFC2-1D60-4FF5-B67A-3E2DE4B44541@kuehlewind.net>
From: Joe Touch <touch@isi.edu>
Message-ID: <68220a4f-01dd-61dc-0e68-8c9fc68587bf@isi.edu>
Date: Thu, 27 Jul 2017 08:40:01 -0700
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1
MIME-Version: 1.0
In-Reply-To: <E855DFC2-1D60-4FF5-B67A-3E2DE4B44541@kuehlewind.net>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Content-Language: en-US
X-ISI-4-43-8-MailScanner: Found to be clean
X-MailScanner-From: touch@isi.edu
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpinc/bEe6MzvD8oP_9lfHEE0XUY29P94>
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: Thu, 27 Jul 2017 15:40:24 -0000

Hi, Mirja,

On 7/27/2017 8:21 AM, Mirja Kuehlewind (IETF) wrote:
> Hi Joe,
>
> thanks for your feedback. See comments inline.
>
>> Am 27.07.2017 um 16:25 schrieb Joe Touch <touch@isi.edu>:
>>
>> On 7/27/2017 6:14 AM, Mirja Kuehlewind (IETF) wrote:
>>> ...
>>>> I’m afraid we need a new revision before IETF Last Call because the RFC should only specify the actually TCP option and not the experimental one. So you can simply remove the experimental one in Figure 1, 2 and 3 (as well as sec 4.8) and only note in the IANA section that this experimental assignment also exists, as it is already done.
>> First, as an Experimental RFC, I don't think it would be appropriate to
>> assign a codepoint that requires a standards-track doc.
> We have actually assigned quite a couple of option numbers to experimental RFCs lately, given it is very common to go for experimental first in transport. 
I have raised concerns with this practice in other cases, so I'll raise
it here. The whole point of experimental is for these cases. The TCP
option space is littered with failed experiments, and should not be --
that is exactly what the mechanism in RFC6994 is intended for.

> As this work is chartered for experimental, we will go with IESG approval in this case, however, maybe we should consider to change the policy to "IESG Approval or RFC Required“ instead.
The current requirement is "IESG approval or standards-track RFC
required" - an intentionally high bar. There's no good reason to lower
that bar, esp. for small codepoint spaces in core Internet protocols.

>> Second, regardless of whether the IESG decides to override that
>> requirement, this document needs to address how to handle packets with
>> the ExID values that have already been assigned if they are considered
>> to be part of the transition plan (though it would be better to describe
>> a transition plan). Per RFC6994, the authors do need to address this
>> issue, especially indicating that connections should *not* include both
>> variants in the same segment.
> That’s right. I though RFC6994 would make a general recommendation here. But I guess it’s anyway good to add one sentence that implementations that following this specification should actually not respond to the experimental option. Thanks for noting.
Actually, this RFC ought to clearly indicate this assignment and have
normative language for addressing segments with it and the IANA
instructions ought to indicate that the assignment should point to this
RFC. Otherwise we lose a documentation trail.

>
>> Finally, IMO, if a TCP option codepoint is assigned, I strongly
>> recommend not poisoning the codepoint space with a "fresh" assignment,
>> nor should the developers be rewarded for squatting on a value. The only
>> appropriate solution IMO, in that case, would be to assign this option
>> to a codepoint already squatted **by another party**. In that case,
>> their deployment would appropriately suffer from the impact of squatting.
> While I know the problems with squatting that we have, I don’t think is a suitable option to enable good deployment for this or any new IETF protocols that we invested a lot of time in. 
Actually, I think this is EXACTLY the kind of option to do this - those
who create the problem of squatting should experience the impact of
their actions.

> I though we had this discussion already and concluded that the best viable option for this case is the number that they already squatted on. 
I don't know if we did, but I don't think that's appropriate - it
encourages squatting by rewarding it.
>>>> Other minor comments:
>> ...
>>>> 2) I’m wondering if it would make sense to specify at the beginning of section 4.7 another requirement that TEPs SHOULD only specify the use of SYN data if there is some a-priori knowledge that the other end is likely to support tcp-eno and the tep (e.g. due to previous successful connections aka session resumption, or application knowledge).
>> That section does not appear to address the case where non-user data in
>> the SYN is received by a legacy receiver, either because of first
>> contact or in contacting a host that has changed configuration since
>> last contact. In such cases, there is no way to support transparent
>> fallback as required by RFC 1122 -- which is why it is avoided at all
>> costs. AFAICT, this optimization is too hazardous to include at all.
> It does. The initiator must reset the connection in this case.
I would assume then that NO TCP connection is possible to that endpoint
- i.e., by aborting the connection, you're saying that this endpoint is
not reachable because it's "ENO or nothing".

If so, that needs to be made very clear - especially that it is not
appropriate for the TCP layer to try another connection without ENO
(i.e., transparent fallback NEVER involves multiple connection attempts
- otherwise you're violating RFC1122).

Joe


From nobody Thu Jul 27 08:50:58 2017
Return-Path: <touch@isi.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 12471131CC7; Thu, 27 Jul 2017 08:50:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.901
X-Spam-Level: 
X-Spam-Status: No, score=-6.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-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 NjYTR_-cs5JN; Thu, 27 Jul 2017 08:50:56 -0700 (PDT)
Received: from vapor.isi.edu (vapor.isi.edu [128.9.64.64]) (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 EBA3812EC4B; Thu, 27 Jul 2017 08:50:55 -0700 (PDT)
Received: from [192.168.1.189] (cpe-172-250-240-132.socal.res.rr.com [172.250.240.132]) (authenticated bits=0) by vapor.isi.edu (8.13.8/8.13.8) with ESMTP id v6RFoDQU008087 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Thu, 27 Jul 2017 08:50:23 -0700 (PDT)
From: Joe Touch <touch@isi.edu>
To: "Mirja Kuehlewind (IETF)" <ietf@kuehlewind.net>
Cc: draft-ietf-tcpinc-tcpeno.all@ietf.org, tcpinc <tcpinc@ietf.org>
References: <55B07DA5-E274-4720-A919-83483094B9A0@tik.ee.ethz.ch> <80C705CD-8A24-49A9-A1B8-6FA7B2162941@kuehlewind.net> <baad59c7-03cb-738a-e1b9-185931fe96a2@isi.edu> <E855DFC2-1D60-4FF5-B67A-3E2DE4B44541@kuehlewind.net> <68220a4f-01dd-61dc-0e68-8c9fc68587bf@isi.edu>
Message-ID: <d93a8eb8-ca36-04d7-11e1-92608f6daee4@isi.edu>
Date: Thu, 27 Jul 2017 08:50:12 -0700
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1
MIME-Version: 1.0
In-Reply-To: <68220a4f-01dd-61dc-0e68-8c9fc68587bf@isi.edu>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Content-Language: en-US
X-ISI-4-43-8-MailScanner: Found to be clean
X-MailScanner-From: touch@isi.edu
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpinc/HZoMgvzRRSPn2bYUvD0HpUz3yDU>
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: Thu, 27 Jul 2017 15:50:57 -0000

FWIW:


On 7/27/2017 8:40 AM, Joe Touch wrote:
> ...
>>>>> 2) I’m wondering if it would make sense to specify at the beginning of section 4.7 another requirement that TEPs SHOULD only specify the use of SYN data if there is some a-priori knowledge that the other end is likely to support tcp-eno and the tep (e.g. due to previous successful connections aka session resumption, or application knowledge).
>>> That section does not appear to address the case where non-user data in
>>> the SYN is received by a legacy receiver, either because of first
>>> contact or in contacting a host that has changed configuration since
>>> last contact. In such cases, there is no way to support transparent
>>> fallback as required by RFC 1122 -- which is why it is avoided at all
>>> costs. AFAICT, this optimization is too hazardous to include at all.
>> It does. The initiator must reset the connection in this case.
> I would assume then that NO TCP connection is possible to that endpoint
> - i.e., by aborting the connection, you're saying that this endpoint is
> not reachable because it's "ENO or nothing".
>
> If so, that needs to be made very clear - especially that it is not
> appropriate for the TCP layer to try another connection without ENO
> (i.e., transparent fallback NEVER involves multiple connection attempts
> - otherwise you're violating RFC1122).

The text does address this case, but still a bit too vague IMO. I'd
appreciate an explicit statement highlighting interaction with legacy
receivers, including a note that even a previously-visited ENO node
might be legacy upon next contact, and stating that the connection abort
MUST NOT include an automatic subsequent attempt at fallback, e.g.,
because BOTH this violates the nature of ENO (once the client wants ENO,
it's ENO-or-nothing) *and* because automatic fallback would violate TCP
semantics.

Joe


From nobody Thu Jul 27 09:58:20 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 255C7131C8F for <tcpinc@ietfa.amsl.com>; Thu, 27 Jul 2017 09:58:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.002
X-Spam-Level: 
X-Spam-Status: No, score=-2.002 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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 uyo6cbsfC8qF for <tcpinc@ietfa.amsl.com>; Thu, 27 Jul 2017 09:58:16 -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 509291316C3 for <tcpinc@ietf.org>; Thu, 27 Jul 2017 09:58:16 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=kuehlewind.net;  b=tKsvjJ1u31Xwt7aR3ebLOK7dSYtlja70G/h22X15MLq542TgbMV4fL9nAee8goliZCweWWy+N6dRbqD94DBkLhkvVSUQE0yDpKpOzy11hI5uIEcc9UGcLjfUpVHQKz75tk0dKldYk/00BjRrF2cU+vKSIEDOdED+bNvDbu8QG7Y=; 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 21506 invoked from network); 27 Jul 2017 18:58:14 +0200
Received: from pd9e11f0f.dip0.t-ipconnect.de (HELO ?192.168.178.33?) (217.225.31.15) by kuehlewind.net with ESMTPSA (DHE-RSA-AES256-SHA encrypted, authenticated); 27 Jul 2017 18:58:14 +0200
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: "Mirja Kuehlewind (IETF)" <ietf@kuehlewind.net>
In-Reply-To: <68220a4f-01dd-61dc-0e68-8c9fc68587bf@isi.edu>
Date: Thu, 27 Jul 2017 18:58:13 +0200
Cc: draft-ietf-tcpinc-tcpeno.all@ietf.org, tcpinc <tcpinc@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <60D21DFE-CC3D-41F0-B9EC-EFF224F85EFE@kuehlewind.net>
References: <55B07DA5-E274-4720-A919-83483094B9A0@tik.ee.ethz.ch> <80C705CD-8A24-49A9-A1B8-6FA7B2162941@kuehlewind.net> <baad59c7-03cb-738a-e1b9-185931fe96a2@isi.edu> <E855DFC2-1D60-4FF5-B67A-3E2DE4B44541@kuehlewind.net> <68220a4f-01dd-61dc-0e68-8c9fc68587bf@isi.edu>
To: Joe Touch <touch@isi.edu>
X-Mailer: Apple Mail (2.3273)
X-PPP-Message-ID: <20170727165814.20476.3079@lvps83-169-45-111.dedicated.hosteurope.de>
X-PPP-Vhost: kuehlewind.net
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpinc/r1N3c-EFaZv14wB4nnYu8Hz-rEk>
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: Thu, 27 Jul 2017 16:58:18 -0000

Hi Joe,

replying separately to separate topics:

> Am 27.07.2017 um 17:40 schrieb Joe Touch <touch@isi.edu>:
>=20
> I have raised concerns with this practice in other cases, so I'll =
raise
> it here. The whole point of experimental is for these cases. The TCP
> option space is littered with failed experiments, and should not be --
> that is exactly what the mechanism in RFC6994 is intended for.

Yes, this is true. However in practice we use the experimental option =
for experimentation during draft status and have often assigned the code =
point at publication time of the RFC.=20

In case of tcpinc/tcpeno I think this is qualified because there is =
agreement that this extension is value to TCP. This experiment is rather =
on figuring out if the specification is correct and comprehensive.

However, if you want to have this discussion in more general term, it =
should happen on the tcpm list instead.

Mirja




From nobody Thu Jul 27 10:01:44 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 4352F131891 for <tcpinc@ietfa.amsl.com>; Thu, 27 Jul 2017 10:01:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.002
X-Spam-Level: 
X-Spam-Status: No, score=-2.002 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, 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 FIQJD_vcvUsr for <tcpinc@ietfa.amsl.com>; Thu, 27 Jul 2017 10:01:41 -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 985C91318A2 for <tcpinc@ietf.org>; Thu, 27 Jul 2017 10:01:40 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=kuehlewind.net;  b=LGWwb0XgphBTK8ztRfsSsG+i5wR8qEak7WoyMSf1IadwkGF+MN4K14jc5+V5ozhTFBg8ei1CB7n/cqc6tHE2WgvrQlJJAW81aASjws5Smi/i31Hgz0xHU6kPUclbYSFSLrWIsDYDrghGtSPGUhIu3uHAgZe/NhwLakDqj/bZ5yo=; 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 21678 invoked from network); 27 Jul 2017 19:01:38 +0200
Received: from pd9e11f0f.dip0.t-ipconnect.de (HELO ?192.168.178.33?) (217.225.31.15) by kuehlewind.net with ESMTPSA (DHE-RSA-AES256-SHA encrypted, authenticated); 27 Jul 2017 19:01:38 +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: <68220a4f-01dd-61dc-0e68-8c9fc68587bf@isi.edu>
Date: Thu, 27 Jul 2017 19:01:37 +0200
Cc: draft-ietf-tcpinc-tcpeno.all@ietf.org, tcpinc <tcpinc@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <BF001C41-862C-4301-9D20-4DDC23CB040D@kuehlewind.net>
References: <55B07DA5-E274-4720-A919-83483094B9A0@tik.ee.ethz.ch> <80C705CD-8A24-49A9-A1B8-6FA7B2162941@kuehlewind.net> <baad59c7-03cb-738a-e1b9-185931fe96a2@isi.edu> <E855DFC2-1D60-4FF5-B67A-3E2DE4B44541@kuehlewind.net> <68220a4f-01dd-61dc-0e68-8c9fc68587bf@isi.edu>
To: Joe Touch <touch@isi.edu>
X-Mailer: Apple Mail (2.3273)
X-PPP-Message-ID: <20170727170138.21672.89592@lvps83-169-45-111.dedicated.hosteurope.de>
X-PPP-Vhost: kuehlewind.net
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpinc/lvnOCEN8SIbYSYdnN_9zzQHh3sY>
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: Thu, 27 Jul 2017 17:01:42 -0000

Hi again,

> Am 27.07.2017 um 17:40 schrieb Joe Touch <touch@isi.edu>:
>=20
>>> Finally, IMO, if a TCP option codepoint is assigned, I strongly
>>> recommend not poisoning the codepoint space with a "fresh" =
assignment,
>>> nor should the developers be rewarded for squatting on a value. The =
only
>>> appropriate solution IMO, in that case, would be to assign this =
option
>>> to a codepoint already squatted **by another party**. In that case,
>>> their deployment would appropriately suffer from the impact of =
squatting.
>> While I know the problems with squatting that we have, I don=E2=80=99t =
think is a suitable option to enable good deployment for this or any new =
IETF protocols that we invested a lot of time in.=20
> Actually, I think this is EXACTLY the kind of option to do this - =
those
> who create the problem of squatting should experience the impact of
> their actions.
>=20
>> I though we had this discussion already and concluded that the best =
viable option for this case is the number that they already squatted on.=20=

> I don't know if we did, but I don't think that's appropriate - it
> encourages squatting by rewarding it.

I totally understand your viewpoint here. However, if you want to find a =
way to penalize squatting, this is not it. The squatting was induced by =
individuals before this proposal was brought to the IETF. TCP-eno will =
now be published as an IETF consensus document as as such we as a =
community should provide support to make its deployment successful.

Mirja


From nobody Thu Jul 27 10:05:15 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 05E92131F6A for <tcpinc@ietfa.amsl.com>; Thu, 27 Jul 2017 10:05:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.002
X-Spam-Level: 
X-Spam-Status: No, score=-2.002 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, 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 rDRidRa6I1rK for <tcpinc@ietfa.amsl.com>; Thu, 27 Jul 2017 10:05:11 -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 C3C23132051 for <tcpinc@ietf.org>; Thu, 27 Jul 2017 10:05:07 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=kuehlewind.net;  b=ks/fCiIoiEm12yyRpEXDfBDMNx1Ty16P4E3ryzjFBSAzVB9s3GSyNpBgAt1pcQjdBcF1wg4jPUabgwqbubtWQCLJuFReC7bxuK3iQCnzSTdGt+1HhbUye+jQkDXwH9SGpqFtGi9Cr5DZ2o5ZDxztsBEuJmHEeRkBrsqEwJg81ro=; 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 21796 invoked from network); 27 Jul 2017 19:05:06 +0200
Received: from pd9e11f0f.dip0.t-ipconnect.de (HELO ?192.168.178.33?) (217.225.31.15) by kuehlewind.net with ESMTPSA (DHE-RSA-AES256-SHA encrypted, authenticated); 27 Jul 2017 19:05:05 +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: <d93a8eb8-ca36-04d7-11e1-92608f6daee4@isi.edu>
Date: Thu, 27 Jul 2017 19:05:05 +0200
Cc: draft-ietf-tcpinc-tcpeno.all@ietf.org, tcpinc <tcpinc@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <4FD72512-F4AB-4305-A156-9B70CB1C6422@kuehlewind.net>
References: <55B07DA5-E274-4720-A919-83483094B9A0@tik.ee.ethz.ch> <80C705CD-8A24-49A9-A1B8-6FA7B2162941@kuehlewind.net> <baad59c7-03cb-738a-e1b9-185931fe96a2@isi.edu> <E855DFC2-1D60-4FF5-B67A-3E2DE4B44541@kuehlewind.net> <68220a4f-01dd-61dc-0e68-8c9fc68587bf@isi.edu> <d93a8eb8-ca36-04d7-11e1-92608f6daee4@isi.edu>
To: Joe Touch <touch@isi.edu>
X-Mailer: Apple Mail (2.3273)
X-PPP-Message-ID: <20170727170506.21790.67089@lvps83-169-45-111.dedicated.hosteurope.de>
X-PPP-Vhost: kuehlewind.net
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpinc/ScJ6HBxMlyvrGZZA-XMhVycn_Ws>
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: Thu, 27 Jul 2017 17:05:14 -0000

Hi Joe again,

see below.

> Am 27.07.2017 um 17:50 schrieb Joe Touch <touch@isi.edu>:
>=20
> FWIW:
>=20
>=20
> On 7/27/2017 8:40 AM, Joe Touch wrote:
>> ...
>>>>>> 2) I=E2=80=99m wondering if it would make sense to specify at the =
beginning of section 4.7 another requirement that TEPs SHOULD only =
specify the use of SYN data if there is some a-priori knowledge that the =
other end is likely to support tcp-eno and the tep (e.g. due to previous =
successful connections aka session resumption, or application =
knowledge).
>>>> That section does not appear to address the case where non-user =
data in
>>>> the SYN is received by a legacy receiver, either because of first
>>>> contact or in contacting a host that has changed configuration =
since
>>>> last contact. In such cases, there is no way to support transparent
>>>> fallback as required by RFC 1122 -- which is why it is avoided at =
all
>>>> costs. AFAICT, this optimization is too hazardous to include at =
all.
>>> It does. The initiator must reset the connection in this case.
>> I would assume then that NO TCP connection is possible to that =
endpoint
>> - i.e., by aborting the connection, you're saying that this endpoint =
is
>> not reachable because it's "ENO or nothing=E2=80=9C.

No. SYN data is not used by default. As such they could anyway only be =
used by an tcp-eno aware host. Such a host could decide to retry tcp-eno =
without syn-data or even tcp with tcp-eno.

>>=20
>> If so, that needs to be made very clear - especially that it is not
>> appropriate for the TCP layer to try another connection without ENO
>> (i.e., transparent fallback NEVER involves multiple connection =
attempts
>> - otherwise you're violating RFC1122).

Again there is no transparent fallback. There is an error message to the =
application and the application can decide what to do.

>=20
> The text does address this case, but still a bit too vague IMO. I'd
> appreciate an explicit statement highlighting interaction with legacy
> receivers, including a note that even a previously-visited ENO node
> might be legacy upon next contact, and stating that the connection =
abort
> MUST NOT include an automatic subsequent attempt at fallback, e.g.,
> because BOTH this violates the nature of ENO (once the client wants =
ENO,
> it's ENO-or-nothing) *and* because automatic fallback would violate =
TCP
> semantics.

Agreed. These are good points to note more explicitly.

Mirja


>=20
> Joe


From nobody Thu Jul 27 13:29:09 2017
Return-Path: <dm-list-tcpcrypt@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 3AB87132198; Thu, 27 Jul 2017 13:29:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HK_RANDOM_ENVFROM=0.001, HK_RANDOM_FROM=0.001, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no 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 HcUOEGjJC5IS; Thu, 27 Jul 2017 13:29:06 -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 84DE7131DA6; Thu, 27 Jul 2017 13:29:06 -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 v6RKT6DJ096065; Thu, 27 Jul 2017 13:29:06 -0700 (PDT)
Received: (from dm@localhost) by market.scs.stanford.edu (8.15.2/8.15.2/Submit) id v6RKT5kT010627; Thu, 27 Jul 2017 13:29:05 -0700 (PDT)
From: David Mazieres <dm-list-tcpcrypt@scs.stanford.edu>
To: "Mirja Kuehlewind \(IETF\)" <ietf@kuehlewind.net>, draft-ietf-tcpinc-tcpeno.all@ietf.org
Cc: tcpinc <tcpinc@ietf.org>
In-Reply-To: <80C705CD-8A24-49A9-A1B8-6FA7B2162941@kuehlewind.net>
References: <55B07DA5-E274-4720-A919-83483094B9A0@tik.ee.ethz.ch> <80C705CD-8A24-49A9-A1B8-6FA7B2162941@kuehlewind.net>
Reply-To: David Mazieres expires 2017-10-25 PDT <mazieres-jcdqn4cj29iym4ysariezfidys@temporary-address.scs.stanford.edu>
Date: Thu, 27 Jul 2017 13:29:05 -0700
Message-ID: <87fudh62um.fsf@ta.scs.stanford.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpinc/tjSdtYufbZ6hZSpbW3ck6pC-AJM>
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: Thu, 27 Jul 2017 20:29:08 -0000

"Mirja Kuehlewind (IETF)" <ietf@kuehlewind.net> writes:

> I=E2=80=99m afraid we need a new revision before IETF Last Call because t=
he
> RFC should only specify the actually TCP option and not the
> experimental one. So you can simply remove the experimental one in
> Figure 1, 2 and 3 (as well as sec 4.8) and only note in the IANA
> section that this experimental assignment also exists, as it is
> already done.

Thanks for the feedback.  Just to confirm, is this still what we should
do after the discussion?  Or are there other things we need to add (like
Joe's suggestion not to send both option types)?

> 1) I would recommend to switch the last to paragraphs in section 4.5;
> I think that helps understanding.

Good idea, but requires a little wordsmithing.  Here is the proposed new
language:

        A passive opener (which is always host B) sees the remote host's
        SYN segment before constructing its own SYN-ACK segment.  Hence,
        a passive opener SHOULD include only one TEP identifier in
        SYN-ACK segments and SHOULD ensure this TEP identifier is valid.
        However, simultaneous open or implementation considerations can
        prevent host B from offering only one TEP.

        To accommodate scenarios in which host B sends multiple TEP
        identifiers in the SYN-ACK segment, the _negotiated TEP_ is
        defined as the last valid TEP identifier in host B's SYN-form
        ENO option.  This definition means host B specifies TEP
        suboptions in order of increasing priority, while host A does
        not influence TEP priority.

> 2) I=E2=80=99m wondering if it would make sense to specify at the beginni=
ng of
> section 4.7 another requirement that TEPs SHOULD only specify the use
> of SYN data if there is some a-priori knowledge that the other end is
> likely to support tcp-eno and the tep (e.g. due to previous successful
> connections aka session resumption, or application knowledge).

This may be true for SYN-only segments, but doesn't necessarily hold for
SYN-ACK.  To my mind, the requirement that "To avoid unexpected
connection aborts, ENO implementations MUST disable the use of data in
SYN-only segments by default" is both stronger and more specific than
saying only with a-priori knowledge.  Essentially we are saying the
application has to request it.

So for now I haven't done anything with this feedback.  Let me know if
you have a more specific suggestion.

> 3) Sec 4.8 does not really specify what to do with the transcript. I
> guess that=E2=80=99s TEP specific but it sounds like there should be a
> requirement stated that a TEP has to check this or abort the
> connection=E2=80=A6?

What to do with the transcript is highly TEP specific, but since every
TEP will need to reference a transcript to comply with the requirements
of section 5.1, it seemed simpler and less error prone to define one
explicitly as part of TCP-ENO.  The connection doesn't need to be
aborted, but the session IDs won't match.  Basically the transcript is
required for the following point in section 5.1:

  The session ID MUST depend in a collision-resistant way on all of
  the following (meaning it is computationally infeasible to produce
  collisions of the session ID derivation function unless all of the
  following quantities are identical):
    ...
    * The negotiation transcript specified in 4.8.

So for now I haven't done anything, but am open to more suggestions if
you think this still needs to be fixed.

> 4) sec 5:
> s/TEPs MUST protect TCP data streams with authenticated encryption./TEPs =
MUST protect TCP data streams with unauthenticated encryption./ ? Or do you=
 mean must support both, authenticated and unauthenticated?

As David Black pointed out, the language was correct but maybe
confusing.  Here is the new proposed language:

  TEPs MUST protect TCP data streams with authenticated encryption.
  (Note "authenticated encryption" designates the REQUIRED form
  encryption algorithm [@RFC5116]; it does not imply any actual
  endpoint authentication.)

> 5) section 6: Maybe
> OLD
> "Figure 9 shows a three-way handshake with a successful TCP-ENO
>   negotiation.  The two sides agree to follow the TEP identified by
>   suboption Y.=E2=80=9C
> NEW
> "Figure 9 shows a three-way handshake with a successful TCP-ENO
>   negotiation. Host A includes two ENO suboptions with TEP identifiers X =
and Y.=20
>   The two sides agree to follow the TEP identified by suboption Y.=E2=80=
=9C=20

Fixed.

> 6) Also looking at the example in Figure 11, I have to say that the
> spec does not clearly state anywhere that the first ACK has to have a
> ENO option (it=E2=80=99s only mention implicitly somewhere). Maybe that c=
an be
> spelled out more clearly (in section 4.6)?

This was the intent of the first sentence of section 4.6:

        A host employing TCP-ENO for a connection MUST include an ENO
        option in every TCP segment sent until either encryption is
        disabled or the host receives a non-SYN segment.

Rather than fiddle with 4.6, I propose clarifying section 6 as follows:

        (1) A -> B:  SYN      ENO<X,Y>
        (2) B -> A:  SYN-ACK  ENO<b=3D1,X> [ENO stripped by middlebox]
        (3) A -> B:  ACK
        [rest of connection unencrypted legacy TCP]

        Figure 11: Failed TCP-ENO negotiation because of network filtering

        Figure 11 Shows another handshake with a failed encryption
        negotiation. In this case, the passive opener B receives an ENO
        option from A and replies. However, the reverse network path
        from B to A strips ENO options. Hence, A does not receive an ENO
        option from B, disables ENO, and does not include a non-SYN-form
        ENO option in segment 3 when ACKing B's SYN. Had A not disabled
        encryption, Section 4.6 would have required it to include a
        non-SYN ENO option in segment 3. The omission of this option
        informs B that encryption negotiation has failed, after which
        the two hosts proceed with unencrypted TCP.

> 7) Also based on this example. I guess it=E2=80=99s also possible that a
> middlebox does not strip the options in the SYN packets but only in
> the ACK. In this case host A would send encrypted data and host B
> would think they are not encrypted and deliver garbage to the
> application. I=E2=80=99m not sure how to avoid or even detect such a case=
 but
> maybe it=E2=80=99s still good to mention this somewhere=E2=80=A6?

I propose addressing this in section 8, as follows:

        Once TCP-ENO is deployed, we will be in a better position to
        gather data on two types of failure:
        ...
        2. Middleboxes causing TCP-ENO connections to fail
           completely. This can happen if middleboxes perform deep
           packet inspection and start dropping segments that
           unexpectedly contain ciphertext, or if middleboxes
           inconsistently strip ENO options from packets in the same
           direction.

> 8) section 7.2: The following is a normative requirement thats should be =
stated normatively (MUST) somewhere in the main part of the specification:
> "To stay robust in the face of dropped segments, hosts must continue
>   to include non-SYN form ENO options in segments until such point as
>   they have received a non-SYN segment from the other side.=E2=80=9C

I have deleted the word "must" from here.  Section 7 is not intended to
be normative, but rather describe the rationale for having made this
requirement elsewhere in the document.

> 9) I would recommend to move 7.1 into an own section (not as part of
> section 7 on rational), or maybe rather as a subsection of section 8.

Is this because you thought section 7.1 was trying to establish
normative requirements?  A lot of those details were previously more
closely intermingled with the specification, which the working group did
not like.  Now that we've got those points separated out into section 7
but still part of the document, I think it reads more cleanly.  Hence,
my inclination would be to leave 7.1 as is (other than deleting "must"),
but if you want to elaborate on why it should be moved, you can probably
change my mind.

> 10) From reading the text in the IANA section, I believe you rather
> what =E2=80=9ERFC required=E2=80=9C as a policy (see
> https://tools.ietf.org/html/rfc8126#section-4.7). Early allocation are
> always possible and does not need to be noted separately (see
> https://tools.ietf.org/html/rfc8126#section-3.4).

The specification required was intentional, because we wanted to avoid
the same chicken-and-egg problem caused by the need for a TCP option.
Since the point of TCP-ENO is to make it significantly easier to develop
future TEPs than it would be to develop TCP encryption schemes from
scratch, and since the TCP option for tcpcrypt and TCP-ENO caused a fair
amount of friction in the TCPINC working group, I feel reasonably
strongly that it would be best to give out TEP identifiers well in
advance of RFC publication, provided there is a plausible draft
specification.

My strong preference would thus be to leave things as is, but of course
in the end I would defer to you if based on your experience you really
think it needs to be RFC required.

> 11) Do you want to specially note Andrea=E2=80=99s contribution to this w=
ork
> in the acknowledgements?

Hmm... we definitely want to leave Andrea as first author the same as if
he hadn't died, reflecting the fact that he was the main person behind
the work.  If we put anything in the acknowledgments, it could diminish
his contributions by emphasizing the fact that other people had to
"finish" the document, when really what we are doing at this point is
just tiny little cleanups.

> 12) RFC5226 (now RFC8126), RFC6994 (after removing the exp option from
> the body of the doc), and RFC7413 do not need to be normative
> references. Please move to informative.

Fixed.

> 12) Finally, two tiny things from the nits check:
> https://www.ietf.org/tools/idnits?url=3Dhttps://www.ietf.org/archive/id/d=
raft-ietf-tcpinc-tcpeno-08.txt
> - There shouldn=E2=80=99t be reference in the abstract. You can just remo=
ve it; TLS is well known. You may want to add it in section 7.1 instead.
> - RFC 5226 is obsolete
> Both could be fixed by the editor but as you anyway have to make a new re=
vision, so you can fix these as well.

Both fixed.

If you just confirm what to do about the TCP option kinds and obviously
voice any objections to my proposed fixes above, we can get a new draft
uploaded soon.

Thanks,
David


From nobody Fri Jul 28 06:12:31 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 9BCF2126E3A for <tcpinc@ietfa.amsl.com>; Fri, 28 Jul 2017 06:12:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.003
X-Spam-Level: 
X-Spam-Status: No, score=-2.003 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, 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 92n5kvG9eR_b for <tcpinc@ietfa.amsl.com>; Fri, 28 Jul 2017 06:12:26 -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 983CF131C35 for <tcpinc@ietf.org>; Fri, 28 Jul 2017 06:12:25 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=kuehlewind.net;  b=tsXsrdLCKfxqVx+H/x6rV5qw76nrAll6kMt6XjSR4+VEOtllpjd8DCydre0rxtVuhivcZH7yAmlne8vgYAVD+m/ZTXi4iYmhDLB5lJrJd+GrzIi1aKAuOls4v0F6MUSITTUxrsNV9N1R+mvmLvx1bLnvGq8Hw7dVjuihou+mb3U=; 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 4074 invoked from network); 28 Jul 2017 15:12:22 +0200
Received: from pd9e11f5a.dip0.t-ipconnect.de (HELO ?192.168.178.33?) (217.225.31.90) by kuehlewind.net with ESMTPSA (DHE-RSA-AES256-SHA encrypted, authenticated); 28 Jul 2017 15:12:22 +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: <87fudh62um.fsf@ta.scs.stanford.edu>
Date: Fri, 28 Jul 2017 15:12:21 +0200
Cc: draft-ietf-tcpinc-tcpeno.all@ietf.org, tcpinc <tcpinc@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <36738439-CAEC-4694-87EF-00EC91426D9C@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>
To: David Mazieres expires 2017-10-25 PDT <mazieres-jcdqn4cj29iym4ysariezfidys@temporary-address.scs.stanford.edu>
X-Mailer: Apple Mail (2.3273)
X-PPP-Message-ID: <20170728131222.4068.88302@lvps83-169-45-111.dedicated.hosteurope.de>
X-PPP-Vhost: kuehlewind.net
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpinc/CYC4YC2Gl4NI-8WTKi0o0m6VCfw>
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, 28 Jul 2017 13:12:30 -0000

Hi David,

thanks for your quick reply!

See below.

> Am 27.07.2017 um 22:29 schrieb David Mazieres =
<dm-list-tcpcrypt@scs.stanford.edu>:
>=20
> "Mirja Kuehlewind (IETF)" <ietf@kuehlewind.net> writes:
>=20
>> I=E2=80=99m afraid we need a new revision before IETF Last Call =
because the
>> RFC should only specify the actually TCP option and not the
>> experimental one. So you can simply remove the experimental one in
>> Figure 1, 2 and 3 (as well as sec 4.8) and only note in the IANA
>> section that this experimental assignment also exists, as it is
>> already done.
>=20
> Thanks for the feedback.  Just to confirm, is this still what we =
should
> do after the discussion? =20

Yes, in any case we should not have both in the RFC. Given we are =
fostering deployment with the current version but just don=E2=80=99t =
have enough deployment experience yet to go for standards track, we will =
request the option number with IESG Approval. So please remove the =
experimental option from the spec and just note it in the IANA section.

> Or are there other things we need to add (like
> Joe's suggestion not to send both option types)?

That would be good, too; also in the IANA section probably.


Just to confirm this. All comments below are simply comments that came =
to my mind as I reviewed the whole document. The only other thing I =
really like to have sorted out before we go to IETF Last call, is the =
question which IANA policy is the correctly. All other of these changes =
are not required to move the document forward. However, as we update =
anyway, it=E2=80=99s probably good to add those things that help =
clarification. But that=E2=80=99s on you to decide!=20

>=20
>> 1) I would recommend to switch the last to paragraphs in section 4.5;
>> I think that helps understanding.
>=20
> Good idea, but requires a little wordsmithing.  Here is the proposed =
new
> language:
>=20
>        A passive opener (which is always host B) sees the remote =
host's
>        SYN segment before constructing its own SYN-ACK segment.  =
Hence,
>        a passive opener SHOULD include only one TEP identifier in
>        SYN-ACK segments and SHOULD ensure this TEP identifier is =
valid.
>        However, simultaneous open or implementation considerations can
>        prevent host B from offering only one TEP.
>=20
>        To accommodate scenarios in which host B sends multiple TEP
>        identifiers in the SYN-ACK segment, the _negotiated TEP_ is
>        defined as the last valid TEP identifier in host B's SYN-form
>        ENO option.  This definition means host B specifies TEP
>        suboptions in order of increasing priority, while host A does
>        not influence TEP priority.

Looks good!

>=20
>> 2) I=E2=80=99m wondering if it would make sense to specify at the =
beginning of
>> section 4.7 another requirement that TEPs SHOULD only specify the use
>> of SYN data if there is some a-priori knowledge that the other end is
>> likely to support tcp-eno and the tep (e.g. due to previous =
successful
>> connections aka session resumption, or application knowledge).
>=20
> This may be true for SYN-only segments, but doesn't necessarily hold =
for
> SYN-ACK.  To my mind, the requirement that "To avoid unexpected
> connection aborts, ENO implementations MUST disable the use of data in
> SYN-only segments by default" is both stronger and more specific than
> saying only with a-priori knowledge.  Essentially we are saying the
> application has to request it.

Okay, your are actually right that what I phrased above is probably =
rather something to notice for the application that will use a TEP than =
a requirement for the TEP itself.

> So for now I haven't done anything with this feedback.  Let me know if
> you have a more specific suggestion.

If you want to and if you think that would help clarity, you can notice =
that an application that has a-priori knowledge about the other end =
could be a good use case.

>=20
>> 3) Sec 4.8 does not really specify what to do with the transcript. I
>> guess that=E2=80=99s TEP specific but it sounds like there should be =
a
>> requirement stated that a TEP has to check this or abort the
>> connection=E2=80=A6?
>=20
> What to do with the transcript is highly TEP specific, but since every
> TEP will need to reference a transcript to comply with the =
requirements
> of section 5.1, it seemed simpler and less error prone to define one
> explicitly as part of TCP-ENO.  The connection doesn't need to be
> aborted, but the session IDs won't match.  Basically the transcript is
> required for the following point in section 5.1:
>=20
>  The session ID MUST depend in a collision-resistant way on all of
>  the following (meaning it is computationally infeasible to produce
>  collisions of the session ID derivation function unless all of the
>  following quantities are identical):
>    ...
>    * The negotiation transcript specified in 4.8.
>=20
> So for now I haven't done anything, but am open to more suggestions if
> you think this still needs to be fixed.

Okay, you are right that is actually covered. So it=E2=80=99s more an =
editorial issue because at the time you are reading section 4.8, you =
basically have no idea why this is needed (beside that it logically =
makes sense to have it). Maybe add a forward reference?

>=20
>> 4) sec 5:
>> s/TEPs MUST protect TCP data streams with authenticated =
encryption./TEPs MUST protect TCP data streams with unauthenticated =
encryption./ ? Or do you mean must support both, authenticated and =
unauthenticated?
>=20
> As David Black pointed out, the language was correct but maybe
> confusing.  Here is the new proposed language:
>=20
>  TEPs MUST protect TCP data streams with authenticated encryption.
>  (Note "authenticated encryption" designates the REQUIRED form
>  encryption algorithm [@RFC5116]; it does not imply any actual
>  endpoint authentication.)

Thanks. That was probably basically just me being not familiar enough =
with the terminology but adding this explanation certainly doesn=E2=80=99t=
 hurt.

>=20
>> 5) section 6: Maybe
>> OLD
>> "Figure 9 shows a three-way handshake with a successful TCP-ENO
>>  negotiation.  The two sides agree to follow the TEP identified by
>>  suboption Y.=E2=80=9C
>> NEW
>> "Figure 9 shows a three-way handshake with a successful TCP-ENO
>>  negotiation. Host A includes two ENO suboptions with TEP identifiers =
X and Y.=20
>>  The two sides agree to follow the TEP identified by suboption Y.=E2=80=
=9C=20
>=20
> Fixed.
>=20
>> 6) Also looking at the example in Figure 11, I have to say that the
>> spec does not clearly state anywhere that the first ACK has to have a
>> ENO option (it=E2=80=99s only mention implicitly somewhere). Maybe =
that can be
>> spelled out more clearly (in section 4.6)?
>=20
> This was the intent of the first sentence of section 4.6:
>=20
>        A host employing TCP-ENO for a connection MUST include an ENO
>        option in every TCP segment sent until either encryption is
>        disabled or the host receives a non-SYN segment.

Yes, this is covered. However, this is was not fully obvious to me when =
I was reading it, even though it=E2=80=99s the only logical way to read =
this. I guess it wouldn=E2=80=99t hurt to make it slight more clear, =
e.g. by saying

"A host employing TCP-ENO for a connection MUST include a (non-SYN) ENO
      option in every TCP segment sent until either encryption is
      disabled or the host receives a non-SYN segment, starting this the=20=

      first ACK of the TCP 3-way handshake.=E2=80=9C

Does that make sense?


>=20
> Rather than fiddle with 4.6, I propose clarifying section 6 as =
follows:
>=20
>        (1) A -> B:  SYN      ENO<X,Y>
>        (2) B -> A:  SYN-ACK  ENO<b=3D1,X> [ENO stripped by middlebox]
>        (3) A -> B:  ACK
>        [rest of connection unencrypted legacy TCP]
>=20
>        Figure 11: Failed TCP-ENO negotiation because of network =
filtering
>=20
>        Figure 11 Shows another handshake with a failed encryption
>        negotiation. In this case, the passive opener B receives an ENO
>        option from A and replies. However, the reverse network path
>        from B to A strips ENO options. Hence, A does not receive an =
ENO
>        option from B, disables ENO, and does not include a =
non-SYN-form
>        ENO option in segment 3 when ACKing B's SYN. Had A not disabled
>        encryption, Section 4.6 would have required it to include a
>        non-SYN ENO option in segment 3. The omission of this option
>        informs B that encryption negotiation has failed, after which
>        the two hosts proceed with unencrypted TCP.

Also good!

>=20
>> 7) Also based on this example. I guess it=E2=80=99s also possible =
that a
>> middlebox does not strip the options in the SYN packets but only in
>> the ACK. In this case host A would send encrypted data and host B
>> would think they are not encrypted and deliver garbage to the
>> application. I=E2=80=99m not sure how to avoid or even detect such a =
case but
>> maybe it=E2=80=99s still good to mention this somewhere=E2=80=A6?
>=20
> I propose addressing this in section 8, as follows:
>=20
>        Once TCP-ENO is deployed, we will be in a better position to
>        gather data on two types of failure:
>        ...
>        2. Middleboxes causing TCP-ENO connections to fail
>           completely. This can happen if middleboxes perform deep
>           packet inspection and start dropping segments that
>           unexpectedly contain ciphertext, or if middleboxes
>           inconsistently strip ENO options from packets in the same
>           direction.

I would even mention the case, where SYN Options are passed but non-SYN =
options are not, separately because in this case both hosts would have a =
different view if eno was negotiated or not. In this situation the host =
that believes that eno was negotiated should fail at some point and =
abort the connection because the crypto negotiation or, in case of =
resumption, decryption would fail. But in theory it can happen that the =
host that believe eno is not used, would deliver garbage data to the =
application. I think that=E2=80=99s the point that needs separate =
noting. Or am I misunderstanding something?

>=20
>> 8) section 7.2: The following is a normative requirement thats should =
be stated normatively (MUST) somewhere in the main part of the =
specification:
>> "To stay robust in the face of dropped segments, hosts must continue
>>  to include non-SYN form ENO options in segments until such point as
>>  they have received a non-SYN segment from the other side.=E2=80=9C
>=20
> I have deleted the word "must" from here.  Section 7 is not intended =
to
> be normative, but rather describe the rationale for having made this
> requirement elsewhere in the document.

Actually the word must is fine. I didn=E2=80=99t realize that this is =
already normatively stated in section 4.6. Maybe put a reference=E2=80=A6 =
or not.

>=20
>> 9) I would recommend to move 7.1 into an own section (not as part of
>> section 7 on rational), or maybe rather as a subsection of section 8.
>=20
> Is this because you thought section 7.1 was trying to establish
> normative requirements? =20

No, it just that I think =E2=80=9Afuture development=E2=80=98 are not =
=E2=80=9Adesign rationales=E2=80=98. This comment is fully editorial =
though. The content is fine. I just think it be a better fit in section =
8.

> A lot of those details were previously more
> closely intermingled with the specification, which the working group =
did
> not like.  Now that we've got those points separated out into section =
7
> but still part of the document, I think it reads more cleanly.  Hence,
> my inclination would be to leave 7.1 as is (other than deleting =
"must"),
> but if you want to elaborate on why it should be moved, you can =
probably
> change my mind.
>=20
>> 10) =46rom reading the text in the IANA section, I believe you rather
>> what =E2=80=9ERFC required=E2=80=9C as a policy (see
>> https://tools.ietf.org/html/rfc8126#section-4.7). Early allocation =
are
>> always possible and does not need to be noted separately (see
>> https://tools.ietf.org/html/rfc8126#section-3.4).
>=20
> The specification required was intentional, because we wanted to avoid
> the same chicken-and-egg problem caused by the need for a TCP option.
> Since the point of TCP-ENO is to make it significantly easier to =
develop
> future TEPs than it would be to develop TCP encryption schemes from
> scratch, and since the TCP option for tcpcrypt and TCP-ENO caused a =
fair
> amount of friction in the TCPINC working group, I feel reasonably
> strongly that it would be best to give out TEP identifiers well in
> advance of RFC publication, provided there is a plausible draft
> specification.

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

Also I assume your intention here is that you still want to have an RFC =
at the end. If you go for =E2=80=9ESpecification required=E2=80=9C any =
kind of spec would be accepted and it doesn=E2=80=99t have to be an RFC. =
Therefor =E2=80=9ERFC Required=E2=80=9C would be better.

Also, as I said it is not necessary to note explicitly that early =
allocation is possible (because that=E2=80=99s always possible), but you =
can still make a point that people are encourage to ask for early =
allocation (at wg adoption time?).

>=20
> My strong preference would thus be to leave things as is, but of =
course
> in the end I would defer to you if based on your experience you really
> think it needs to be RFC required.

Again, if I understand your intention correctly, the right policy still =
seems to be =E2=80=9ERFC required=E2=80=9C. Btw. RFC required does not =
mean IETF consensus required. This can also be an IRTF stream or ISE =
stream publication. (If you would like IETF consensus for the RFCs, the =
right policy would be =E2=80=9EIETF Rewiew=E2=80=9C; check RFC 8126 for =
more details).

>=20
>> 11) Do you want to specially note Andrea=E2=80=99s contribution to =
this work
>> in the acknowledgements?
>=20
> Hmm... we definitely want to leave Andrea as first author the same as =
if
> he hadn't died, reflecting the fact that he was the main person behind
> the work.  If we put anything in the acknowledgments, it could =
diminish
> his contributions by emphasizing the fact that other people had to
> "finish" the document, when really what we are doing at this point is
> just tiny little cleanups.

Yes, he definitely is and should stay the main author! However, you can =
even say exactly this (he did all the work and others where just =
wrapping up) in the acknowledgments! I=E2=80=99m mainly saying that it =
is not uncommon to saying something in the acknowledgements, so please =
feel free to add whatever you think is appropriate and would underline =
his mayor contribution he provided!

>=20
>> 12) RFC5226 (now RFC8126), RFC6994 (after removing the exp option =
from
>> the body of the doc), and RFC7413 do not need to be normative
>> references. Please move to informative.
>=20
> Fixed.
>=20
>> 12) Finally, two tiny things from the nits check:
>> =
https://www.ietf.org/tools/idnits?url=3Dhttps://www.ietf.org/archive/id/dr=
aft-ietf-tcpinc-tcpeno-08.txt
>> - There shouldn=E2=80=99t be reference in the abstract. You can just =
remove it; TLS is well known. You may want to add it in section 7.1 =
instead.
>> - RFC 5226 is obsolete
>> Both could be fixed by the editor but as you anyway have to make a =
new revision, so you can fix these as well.
>=20
> Both fixed.
>=20
> If you just confirm what to do about the TCP option kinds and =
obviously
> voice any objections to my proposed fixes above, we can get a new =
draft
> uploaded soon.

Great! Please also check Joe=E2=80=99s comments on SYN data. There might =
be another few things to note to improve clarity on the usage.=20

Let me know if you have any more questions!

Thanks!
Mirja


>=20
> Thanks,
> David


From nobody Fri Jul 28 08:59:05 2017
Return-Path: <krose@krose.org>
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 4AFDA131C3B for <tcpinc@ietfa.amsl.com>; Fri, 28 Jul 2017 08:59:03 -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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=krose.org
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 ZVvBHJNvjoUx for <tcpinc@ietfa.amsl.com>; Fri, 28 Jul 2017 08:58:58 -0700 (PDT)
Received: from mail-qt0-x229.google.com (mail-qt0-x229.google.com [IPv6:2607:f8b0:400d:c0d::229]) (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 DC4CE127869 for <tcpinc@ietf.org>; Fri, 28 Jul 2017 08:58:57 -0700 (PDT)
Received: by mail-qt0-x229.google.com with SMTP id a18so63053847qta.0 for <tcpinc@ietf.org>; Fri, 28 Jul 2017 08:58:57 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=krose.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=isnP94uhpr7RIzmQ8Pl5T8Z2/j6BwYPjoHgPF+8tpGM=; b=dRHaqsdsC2X7p3lJLY4DodxkS9awijhvSvTPdhhd3/ib8zMN8KeiayqjA1UJjeo9en He0bK2nWuy7ndp5sDy8BDVa1iUTF/YyOjN6TLA2NpZ6PtpqXvw1vUzs/xE+yrK7bF0cO QYY+D99iHKOG0Gxe+TXLsvhe6S8D3ojBmhHYg=
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=isnP94uhpr7RIzmQ8Pl5T8Z2/j6BwYPjoHgPF+8tpGM=; b=SdYth/VszeSM7GyVphgCrWDjRbxa4S8PghBXns7/yGqu9JjCGZiMnR7RJ1flux8bvV idtWjZxsuFPv24dX3wqcUR2vO5vOYWnhi+9MN3SDPN70YTG47se9HCbHxpnvZms1UNGB bHtZSQkUDUFixc6WYSyRD0d07Ka46rtH53z6Q2c5otp2Ik3AwNSuojW7u+5oLFdstqZD XHwDGVy1UDMZ07UO6N5KXo6SpDlaLbo9P3v4WovSCFWjFsaMikZ1b6l1WI5vq/Vbf9Pl 9hI7yRXdUDvlhYxepdVRtYh7BVmsXyehI07q/cctg2cDo0cXE6tdVWE/7FFVCR2ekoDA 03cQ==
X-Gm-Message-State: AIVw110K6NP8yZx5y++u0m85MsAvtHvZJK9eJcAKH5Sg5WeY/NGGam3m 9nW1Qkh+iYQLrEfwTUgUW+uiPCxLO9C1
X-Received: by 10.200.39.100 with SMTP id h33mr11749318qth.62.1501257536917; Fri, 28 Jul 2017 08:58:56 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.55.188.68 with HTTP; Fri, 28 Jul 2017 08:58:55 -0700 (PDT)
X-Originating-IP: [72.246.0.14]
In-Reply-To: <36738439-CAEC-4694-87EF-00EC91426D9C@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>
From: Kyle Rose <krose@krose.org>
Date: Fri, 28 Jul 2017 11:58:55 -0400
Message-ID: <CAJU8_nUEeuHFJrTUGfAwFc5fzRiFksttBdZfEYeNHAAfbOZcVQ@mail.gmail.com>
To: "Mirja Kuehlewind (IETF)" <ietf@kuehlewind.net>
Cc: David Mazieres expires 2017-10-25 PDT <mazieres-jcdqn4cj29iym4ysariezfidys@temporary-address.scs.stanford.edu>,  draft-ietf-tcpinc-tcpeno.all@ietf.org, tcpinc <tcpinc@ietf.org>
Content-Type: multipart/alternative; boundary="001a11403a5234663a055562c272"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpinc/YCa16u6teUZJaYM5wES8RHnZfHc>
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, 28 Jul 2017 15:59:03 -0000

--001a11403a5234663a055562c272
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

It seems we've mostly hit on what needs to be done for the next draft, but
I wanted to address one item:

On Fri, Jul 28, 2017 at 9:12 AM, Mirja Kuehlewind (IETF) <
ietf@kuehlewind.net> wrote:

> > Since the point of TCP-ENO is to make it significantly easier to develo=
p
> > future TEPs than it would be to develop TCP encryption schemes from
> > scratch, and since the TCP option for tcpcrypt and TCP-ENO caused a fai=
r
> > amount of friction in the TCPINC working group, I feel reasonably
> > strongly that it would be best to give out TEP identifiers well in
> > advance of RFC publication, provided there is a plausible draft
> > specification.
>
> 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, i=
t
> was probably not necessary.
>
> Also I assume your intention here is that you still want to have an RFC a=
t
> the end. If you go for =E2=80=9ESpecification required=E2=80=9C any kind =
of spec would be
> accepted and it doesn=E2=80=99t have to be an RFC. Therefor =E2=80=9ERFC =
Required=E2=80=9C would be
> better.
>
> Also, as I said it is not necessary to note explicitly that early
> allocation is possible (because that=E2=80=99s always possible), but you =
can still
> make a point that people are encourage to ask for early allocation (at wg
> adoption time?).
>

Does it make sense to allocate a few TEP IDs (e.g., 0x7c-0x7f) as explicit
"for testing purposes: not for production use" IDs that implementors can
use in testing? Another alternative is an explicit ExID-like mechanism, but
that seems far too heavy-weight for something like ENO. A range like this
would at least offer implementors a no-effort way to do their own
development and testing without poisoning other TEP IDs.

Kyle

--001a11403a5234663a055562c272
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">It seems we&#39;ve mostly hit on what needs to be done for=
 the next draft, but I wanted to address one item:<br><div><div><div class=
=3D"gmail_extra"><br><div class=3D"gmail_quote">On Fri, Jul 28, 2017 at 9:1=
2 AM, Mirja Kuehlewind (IETF) <span dir=3D"ltr">&lt;<a href=3D"mailto:ietf@=
kuehlewind.net" target=3D"_blank">ietf@kuehlewind.net</a>&gt;</span> wrote:=
<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-lef=
t:1px #ccc solid;padding-left:1ex"><span class=3D"">&gt; Since the point of=
 TCP-ENO is to make it significantly easier to develop<br>
&gt; future TEPs than it would be to develop TCP encryption schemes from<br=
>
&gt; scratch, and since the TCP option for tcpcrypt and TCP-ENO caused a fa=
ir<br>
&gt; amount of friction in the TCPINC working group, I feel reasonably<br>
&gt; strongly that it would be best to give out TEP identifiers well in<br>
&gt; advance of RFC publication, provided there is a plausible draft<br>
&gt; specification.<br>
<br>
</span>This is what early allocation is for. We could have also asked for e=
arly allocation for tcpinc as soon as the spec was reasonably stable but gi=
ven there was no-one who was actually about to deploy this in the Internet,=
 it was probably not necessary.<br>
<br>
Also I assume your intention here is that you still want to have an RFC at =
the end. If you go for =E2=80=9ESpecification required=E2=80=9C any kind of=
 spec would be accepted and it doesn=E2=80=99t have to be an RFC. Therefor =
=E2=80=9ERFC Required=E2=80=9C would be better.<br>
<br>
Also, as I said it is not necessary to note explicitly that early allocatio=
n is possible (because that=E2=80=99s always possible), but you can still m=
ake a point that people are encourage to ask for early allocation (at wg ad=
option time?).<br></blockquote><div><br></div><div>Does it make sense to al=
locate a few TEP IDs (e.g., 0x7c-0x7f) as explicit &quot;for testing purpos=
es: not for production use&quot; IDs that implementors can use in testing? =
Another alternative is an explicit ExID-like mechanism, but that seems far =
too heavy-weight for something like ENO. A range like this would at least o=
ffer implementors a no-effort way to do their own development and testing w=
ithout poisoning other TEP IDs.<br></div><span class=3D""><br></span></div>=
<div class=3D"gmail_quote"><span class=3D"">Kyle<br></span></div></div></di=
v></div></div>

--001a11403a5234663a055562c272--


From nobody Fri Jul 28 12:35:59 2017
Return-Path: <krose@krose.org>
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 AD0181322FF for <tcpinc@ietfa.amsl.com>; Fri, 28 Jul 2017 12:35:57 -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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=krose.org
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 0ZY_AIlIQc5v for <tcpinc@ietfa.amsl.com>; Fri, 28 Jul 2017 12:35:55 -0700 (PDT)
Received: from mail-qt0-x229.google.com (mail-qt0-x229.google.com [IPv6:2607:f8b0:400d:c0d::229]) (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 7460E132302 for <tcpinc@ietf.org>; Fri, 28 Jul 2017 12:35:40 -0700 (PDT)
Received: by mail-qt0-x229.google.com with SMTP id t37so88763577qtg.5 for <tcpinc@ietf.org>; Fri, 28 Jul 2017 12:35:40 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=krose.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=kjI18YHpUPtebd2Gr5IcjooS8/nHEExgeN0JgRmvg0o=; b=eYwzr7Y/db7hEYFX5tkQDTXitgvlJJs78Wxn2c05a8qyzIiPBYXIOQ4uZGVZTllL2F HKJzI2d8a6SdPSEPY4mXUzYbq0J7Dx1Ff5LU6z0Qj1nZZ3sr7qmA7M74Up9taP4Plful G4OrP172xhndHe0hr4tDyPoPaMRMfBF9MLBp4=
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=kjI18YHpUPtebd2Gr5IcjooS8/nHEExgeN0JgRmvg0o=; b=rp54BrVlJwZmoGd4IHLJ0LFWjfhQTy2T74g9QZyOtslpQXhozNzCoh7RMIuRsl5VgF q2zro/ViDC9cI4XrET9H+YhLnI/tCO9VNjenZlBz/B9kc4og/WAKt/8Puox4Ahqys2b0 1wsHsDMSaV11a4Jw3fRqgRF/IlOIoyCe23LTlMbczWQHQ5uFPwzcMweymfddBs4xWd9q q/Qpd19/uSlQJ8uu37hGgH+G3A2KzqGk2baI5sf+pmmfIDcabYDQ8qWr/kzzXNSDqBJg 5Vnne/hkNnYf/AvUF3BKV/M97FP0ebzxGhKLavFQ4RLF7ZCluGmq0f0LWUgPHP4j/wG8 UMYA==
X-Gm-Message-State: AIVw1138WfS/OJVdMRtEg8myS2iykdyDbU609wKxxQfiR0150eXiEwO9 cpYZkwqt5knJ4h7a2OfWOE6UywZ0mKRf
X-Received: by 10.200.37.193 with SMTP id f1mr12330878qtf.264.1501270539419; Fri, 28 Jul 2017 12:35:39 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.55.188.68 with HTTP; Fri, 28 Jul 2017 12:35:38 -0700 (PDT)
X-Originating-IP: [72.246.0.14]
In-Reply-To: <87d18kh1e1.fsf@ta.scs.stanford.edu>
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> <CAJU8_nUEeuHFJrTUGfAwFc5fzRiFksttBdZfEYeNHAAfbOZcVQ@mail.gmail.com> <87d18kh1e1.fsf@ta.scs.stanford.edu>
From: Kyle Rose <krose@krose.org>
Date: Fri, 28 Jul 2017 15:35:38 -0400
Message-ID: <CAJU8_nUnS_CE7ZuzF4QFuAYhtZuhW9e-97JJ7qonabmX4Spa5g@mail.gmail.com>
To: David Mazieres expires 2017-10-26 PDT <mazieres-hkr368w4zui4mjeudmqpx3r892@temporary-address.scs.stanford.edu>
Cc: "Mirja Kuehlewind (IETF)" <ietf@kuehlewind.net>, draft-ietf-tcpinc-tcpeno.all@ietf.org, tcpinc <tcpinc@ietf.org>
Content-Type: multipart/alternative; boundary="001a11404d0a36d723055565c958"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpinc/_2ksFNDZUW5CaWg0X8DoSAeymTY>
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, 28 Jul 2017 19:35:58 -0000

--001a11404d0a36d723055565c958
Content-Type: text/plain; charset="UTF-8"

On Fri, Jul 28, 2017 at 2:17 PM, David Mazieres expires 2017-10-26 PDT <
mazieres-hkr368w4zui4mjeudmqpx3r892@temporary-address.scs.stanford.edu>
wrote:

> Kyle Rose <krose@krose.org> writes:
>
> > Does it make sense to allocate a few TEP IDs (e.g., 0x7c-0x7f) as
> explicit
> > "for testing purposes: not for production use" IDs that implementors can
> > use in testing? Another alternative is an explicit ExID-like mechanism,
> but
> > that seems far too heavy-weight for something like ENO. A range like this
> > would at least offer implementors a no-effort way to do their own
> > development and testing without poisoning other TEP IDs.
>
> The document already reserves 0x20 for experimental use.


Evidently, I must have glossed over that entry in table 2 a half-dozen
times over the past two years. Heh. I think we're good on that point.


>   I'm a little
> hesitant to go allocating the top end of the space, because in the
> unlikely event that ENO is so successful we project running out of code
> points, we might want to use the low two bits of 0x7c-0x7f or 0x78-0x7f
> as the first three bits of a 10- or 11-bit extended TEP Id.


Hopefully that's a lot of crypto evolution away. Certainly, if we make the
standard "RFC", then many documents would likely have to be published
before we were in danger of exhausting this space.


> Is one
> experimental TEP ID not enough?
>

I was thinking of implementors developing multiple TEPs simultaneously,
like you did with both of the NIST curves. Is this realistic? I don't know.
Will it be confusing to have two separate experimental ID spaces? Possibly.
Can implementors just encode their algorithm choices as suboption data?
Yes. So it's probably not a big deal.


> The intention with 0x20 is eventually to specify an ExID-like mechanism,
> but I think maybe we felt it was premature to do so in this document.
> We could also add vaguer language about how users of 0x20 should start
> options with two or more identifier bytes to leave open the possibility
> of interoperating with other experiments.
>

Without a registry of TEP ExIDs, conflicts between experimental TEPs are
likely to happen if this mechanism takes off and those experiments are
deployed on the public internet. Does it matter if it's just an experiment?
Possibly, if the TEP designer decides they need test results at scale
before even approaching the IETF. Maybe the guidance in this doc should be
for the first two bytes of the 0x20 suboption data to be 00 00, which
leaves us room in the future to create a TEP ExID standard with the hope
that the other 65535 values are unused.

Kyle

--001a11404d0a36d723055565c958
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Fri, Jul 28, 2017 at 2:17 PM, David Mazieres expires 2017-10-26 PDT =
<span dir=3D"ltr">&lt;<a href=3D"mailto:mazieres-hkr368w4zui4mjeudmqpx3r892=
@temporary-address.scs.stanford.edu" target=3D"_blank">mazieres-hkr368w4zui=
4mjeudmqpx3r892@temporary-address.scs.stanford.edu</a>&gt;</span> wrote:<br=
><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border=
-left:1px solid rgb(204,204,204);padding-left:1ex"><span class=3D"gmail-">K=
yle Rose &lt;<a href=3D"mailto:krose@krose.org">krose@krose.org</a>&gt; wri=
tes:<br>
<br>
&gt; Does it make sense to allocate a few TEP IDs (e.g., 0x7c-0x7f) as expl=
icit<br>
&gt; &quot;for testing purposes: not for production use&quot; IDs that impl=
ementors can<br>
&gt; use in testing? Another alternative is an explicit ExID-like mechanism=
, but<br>
&gt; that seems far too heavy-weight for something like ENO. A range like t=
his<br>
&gt; would at least offer implementors a no-effort way to do their own<br>
&gt; development and testing without poisoning other TEP IDs.<br>
<br>
</span>The document already reserves 0x20 for experimental use.</blockquote=
><div><br></div><div>Evidently, I must have glossed over that entry in tabl=
e 2 a half-dozen times over the past two years. Heh. I think we&#39;re good=
 on that point.<br></div><div>=C2=A0</div><blockquote class=3D"gmail_quote"=
 style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);p=
adding-left:1ex">=C2=A0 I&#39;m a little<br>
hesitant to go allocating the top end of the space, because in the<br>
unlikely event that ENO is so successful we project running out of code<br>
points, we might want to use the low two bits of 0x7c-0x7f or 0x78-0x7f<br>
as the first three bits of a 10- or 11-bit extended TEP Id.</blockquote><di=
v><br></div><div>Hopefully that&#39;s a lot of crypto evolution away. Certa=
inly, if we make the standard &quot;RFC&quot;, then many documents would li=
kely have to be published before we were in danger of exhausting this space=
.<br></div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"marg=
in:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1e=
x">Is one<br>
experimental TEP ID not enough?<br></blockquote><div><div><br>I was thinkin=
g of implementors=20
developing multiple TEPs simultaneously, like you did with both of the=20
NIST curves. Is this realistic? I don&#39;t know. Will it be confusing to h=
ave two separate experimental ID spaces? Possibly. Can implementors just en=
code their algorithm choices as suboption data? Yes. So it&#39;s probably n=
ot a big deal.<br></div>=C2=A0<br></div><blockquote class=3D"gmail_quote" s=
tyle=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);pad=
ding-left:1ex">
The intention with 0x20 is eventually to specify an ExID-like mechanism,<br=
>
but I think maybe we felt it was premature to do so in this document.<br>
We could also add vaguer language about how users of 0x20 should start<br>
options with two or more identifier bytes to leave open the possibility<br>
of interoperating with other experiments.<br></blockquote><div><br></div>Wi=
thout a registry of TEP ExIDs, conflicts between experimental TEPs are like=
ly to happen if this mechanism takes off and those experiments are deployed=
 on the public internet. Does it matter if it&#39;s just an experiment? Pos=
sibly, if the TEP designer decides they need test results at scale before e=
ven approaching the IETF. Maybe the guidance in this doc should be for the =
first two bytes of the 0x20 suboption data to be 00 00, which leaves us roo=
m in the future to create a TEP ExID standard with the hope that the other =
65535 values are unused.<br></div><br></div><div class=3D"gmail_extra">Kyle=
<br></div></div>

--001a11404d0a36d723055565c958--


From nobody Fri Jul 28 13:21:52 2017
Return-Path: <dm-list-tcpcrypt@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 E52AC12EA7C; Fri, 28 Jul 2017 13:21:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HK_RANDOM_ENVFROM=0.001, HK_RANDOM_FROM=0.001, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=no 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 fmzxOxYIX1Pl; Fri, 28 Jul 2017 13:21:50 -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 9EE55131C91; Fri, 28 Jul 2017 13:21:50 -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 v6SKLonj002683; Fri, 28 Jul 2017 13:21:50 -0700 (PDT)
Received: (from dm@localhost) by market.scs.stanford.edu (8.15.2/8.15.2/Submit) id v6SKLonP063757; Fri, 28 Jul 2017 13:21:50 -0700 (PDT)
From: David Mazieres <dm-list-tcpcrypt@scs.stanford.edu>
To: Kyle Rose <krose@krose.org>, "Mirja Kuehlewind \(IETF\)" <ietf@kuehlewind.net>
Cc: draft-ietf-tcpinc-tcpeno.all@ietf.org, tcpinc <tcpinc@ietf.org>
In-Reply-To: <CAJU8_nUEeuHFJrTUGfAwFc5fzRiFksttBdZfEYeNHAAfbOZcVQ@mail.gmail.com>
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> <CAJU8_nUEeuHFJrTUGfAwFc5fzRiFksttBdZfEYeNHAAfbOZcVQ@mail.gmail.com>
Date: Fri, 28 Jul 2017 13:21:50 -0700
Message-ID: <87tw1w2ty9.fsf@ta.scs.stanford.edu>
MIME-Version: 1.0
Content-Type: text/plain
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpinc/-ifHej3xOWkykuV1KMVXdqhKmpc>
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, 28 Jul 2017 20:21:52 -0000

Kyle Rose <krose@krose.org> writes:

> Does it make sense to allocate a few TEP IDs (e.g., 0x7c-0x7f) as explicit
> "for testing purposes: not for production use" IDs that implementors can
> use in testing? Another alternative is an explicit ExID-like mechanism, but
> that seems far too heavy-weight for something like ENO. A range like this
> would at least offer implementors a no-effort way to do their own
> development and testing without poisoning other TEP IDs.

The document already reserves 0x20 for experimental use.  I'm a little
hesitant to go allocating the top end of the space, because in the
unlikely event that ENO is so successful we project running out of code
points, we might want to use the low two bits of 0x7c-0x7f or 0x78-0x7f
as the first three bits of a 10- or 11-bit extended TEP Id.  Is one
experimental TEP ID not enough?

The intention with 0x20 is eventually to specify an ExID-like mechanism,
but I think maybe we felt it was premature to do so in this document.
We could also add vaguer language about how users of 0x20 should start
options with two or more identifier bytes to leave open the possibility
of interoperating with other experiments.

David


From nobody Fri Jul 28 13:22:44 2017
Return-Path: <dm-list-tcpcrypt@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 2D944131C91; Fri, 28 Jul 2017 13:22:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HK_RANDOM_ENVFROM=0.001, HK_RANDOM_FROM=0.001, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=no 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 PHNtJbLJEDlz; Fri, 28 Jul 2017 13:22:41 -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 01E1B12ECF0; Fri, 28 Jul 2017 13:22:40 -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 v6SKMehC021229; Fri, 28 Jul 2017 13:22:40 -0700 (PDT)
Received: (from dm@localhost) by market.scs.stanford.edu (8.15.2/8.15.2/Submit) id v6SKMe5R099229; Fri, 28 Jul 2017 13:22:40 -0700 (PDT)
From: David Mazieres <dm-list-tcpcrypt@scs.stanford.edu>
To: "Mirja Kuehlewind \(IETF\)" <ietf@kuehlewind.net>
Cc: draft-ietf-tcpinc-tcpeno.all@ietf.org, tcpinc <tcpinc@ietf.org>
In-Reply-To: <36738439-CAEC-4694-87EF-00EC91426D9C@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>
Date: Fri, 28 Jul 2017 13:22:40 -0700
Message-ID: <87shhg2twv.fsf@ta.scs.stanford.edu>
MIME-Version: 1.0
Content-Type: text/plain
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpinc/9UbJ_nSDPWcS9y_ja3mE-5-GMT8>
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, 28 Jul 2017 20:22:42 -0000

"Mirja Kuehlewind (IETF)" <ietf@kuehlewind.net> writes:

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

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:

       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.

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

Basically I want something in this document to make it clearly easier to
get ENO TEP IDs than TCP option kinds.


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:

        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.

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.

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?

Thanks,
David


From nobody Fri Jul 28 13:56:55 2017
Return-Path: <David.Black@dell.com>
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 C7A15131B3F; Fri, 28 Jul 2017 13:56:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.501
X-Spam-Level: 
X-Spam-Status: No, score=-5.501 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-2.8, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=dell.com header.b=hjgAEf0B; dkim=fail (1024-bit key) reason="fail (message has been altered)" header.d=emc.com header.b=nUZfuxFA
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 CRJXKxceejtT; Fri, 28 Jul 2017 13:56:51 -0700 (PDT)
Received: from esa6.dell-outbound.iphmx.com (esa6.dell-outbound.iphmx.com [68.232.149.229]) (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 7366A12EC51; Fri, 28 Jul 2017 13:56:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=dell.com; i=@dell.com; q=dns/txt; s=smtpout; t=1501275411; x=1532811411; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=bsxt0mEUp1bUIoNxfhRuFWAwhrKmzzvtonDt6a/LZaY=; b=hjgAEf0BuEF/FQBOhqMHaWLM/Gscoy6MB/yG56ZFwAazx2mnyj1eeoqz F/iUs2bCD7hmpfbfDQvXWXJUyTDUrR6oA+8LmUgxwvClAYooMzIGbjrwT BgIr8HmpzNlys4NQYbTAAlyObN/6VZI7j7x76GmII/w7g1pGsU347xqbT o=;
Received: from esa3.dell-outbound2.iphmx.com ([68.232.154.63]) by esa6.dell-outbound.iphmx.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Jul 2017 15:56:50 -0500
From: "Black, David" <David.Black@dell.com>
Received: from mailuogwdur.emc.com ([128.221.224.79]) by esa3.dell-outbound2.iphmx.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 Jul 2017 02:46:12 +0600
Received: from maildlpprd51.lss.emc.com (maildlpprd51.lss.emc.com [10.106.48.155]) by mailuogwprd53.lss.emc.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.0) with ESMTP id v6SKumn3028343 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 28 Jul 2017 16:56:49 -0400
X-DKIM: OpenDKIM Filter v2.4.3 mailuogwprd53.lss.emc.com v6SKumn3028343
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=emc.com; s=jan2013; t=1501275409; bh=u9FALmKjDsOMbh3EUGlzkO/yXo8=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:Content-Transfer-Encoding:MIME-Version; b=nUZfuxFAsmF5ZrXi5wiAztco/YfApXQ6fiTvdWHgvjq3ZxvaL5GAsCO5ovzVuPIKw 1FS8TRGCeuabQ1bommycDO1CsgrpcOYr9RptV1apIm7i6UnYVO17qOUXBcNhp1zluW LvTkx+sg/VtmwWbB5NOjGTs1ZSHD/6vXerEMv18A=
X-DKIM: OpenDKIM Filter v2.4.3 mailuogwprd53.lss.emc.com v6SKumn3028343
Received: from mailusrhubprd03.lss.emc.com (mailusrhubprd03.lss.emc.com [10.253.24.21]) by maildlpprd51.lss.emc.com (RSA Interceptor); Fri, 28 Jul 2017 16:56:22 -0400
Received: from MXHUB321.corp.emc.com (MXHUB321.corp.emc.com [10.146.3.99]) by mailusrhubprd03.lss.emc.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.0) with ESMTP id v6SKubOn007379 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=FAIL); Fri, 28 Jul 2017 16:56:38 -0400
Received: from MX307CL04.corp.emc.com ([fe80::849f:5da2:11b:4385]) by MXHUB321.corp.emc.com ([10.146.3.99]) with mapi id 14.03.0352.000; Fri, 28 Jul 2017 16:56:37 -0400
To: David Mazieres <dm-list-tcpcrypt@scs.stanford.edu>, "Mirja Kuehlewind (IETF)" <ietf@kuehlewind.net>
CC: "draft-ietf-tcpinc-tcpeno.all@ietf.org" <draft-ietf-tcpinc-tcpeno.all@ietf.org>, tcpinc <tcpinc@ietf.org>
Thread-Topic: [tcpinc] AD review of tcp-eno
Thread-Index: AQHTBjGr9NIWBVpYBEqO6/K8LwyL/qJn60YAgAB5YICAARhPgIAAeDoA///FflA=
Date: Fri, 28 Jul 2017 20:56:37 +0000
Message-ID: <CE03DB3D7B45C245BCA0D243277949362FB9D17F@MX307CL04.corp.emc.com>
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>
In-Reply-To: <87shhg2twv.fsf@ta.scs.stanford.edu>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.238.44.127]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Sentrion-Hostname: mailusrhubprd03.lss.emc.com
X-RSA-Classifications: public
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpinc/nTfTbw-KV7T86vebffUvuYb0URM>
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, 28 Jul 2017 20:56:54 -0000

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

This is not an actual problem, as the restriction is that one is not suppos=
ed to *normatively* cite an Internet-Draft in an RFC unless that draft is e=
xpected to become an RFC soon, otherwise the RFC-to-be spends a long time a=
t the RFC Editor waiting for the normatively referenced draft to catch up t=
o it (I've been there, done that).

Citing an Internet-Draft *informatively* is not a problem, will not cause a=
ny delays, and seems appropriate for this situation.

Thanks, --David


> -----Original Message-----
> From: Tcpinc [mailto:tcpinc-bounces@ietf.org] On Behalf Of David Mazieres
> Sent: Friday, July 28, 2017 4:23 PM
> To: Mirja Kuehlewind (IETF) <ietf@kuehlewind.net>
> Cc: draft-ietf-tcpinc-tcpeno.all@ietf.org; tcpinc <tcpinc@ietf.org>
> Subject: Re: [tcpinc] AD review of tcp-eno
>=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
> So I like the fact that the specification required allows early
> allocation *if* an RFC is anticipated.
>=20
> Basically I want something in this document to make it clearly easier to
> get ENO TEP IDs than TCP option kinds.
>=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
> 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
> Thanks,
> David
>=20
> _______________________________________________
> Tcpinc mailing list
> Tcpinc@ietf.org
> https://www.ietf.org/mailman/listinfo/tcpinc


From nobody Fri Jul 28 15:24:56 2017
Return-Path: <krose@krose.org>
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 24DF2131E67 for <tcpinc@ietfa.amsl.com>; Fri, 28 Jul 2017 15:24:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.701
X-Spam-Level: 
X-Spam-Status: No, score=-2.701 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=krose.org
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 uev0B4qZRkor for <tcpinc@ietfa.amsl.com>; Fri, 28 Jul 2017 15:24:52 -0700 (PDT)
Received: from mail-qk0-x22b.google.com (mail-qk0-x22b.google.com [IPv6:2607:f8b0:400d:c09::22b]) (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 DD09C131761 for <tcpinc@ietf.org>; Fri, 28 Jul 2017 15:24:50 -0700 (PDT)
Received: by mail-qk0-x22b.google.com with SMTP id d145so119812152qkc.2 for <tcpinc@ietf.org>; Fri, 28 Jul 2017 15:24:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=krose.org; s=google; h=mime-version:from:date:message-id:subject:to; bh=GY5dKcONNJCOKV7zpi+8FNxCTSO/2zL/n+gu60kuHEI=; b=nEETrhNeH+fRd/ao0pqTsvqvumn2RO0S9Fct8oQ5aeh53/omkqW9C6BRXrYS6TWXsU A1nswA355Fm4InGd+iCKXKsoIVdfr5keUwWiZxtD03nJAFpwH+CO0vSM3jd87LkzSEKm 6AxLpGoWSaeK2f4bTt4dvTUxw9zUaBRtWzUaw=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=GY5dKcONNJCOKV7zpi+8FNxCTSO/2zL/n+gu60kuHEI=; b=LBLaPHPIA07KYAcQ6d/k9X1tbAqoSHOQ4NJO1YwtSVr7a0GA5PEsRHEdXqtvRr5kdJ L7lrk3qxRbCKloBDarfFNfoBsQg+DpqPIXZgkT+yryWf0+1jM6P/AKvFakDRDbciRdxv WGV9hVj7QgmLJLOqi2CiB3pa9I9pBgaVBylbK5yORrhby5sz6Vek3lIUDYzfXQ6caCg+ LcKjS4QnHxOV4s7VLyydgM0PXYXTXKLoXPKfhKXQqaZdHaQxE4z05I1UlDgcV4elWbpX AKfchTe53xAR9iZVRkVeNdIon84SHsS5w+eICt7/tpJn4gXRTzwpOk4nFfueWCD3stqu ZGRg==
X-Gm-Message-State: AIVw1118jmkMeIbYXObheyGd1OMeXC/5hUZXS83EpYOJQyHXJTDuPrjJ lgcEGD9VqhaOb/hyd9yEwQRg9uP7wJkRjOFUsA==
X-Received: by 10.55.113.67 with SMTP id m64mr1655517qkc.227.1501280689683; Fri, 28 Jul 2017 15:24:49 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.55.188.68 with HTTP; Fri, 28 Jul 2017 15:24:49 -0700 (PDT)
X-Originating-IP: [72.246.0.14]
From: Kyle Rose <krose@krose.org>
Date: Fri, 28 Jul 2017 18:24:49 -0400
Message-ID: <CAJU8_nW_SLVBHvnELTq_vWVN+TtFh6hmST-O2+MQSyA19=5pyw@mail.gmail.com>
To: tcpinc <tcpinc@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpinc/JY0Ql2kXTmUs4q-yXZH3IA-b8zM>
Subject: [tcpinc] Review of draft-ietf-tcpinc-api-03
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, 28 Jul 2017 22:24:54 -0000

(Keepalive before list timeout.)

This is a review of draft-ietf-tcpinc-api-03. Chair hat off.

Overall, I think the doc is informative. I want to echo some
discussion from long ago (maybe in Berlin or even earlier?) re: the
abstractness of the API. In particular, section 4 begins:

q( The previous sections presented abstract APIs )

when they feel remarkably concrete in some ways: everything from
C_STYLE_CONSTANTS_IN_UPPERCASE_WITH_UNDERSCORES to suggestions about
the representation of bad ports. IIRC, one complaint was that an API
like this feels too concrete for the IETF, but is nowhere near precise
enough for POSIX. I agree with that assessment.

That said, there is a lot of value here, so I'm happy with something
that is basically socket API pseudocode because it's clear to anyone
who familiar with the Berkeley sockets API, which is most people who
write networking software. I don't know if that will be okay with the
IESG. Maybe Mirja can chime in on that.

For the following I'm going to assume we're okay with this
presentation style. On to the show. By section:

1:

* Not sure what versions "(and perhaps versions)" refers to in the
second to last bullet in the ENO section. If you replace "encryption
scheme" with TEP, the parenthetical can probably just go away.

* I don't understand the rationale behind the last bullet in the
tcpcrypt section. Is the presumption that an application will
authenticate the first connection and then resume without
authentication? If so, then it's more than prudent: it MUST purge that
session from the cache.

* Relatedly, does this suggestion apply only to the keys cached for
the current session? For performance reasons, this should probably be
the case.

2.1:

* q( Non-socket systems should use existing error codes corresponding
to the same conditions.) I would strike "existing". What if they don't
have existing error codes corresponding to the same conditions, for
whatever reason?

* EBADF should be used for attempts to operate on closed sockets.
EINVAL should be used when any other element of the input is invalid
(e.g., invalid TEP).

* Right under table 2, there is a set of conditions starting with
"Unless otherwise specified". Do any of them cover the case in which
ENO is being negotiated but is not yet either enabled or disabled? In
implementing this, ENO was really best modeled as a tri-state:
negotiating, disabled, enabled. I'm thinking in particular of NEGSPEC,
PEER_GOPT, ROLE, and PEER_NAME.

* Sort the option descriptions in the same order as given in the table.

* Throughout this section, there are double quotes used
inconsistently. I would just remove them all, but either way make them
consistent. See: "TCP_ENO_RAW", "EISCONN", "A", "B".

* Under TCP_ENO_NEGSPEC, I would strike the last sentence as redundant
with TCP-ENO.

2.2:

* Is "Global options" going to be confused with the global suboption
in TCP-ENO? Maybe "System-wide default options/configuration
settings".

* Does it make sense to prefix all of the global options with
"eno_default_" to make it clear they can be overridden? Or is that
just too wordy?

* "eno_specs" should probably be updated for the TEP nomenclature.

* What is "baddynamic"? A Google search was unrevealing. Does this
need a reference?

* I would replace "bad" with "disable" or "exclude", especially if we
go with "eno_default_".

* If we're getting into the format of each value by byte, anyway, why
not go with each word representing a range "lowport:highport"?

3.1:

* The tcpcrypt doc consciously does not normatively specify how a
server is to choose the symmetric cipher. TCP_CRYPT_BCONF, by
contrast, specifies a decreasing preference order. This may not be
necessary (though it might be easier to understand given that this API
straddles the line between abstract and concrete), but it's also
potentially confusing that this preference list is in decreasing order
while the one for TEPs is in increasing order. (I understand that the
ordering there relates to saving the length byte for the TEP you
expect, when it is most likely to contain a session ID, and maybe this
isn't a big deal. Happy to entertain rebuttals.)

4.2:

* q( For example...a suitable name would be "net.inet.tcp.eno.specs"
). Why "specs" (or even "teps")? Maybe "<option name>" or a clause
introducing the example.

5.1:

* TCP_ENO_LOCAL_NAME conflicts with SELF_NAME.

* Can you describe for me an attack that would be possible using an
authenticator taken out of context? I'm assuming that both ends of the
connection with the unique session ID already have the cookie, and
that the authenticator would be useless on any other tcpinc connection
because of the uniqueness property. Is the issue that the session ID
used in the PRF could collide with an entirely distinct (i.e.,
non-tcpinc) use? Something similar applies to 5.2, as well.

5.2:

* It might be worth pointing out that, in unilateral authentication,
the side that does not validate an authenticator relies on the peer
ending the connection if validation fails to prevent man-in-the-middle
attacks.

Kyle

