[core] BERT (Block protocol Extension for Reliable Transport)
Carsten Bormann <cabo@tzi.org> Fri, 27 November 2015 03:22 UTC
Return-Path: <cabo@tzi.org>
X-Original-To: core@ietfa.amsl.com
Delivered-To: core@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 093501A8A16 for <core@ietfa.amsl.com>; Thu, 26 Nov 2015 19:22:45 -0800 (PST)
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] autolearn=ham
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 sukoOsgfy8Dn for <core@ietfa.amsl.com>; Thu, 26 Nov 2015 19:22:43 -0800 (PST)
Received: from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net [217.70.183.194]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0DC631A8A12 for <core@ietf.org>; Thu, 26 Nov 2015 19:22:43 -0800 (PST)
Received: from mfilter13-d.gandi.net (mfilter13-d.gandi.net [217.70.178.141]) by relay2-d.mail.gandi.net (Postfix) with ESMTP id 6960CC5A49; Fri, 27 Nov 2015 04:22:41 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at mfilter13-d.gandi.net
Received: from relay2-d.mail.gandi.net ([IPv6:::ffff:217.70.183.194]) by mfilter13-d.gandi.net (mfilter13-d.gandi.net [::ffff:10.0.15.180]) (amavisd-new, port 10024) with ESMTP id rRuT-5SH45yW; Fri, 27 Nov 2015 04:22:40 +0100 (CET)
X-Originating-IP: 93.199.254.229
Received: from nar.local (p5DC7FEE5.dip0.t-ipconnect.de [93.199.254.229]) (Authenticated sender: cabo@cabo.im) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id D2B90C5A4F; Fri, 27 Nov 2015 04:22:39 +0100 (CET)
Message-ID: <5657CC7E.4040008@tzi.org>
Date: Fri, 27 Nov 2015 04:22:38 +0100
From: Carsten Bormann <cabo@tzi.org>
User-Agent: Postbox 4.0.8 (Macintosh/20151105)
MIME-Version: 1.0
To: "core@ietf.org WG" <core@ietf.org>
X-Enigmail-Version: 1.2.3
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/core/IcmRTndrDMCI3DV_gwgkvihpgok>
Subject: [core] BERT (Block protocol Extension for Reliable Transport)
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.15
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: Fri, 27 Nov 2015 03:22:45 -0000
In Prague and Yokohama, we had several discussions about the CoAP over TCP mapping, its larger message size limit (now 64 KiB, compared to the 1152 bytes we came up with for UDP or DTLS/UDP), and ideas about extending the Block protocol to make use of that capability. Göran has reminded me of the Block protocol today :-), so I quickly wrote up what I think is a minimal extension to Block for this: BERT (Block protocol Extension for Reliable Transport) https://tools.ietf.org/html/draft-bormann-core-block-bert-00 My questions to the WG: -- do we (CoRE WG) want to do this? -- does it work for you and your implementation? -- is is already simple enough*)? -- any opportunities this proposal misses? Grüße, Carsten *) from an implementation point of view, not with respect to exposition -- but I'm happy to take comments on the latter as well. Title: Block-wise transfers in CoAP: Extension for Reliable Transport (BERT) Abstract: CoAP (RFC7252) is a RESTful transfer protocol for constrained nodes and networks, originally using UDP or DTLS over UDP as its transport. Basic CoAP messages work well for the small payloads we expect from temperature sensors, light switches, and similar building-automation devices. CoAP's Block protocol (draft-ietf-core-block) allows transferring larger payloads over limited-size datagrams -- for instance, for firmware updates. CoAP over TCP and TLS (draft-ietf-core-tcp-tls) enables the use of extended, but not unlimited, size messages. The present specification, Block-wise transfers in CoAP: Extension for Reliable Transport (BERT), extends the block protocol in a simple way to be able to make use of these larger messages over a reliable transport.
- [core] BERT (Block protocol Extension for Reliabl… Carsten Bormann