Re: [core] RFC 8323 on CoAP (Constrained Application Protocol) over TCP, TLS, and WebSockets

Carsten Bormann <cabo@tzi.org> Thu, 15 February 2018 06:41 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 2CC5E1205F0 for <core@ietfa.amsl.com>; Wed, 14 Feb 2018 22:41:22 -0800 (PST)
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 9hEohPpFBOgU for <core@ietfa.amsl.com>; Wed, 14 Feb 2018 22:41:19 -0800 (PST)
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 466841200E5 for <core@ietf.org>; Wed, 14 Feb 2018 22:41:19 -0800 (PST)
X-Virus-Scanned: amavisd-new at informatik.uni-bremen.de
Received: from submithost.informatik.uni-bremen.de (submithost.informatik.uni-bremen.de [134.102.201.11]) by mailhost.informatik.uni-bremen.de (8.14.5/8.14.5) with ESMTP id w1F6fF6x012655 for <core@ietf.org>; Thu, 15 Feb 2018 07:41:15 +0100 (CET)
Received: from client-0081.vpn.uni-bremen.de (client-0081.vpn.uni-bremen.de [134.102.107.81]) (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 3zhmrW4DgyzDX9B; Thu, 15 Feb 2018 07:41:15 +0100 (CET)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 11.2 \(3445.5.20\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <20180215013518.3E44EB8129C@rfc-editor.org>
Date: Thu, 15 Feb 2018 07:41:14 +0100
X-Mao-Original-Outgoing-Id: 540369673.184021-15436abd77457abe42d43c286820fb18
Content-Transfer-Encoding: quoted-printable
Message-Id: <08D3C97B-82E1-4D7F-B5AC-6A36C07D0597@tzi.org>
References: <20180215013518.3E44EB8129C@rfc-editor.org>
To: "core@ietf.org WG (core@ietf.org)" <core@ietf.org>
X-Mailer: Apple Mail (2.3445.5.20)
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/NBQR8khSbvu2g7k2rxdJ6lE52Jo>
Subject: Re: [core] RFC 8323 on CoAP (Constrained Application Protocol) over TCP, TLS, and WebSockets
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: Thu, 15 Feb 2018 06:41:22 -0000

This took a lot longer to complete than we thought it would.

Thanks to Alexey Melnikov for making it happen.

Special thanks to Brian Raymor for taking on the various fragments we had, as the editor and diligently turning them into a good document.

Of course, thanks also to the RFC editor, the other esteemed co-authors, the contributors (there were too many authors to list them all as authors), the Working Group, and all other people who provided input and comments!
(See https://tools.ietf.org/html/rfc8323#page-52 for what surely is an incomplete list.)

More interops are next.  
In the first interop, it was amazing to experience how low-complexity CoAP over TCP/TLS has become.
TCP is often not a good match for constrained node networks, but if you do need to use it for some reason (such as IPv4 NAT traversal), adding CoAP on top of it is extremely easy.
CoAP over WebSockets now provides a good way to do CoAP out of a JavaScript program running in a browser before browsers learn to do this natively.

Grüße, Carsten



> On Feb 15, 2018, at 02:35, rfc-editor@rfc-editor.org wrote:
> 
> A new Request for Comments is now available in online RFC libraries.
> 
> 
>        RFC 8323
> 
>        Title:      CoAP (Constrained Application Protocol) over 
>                    TCP, TLS, and WebSockets 
>        Author:     C. Bormann, 
>                    S. Lemay,
>                    H. Tschofenig,
>                    K. Hartke,
>                    B. Silverajan,
>                    B. Raymor, Ed.
>        Status:     Standards Track
>        Stream:     IETF
>        Date:       February 2018
>        Mailbox:    cabo@tzi.org, 
>                    slemay@zebra.com, 
>                    Hannes.Tschofenig@gmx.net,
>                    hartke@tzi.org, 
>                    Bilhanan.Silverajan@tut.fi,
>                    brianraymor@hotmail.com
>        Pages:      54
>        Characters: 110771
>        Updates:    RFC 7641, RFC 7959
> 
>        I-D Tag:    draft-ietf-core-coap-tcp-tls-11.txt
> 
>        URL:        https://www.rfc-editor.org/info/rfc8323
> 
>        DOI:        10.17487/RFC8323
> 
> The Constrained Application Protocol (CoAP), although inspired by
> HTTP, was designed to use UDP instead of TCP.  The message layer of
> CoAP over UDP includes support for reliable delivery, simple
> congestion control, and flow control.
> 
> Some environments benefit from the availability of CoAP carried over
> reliable transports such as TCP or Transport Layer Security (TLS).
> This document outlines the changes required to use CoAP over TCP,
> TLS, and WebSockets transports.  It also formally updates RFC 7641
> for use with these transports and RFC 7959 to enable the use of
> larger messages over a reliable transport.
> 
> This document is a product of the Constrained RESTful Environments Working Group of the IETF.
> 
> This is now a Proposed Standard.
> 
> STANDARDS TRACK: This document specifies an Internet Standards Track
> protocol for the Internet community, and requests discussion and suggestions
> for improvements.  Please refer to the current edition of the Official
> Internet Protocol Standards (https://www.rfc-editor.org/standards) for the 
> standardization state and status of this protocol.  Distribution of this 
> memo is unlimited.
> 
> This announcement is sent to the IETF-Announce and rfc-dist lists.
> To subscribe or unsubscribe, see
>  https://www.ietf.org/mailman/listinfo/ietf-announce
>  https://mailman.rfc-editor.org/mailman/listinfo/rfc-dist
> 
> For searching the RFC series, see https://www.rfc-editor.org/search
> For downloading RFCs, see https://www.rfc-editor.org/retrieve/bulk
> 
> Requests for special distribution should be addressed to either the
> author of the RFC in question, or to rfc-editor@rfc-editor.org.  Unless
> specifically noted otherwise on the RFC itself, all RFCs are for
> unlimited distribution.
> 
> 
> The RFC Editor Team
> Association Management Solutions, LLC
> 
> 
>