RE: TSV-ART review of draft-ietf-core-coap-tcp-tls-07

Brian Raymor <Brian.Raymor@microsoft.com> Fri, 21 April 2017 18:15 UTC

Return-Path: <Brian.Raymor@microsoft.com>
X-Original-To: ietf@ietfa.amsl.com
Delivered-To: ietf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5FB1512EAAF; Fri, 21 Apr 2017 11:15:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.8
X-Spam-Level:
X-Spam-Status: No, score=-4.8 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, RCVD_IN_MSPIKE_H2=-2.8, 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); dkim=pass (1024-bit key) header.d=microsoft.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GVp5ZPV_J0TA; Fri, 21 Apr 2017 11:15:44 -0700 (PDT)
Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0104.outbound.protection.outlook.com [104.47.33.104]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A386B129B31; Fri, 21 Apr 2017 11:15:43 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=/VZ5UsaK7vLD4NN+KKgNG84lH2X7MR+V4XHDq6pQ1Z8=; b=dqtqqR4Vy/z2qdG9Thi8Dy2l+mCZxv5hnL/it86gAxt74iuS/iMlmAcO3bpPVkzMQY2ivOOtHafnacfeU0q1udO6fSOlA3IM3wjhnYeXL4jLB16WmZ7W6/zFbGa7SJN/axuy+R1S4cphDFcqmLy0SwH+QyKmMCEBUqrJYoj71qo=
Received: from BY2PR21MB0084.namprd21.prod.outlook.com (10.162.78.141) by BY2PR21MB0081.namprd21.prod.outlook.com (10.162.78.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1061.1; Fri, 21 Apr 2017 18:15:41 +0000
Received: from BY2PR21MB0084.namprd21.prod.outlook.com ([10.162.78.141]) by BY2PR21MB0084.namprd21.prod.outlook.com ([10.162.78.141]) with mapi id 15.01.1061.003; Fri, 21 Apr 2017 18:15:41 +0000
From: Brian Raymor <Brian.Raymor@microsoft.com>
To: Yoshifumi Nishida <nishida@sfc.wide.ad.jp>
CC: "tsv-art@ietf.org" <tsv-art@ietf.org>, "draft-ietf-core-coap-tcp-tls@ietf.org" <draft-ietf-core-coap-tcp-tls@ietf.org>, "core@ietf.org" <core@ietf.org>, "ietf@ietf.org" <ietf@ietf.org>
Subject: RE: TSV-ART review of draft-ietf-core-coap-tcp-tls-07
Thread-Topic: TSV-ART review of draft-ietf-core-coap-tcp-tls-07
Thread-Index: AQHSsOTWicthTbHq+0Cl6wEpb6SnVKHOtjQAgADZuACAAKJUUA==
Date: Fri, 21 Apr 2017 18:15:41 +0000
Message-ID: <BY2PR21MB00849DB795086F08F6D7A98A831A0@BY2PR21MB0084.namprd21.prod.outlook.com>
References: <CAO249ye7KNdcbQfmOfik7QYFiXS9zcTE5n19pngHLgeur2XFpg@mail.gmail.com> <BY2PR21MB0084E781B2831EBC6A5F4E88831B0@BY2PR21MB0084.namprd21.prod.outlook.com> <CAO249ydcc7k2i5=OSSvvtzU2B1Qa62b3RR3iY0wBfQ2pOYQrkQ@mail.gmail.com>
In-Reply-To: <CAO249ydcc7k2i5=OSSvvtzU2B1Qa62b3RR3iY0wBfQ2pOYQrkQ@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: sfc.wide.ad.jp; dkim=none (message not signed) header.d=none;sfc.wide.ad.jp; dmarc=none action=none header.from=microsoft.com;
x-originating-ip: [174.61.159.182]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; BY2PR21MB0081; 7:qfCLDnaB8/U9ttbrq86XBAMJRHA+UXepMmUysJRHVSqaxY9gk7mTbF8siP2YSAMCgyUr8Fba8vb9ATo4JDGeqamPlbQZjBCPGeK0l5bhoBx+gPeW3YzLYVfzwgq6e2oHbNNaJFUiX8csdV4IRo5vvmgoAMzNFSXtoTsw6c/+2xhP1DqfVhHmuQPV3GcUR4LJVNKt/tQZtU7TRgoybyRE2daHmpn4GcnPC/Br857L++1KRFez+7/n5YZfUFuzAbe1FY06W9sacWAGeLze29gcEMMfuQLKs59numfvJTM2NM2h7s0fRqXQNvOwlhBd51cgMLIFKJ78pH4qCZKyvIS2A1BV1l5yilEb3SDVs9SItPI=
x-ms-office365-filtering-correlation-id: eaef3a27-4556-4407-68e1-08d488e26bb7
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(48565401081)(201703131423075)(201703031133081)(201702281549075); SRVR:BY2PR21MB0081;
x-microsoft-antispam-prvs: <BY2PR21MB008172EA596A87501DC81E57831A0@BY2PR21MB0081.namprd21.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(278428928389397)(166708455590820)(21748063052155);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(61425038)(6040450)(601004)(2401047)(5005006)(8121501046)(10201501046)(93006095)(93001095)(3002001)(6055026)(61426038)(61427038)(6041248)(20161123558055)(20161123562025)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406108)(20161123555025)(20161123560025)(6072148); SRVR:BY2PR21MB0081; BCL:0; PCL:0; RULEID:; SRVR:BY2PR21MB0081;
x-forefront-prvs: 02843AA9E0
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(39850400002)(39840400002)(39860400002)(39450400003)(39410400002)(39400400002)(43784003)(86362001)(2950100002)(102836003)(6916009)(6246003)(4326008)(7696004)(74316002)(38730400002)(110136004)(7906003)(230783001)(229853002)(33656002)(7736002)(122556002)(54356999)(5660300001)(790700001)(6116002)(76176999)(3846002)(189998001)(50986999)(9686003)(10090500001)(55016002)(66066001)(6306002)(54896002)(99286003)(54906002)(53936002)(2906002)(3280700002)(25786009)(236005)(606005)(8936002)(8676002)(81166006)(9326002)(3660700001)(6506006)(77096006)(6436002)(10290500002)(5005710100001)(2900100001); DIR:OUT; SFP:1102; SCL:1; SRVR:BY2PR21MB0081; H:BY2PR21MB0084.namprd21.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en;
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_BY2PR21MB00849DB795086F08F6D7A98A831A0BY2PR21MB0084namp_"
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Apr 2017 18:15:41.3988 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR21MB0081
Archived-At: <https://mailarchive.ietf.org/arch/msg/ietf/NNCoLKc5hXZMz_Z76VzKUTTkbG0>
X-BeenThere: ietf@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: IETF-Discussion <ietf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ietf>, <mailto:ietf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ietf/>
List-Post: <mailto:ietf@ietf.org>
List-Help: <mailto:ietf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 21 Apr 2017 18:15:46 -0000

