Re: [Anima-bootstrap] bootstrap over CoAP

"Max Pritikin (pritikin)" <pritikin@cisco.com> Sun, 10 July 2016 17:14 UTC

Return-Path: <pritikin@cisco.com>
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 3478912D0EA for <anima-bootstrap@ietfa.amsl.com>; Sun, 10 Jul 2016 10:14:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -15.808
X-Spam-Level:
X-Spam-Status: No, score=-15.808 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.287, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.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 2GdaXNKkt2bP for <anima-bootstrap@ietfa.amsl.com>; Sun, 10 Jul 2016 10:14:36 -0700 (PDT)
Received: from rcdn-iport-3.cisco.com (rcdn-iport-3.cisco.com [173.37.86.74]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EFA6912B005 for <anima-bootstrap@ietf.org>; Sun, 10 Jul 2016 10:14:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=1872; q=dns/txt; s=iport; t=1468170875; x=1469380475; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=vW64gOOPyMUx9mlLeR1BCDsJOWMRXDcjrfHUzxo3K60=; b=UV41qBRmCN3H/1GFADJuZ+XY66RRxvXm5vXepfNSkxjote9XHeSytCNk xZw+NCDxJFrDq2s7I3Y5epbpDTuFpd7Xg6QH8nPF68Dh8hlU5D6+uRvyP sL2AXE3y1cpbIoU0fZVpQ0/yWlSR9GTCvqJP5eeiuN8b2ECcMw7NfiQ7K 8=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0D3AQDLgYJX/4ENJK1dgz6BUgase4wWgXqGGAIcgQM4FAEBAQEBAQFlJ4RcAQEEASMRRQULAgEGAhgCAiYCAgIfERUQAgQOBYgWAw8Ikj+dHYo0DYQbAQEBAQEBAQEBAQEBAQEBAQEBAQEBHIEBhx4Igk2CQ4IVgmorgi8BBJhkNAGMO4IWjyyIG4dzAR42ggYfgUxuAYdwfwEBAQ
X-IronPort-AV: E=Sophos;i="5.28,340,1464652800"; d="scan'208";a="127940814"
Received: from alln-core-9.cisco.com ([173.36.13.129]) by rcdn-iport-3.cisco.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 10 Jul 2016 17:14:35 +0000
Received: from XCH-RCD-007.cisco.com (xch-rcd-007.cisco.com [173.37.102.17]) by alln-core-9.cisco.com (8.14.5/8.14.5) with ESMTP id u6AHEYs0022655 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Sun, 10 Jul 2016 17:14:35 GMT
Received: from xch-aln-013.cisco.com (173.36.7.23) by XCH-RCD-007.cisco.com (173.37.102.17) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Sun, 10 Jul 2016 12:14:34 -0500
Received: from xch-aln-013.cisco.com ([173.36.7.23]) by XCH-ALN-013.cisco.com ([173.36.7.23]) with mapi id 15.00.1210.000; Sun, 10 Jul 2016 12:14:34 -0500
From: "Max Pritikin (pritikin)" <pritikin@cisco.com>
To: Brian E Carpenter <brian.e.carpenter@gmail.com>
Thread-Topic: [Anima-bootstrap] bootstrap over CoAP
Thread-Index: AQHR2WP3WwSJYty+90K8Z1kkbrP0XqAQQQqAgAAwiICAAFWmAIAADTkAgAC2cYCAALNBgA==
Date: Sun, 10 Jul 2016 17:14:34 +0000
Message-ID: <8D35379D-678D-4293-93E4-150253AE46CE@cisco.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> <5781531A.1080702@tzi.org> <729980b6-767a-b675-1874-5c8e1fefd025@gmail.com>
In-Reply-To: <729980b6-767a-b675-1874-5c8e1fefd025@gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.24.33.59]
Content-Type: text/plain; charset="utf-8"
Content-ID: <C44A28CD8809EC4E9A000D9BEDFDD57F@emea.cisco.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/anima-bootstrap/RYNWzvpe4AKR1llc6vGhlZQJAME>
Cc: Carsten Bormann <cabo@tzi.org>, "anima-bootstrap@ietf.org" <anima-bootstrap@ietf.org>, "Panos Kampanakis (pkampana)" <pkampana@cisco.com>
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: Sun, 10 Jul 2016 17:14:37 -0000

> On Jul 9, 2016, at 11:33 PM, Brian E Carpenter <brian.e.carpenter@gmail.com> wrote:
> 
> On 10/07/2016 07:40, Carsten Bormann wrote:
>>>> 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.
> 
> OK, so I think that a couple of sentences in draft-pritikin-coap-bootstrap
> could clarify all that.

Thank you. We can make that happen,

- max


> 
> Thanks
>    Brian
> 
>> Grüße, Carsten