Re: [core] Editors' draft of changes to draft-ietf-core-coap-tcp-tls-08 after IESG input

Carsten Bormann <cabo@tzi.org> Sat, 17 June 2017 12:32 UTC

Return-Path: <cabo@tzi.org>
X-Original-To: core@ietfa.amsl.com
Delivered-To: core@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4DA2C129488 for <core@ietfa.amsl.com>; Sat, 17 Jun 2017 05:32:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.199
X-Spam-Level:
X-Spam-Status: No, score=-4.199 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, 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 HywlBGpyB-Sy for <core@ietfa.amsl.com>; Sat, 17 Jun 2017 05:32:17 -0700 (PDT)
Received: from mailhost.informatik.uni-bremen.de (mailhost.informatik.uni-bremen.de [IPv6:2001:638:708:30c9::12]) (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 DA87312717E for <core@ietf.org>; Sat, 17 Jun 2017 05:32:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at informatik.uni-bremen.de
Received: from submithost.informatik.uni-bremen.de (submithost.informatik.uni-bremen.de [IPv6:2001:638:708:30c9::b]) by mailhost.informatik.uni-bremen.de (8.14.5/8.14.5) with ESMTP id v5HCWDLC027166; Sat, 17 Jun 2017 14:32:13 +0200 (CEST)
Received: from [192.168.217.113] (p5DC7F3A7.dip0.t-ipconnect.de [93.199.243.167]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by submithost.informatik.uni-bremen.de (Postfix) with ESMTPSA id 3wqc7d5Xn4zDK4T; Sat, 17 Jun 2017 14:32:13 +0200 (CEST)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <3246d149-f2c3-083a-c95a-0830b1520b07@tut.fi>
Date: Sat, 17 Jun 2017 14:32:13 +0200
Cc: core@ietf.org
X-Mao-Original-Outgoing-Id: 519395532.92723-a07b18e75acc149e38384d1385bb8273
Content-Transfer-Encoding: quoted-printable
Message-Id: <6EDC3CEC-E5E6-4269-9074-9EEC4844C18D@tzi.org>
References: <76EA187B-4A41-4363-B49E-75064626190A@tzi.org> <ee31590027944221a50467618d36fb2e@FE-MBX1027.de.bosch.com> <BACD0C4E-5438-46B8-ADEA-30AF44409440@tzi.org> <CY1PR03MB2265ED47B6ADE6B7A2810C77A3C00@CY1PR03MB2265.namprd03.prod.outlook.com> <55877B3AFB359744BA0F2140E36F52B55B9FC95E@MBX110.d.ethz.ch> <16E1AFB1-AA50-4F49-ACB6-3B2B7703C7AD@tzi.org> <3246d149-f2c3-083a-c95a-0830b1520b07@tut.fi>
To: Bill Silverajan <bilhanan.silverajan@tut.fi>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/6lV_oS-ot2XC9imoUCOWS6EHZXg>
Subject: Re: [core] Editors' draft of changes to draft-ietf-core-coap-tcp-tls-08 after IESG input
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "Constrained RESTful Environments \(CoRE\) Working Group list" <core.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/core>, <mailto:core-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/core/>
List-Post: <mailto:core@ietf.org>
List-Help: <mailto:core-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/core>, <mailto:core-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 17 Jun 2017 12:32:19 -0000

Hi Bill,

> On Jun 17, 2017, at 12:07, Bill Silverajan <bilhanan.silverajan@tut.fi> wrote:
> 
> Hi,
> 
>>> It would be good to know what the actual assumptions are.
>>> CoAP clients do trial-and-error until they get a response?
>>> All CoAP endpoints are expected to implement all transport and the pick of transport is just because of the middlebox baggage?
> 
> In discouraging the use of several URI schemes for CoAP, one review recommended a series of steps, in which CoAP over UDP is MTI: Always try UDP first, and if no response is forthcoming, to then resort to TCP. Port 80/443 would always default to CoAP over ws or wss without needing to engage UDP initially. Obviously this has repercussions regarding protocol and application logic.

Right.  It also does not work for one of the main applications of CoAP-TCP: traversal of NATs with short UDP binding lifetimes.  The probe will always work through such a NAT, but then the observation relationships won’t, because the UDP binding is gone by the time the notification needs to be transferred.

(Of course, a server can work around this issue by providing a URI with an IP address that listens on TCP only, so the UDP probe fails.  This likely outcome is wrong on so many levels…)

[…]

> Conversely, it must also be recognised that right now, some mechanisms are bound to the "coap" and "coaps" URI schemes, such as using ".well-known/". Minting new CoAP URI schemes would also require extending this to support them.

Not sure I get this point.  We did add well-known support for the new URI schemes in -07.

Grüße, Carsten