Hi Yoshi,



> OK. I also think we should state that the protocol should notify the failure events to applications.

> Since errors can happen not only in TCP, but also TLS and websocket level, mentioning only TCP close or reset might not

> be enough.



After reviewing with the authors, an additional clarification was appended to 3.4 Connection Health - https://github.com/core-wg/coap-tcp-tls/pull/140/files



The opinion of the authors (and Gengyu WEI’s recent response - https://www.ietf.org/mail-archive/web/core/current/msg08622.html) is that RFC6455 covers the WebSocket case and does not need to be repeated here.



> When we use 7252, I think applications basically don't need to implement timeouts or retry mechanisms as the protocol

> provides such things.



RFC7252 provides timeouts and retries because it's implementing a TCP-like reliability mechanism over UDP - https://tools.ietf.org/html/rfc7252#section-2.1



> However, when we use this one, it seems applications will need to have such mechanisms. Isn't it a bit confusing? I am thinking that

> there need to be some guidance here.

> BTW, PONG is one example.



For coap-tcp-tls, there are multiple early implementations. This has never been reported as a source of confusion.



>> My sense is that we should treat this as an update to RFC7959 based on the original language:

> I don't have a strong opinion here. Updating 7959 is fine for me if it's clearer to CoAP people.



I've merged the change - https://github.com/core-wg/coap-tcp-tls/pull/138/files


Thanks again for helping us to improve the quality of the draft,

…Brian