Re: [Anima-bootstrap] bootstrap over CoAP

Carsten Bormann <cabo@tzi.org> Sat, 09 July 2016 19:40 UTC

Return-Path: <cabo@tzi.org>
X-Original-To: anima-bootstrap@ietfa.amsl.com
Delivered-To: anima-bootstrap@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D830512B04A for <anima-bootstrap@ietfa.amsl.com>; Sat, 9 Jul 2016 12:40:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.701
X-Spam-Level:
X-Spam-Status: No, score=-0.701 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-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 lMrNALWGGdzw for <anima-bootstrap@ietfa.amsl.com>; Sat, 9 Jul 2016 12:40:18 -0700 (PDT)
Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6B20F12B026 for <anima-bootstrap@ietf.org>; Sat, 9 Jul 2016 12:40:18 -0700 (PDT)
Received: from mfilter45-d.gandi.net (mfilter45-d.gandi.net [217.70.178.176]) by relay5-d.mail.gandi.net (Postfix) with ESMTP id AD27B41C086; Sat, 9 Jul 2016 21:40:16 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at mfilter45-d.gandi.net
Received: from relay5-d.mail.gandi.net ([IPv6:::ffff:217.70.183.197]) by mfilter45-d.gandi.net (mfilter45-d.gandi.net [::ffff:10.0.15.180]) (amavisd-new, port 10024) with ESMTP id zXK78Urf3lVp; Sat, 9 Jul 2016 21:40:15 +0200 (CEST)
X-Originating-IP: 93.199.242.26
Received: from nar-3.local (p5DC7F21A.dip0.t-ipconnect.de [93.199.242.26]) (Authenticated sender: cabo@cabo.im) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 2AAC441C07D; Sat, 9 Jul 2016 21:40:12 +0200 (CEST)
Message-ID: <5781531A.1080702@tzi.org>
Date: Sat, 09 Jul 2016 21:40:10 +0200
From: Carsten Bormann <cabo@tzi.org>
User-Agent: Postbox 4.0.8 (Macintosh/20151105)
MIME-Version: 1.0
To: Brian E Carpenter <brian.e.carpenter@gmail.com>
References: <3A2F4C70-4960-4592-9314-6EC53B53CC94@cisco.com> <5d5623cd-fe4b-e443-da5d-6a43ffb9b5c6@gmail.com> <57810029.2070408@tzi.org> <17d1c08e-e9c6-d017-58ba-85989d56273d@gmail.com>
In-Reply-To: <17d1c08e-e9c6-d017-58ba-85989d56273d@gmail.com>
X-Enigmail-Version: 1.2.3
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/anima-bootstrap/JLpHImgvskahnfkuQhesGrTovPo>
Cc: "Max Pritikin (pritikin)" <pritikin@cisco.com>, "anima-bootstrap@ietf.org" <anima-bootstrap@ietf.org>
Subject: Re: [Anima-bootstrap] bootstrap over CoAP
X-BeenThere: anima-bootstrap@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Mailing list for the bootstrap design team of the ANIMA WG <anima-bootstrap.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/anima-bootstrap>, <mailto:anima-bootstrap-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/anima-bootstrap/>
List-Post: <mailto:anima-bootstrap@ietf.org>
List-Help: <mailto:anima-bootstrap-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/anima-bootstrap>, <mailto:anima-bootstrap-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 09 Jul 2016 19:40:20 -0000

>> I'm not sure I understood that part of the draft*), but generally CoAP
>> is designed so you can avoid fragmentation 
> 
> That isn't what the draft seems to say, though. However, it's clearly talking
> about application-layer fragmentation to avoid IP fragmentation.

(that's segmentation...  I know.)

>> (and use the segmentation
>> provided by draft-ietf-core-block instead); the latter has per-segment
>> reliability (acknowledgements and retransmits).   DTLS may require
>> fragmentation during its handshake; this is mitigated if you can use a
>> PSK (symmetric) or, if you need asymmetric, ECC-based ciphersuite, which
>> allows the packets to stay well below 1280 bytes.
> 
> Right. So the app layer chops the message into <1280 byte pieces, and one
> of them is lost...?

Each of those segments ("blocks") is (actually, can be, but you do want
to do this with the block-wise protocol) transmitted reliably, so it
doesn't get lost.

Grüße, Carsten