Re: [core] πŸ”” Confirmation call: CoAP over TCP/TLS #396: Revert L1 selection, select L3

Simon Lemay <simon.lemay@gmail.com> Sun, 17 April 2016 14:50 UTC

Return-Path: <simon.lemay@gmail.com>
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 4C39212D986 for <core@ietfa.amsl.com>; Sun, 17 Apr 2016 07:50:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level:
X-Spam-Status: No, score=-2.699 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 bNnRF9Gasdqx for <core@ietfa.amsl.com>; Sun, 17 Apr 2016 07:50:04 -0700 (PDT)
Received: from mail-qg0-x230.google.com (mail-qg0-x230.google.com [IPv6:2607:f8b0:400d:c04::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C355612D7F4 for <core@ietf.org>; Sun, 17 Apr 2016 07:50:03 -0700 (PDT)
Received: by mail-qg0-x230.google.com with SMTP id f52so104351822qga.3 for <core@ietf.org>; Sun, 17 Apr 2016 07:50:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=YlxoWVyF+SyGhRiDEFTAwDJkxqsYKlR6SsH7fIieayg=; b=s0/SMYWoxfbreb1tNx0H860eZrOHgZRQw58svHl9AvrmRh1Al1ps/IojnCVJfOnEZE q0A1owTwan0bzGP28SOSccF55yJM67rbwh6pJqhFs8mSsKBMIaVnhTb4TNuXPBztBfHD ObieM+HFR/8O92WW7BfYJSjzCspZqOgUn53iNGm/A9ltErpXWG6XBNUGMtNLgLUY7iG9 JHkIbXjHOL/4oTO+zH5x/NBC7KFVfc26jPQ3mmTwxytSPvNybN0A6XVPCI9Nd+yKLKz4 kjM2m3cjyscR7oN/YDvqr4MQi6mdy/AjBKf6Q3EOp4N9tMqA7hTdt1eC6ZB024N7xu8S y8cg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=YlxoWVyF+SyGhRiDEFTAwDJkxqsYKlR6SsH7fIieayg=; b=lDqTOwVofa+SUo5y8Z6zHkgIn+y8T6vUKdC1SPaDOnzZtLdtrX3reQ0H+LPr0/jlfJ 7amQycnAl7B6agt/LgnV4fI/equ+50Ax2r8gcgVIyr/ppnfrkUPLEaxOarLRdb0I6rs5 Q8lfy/11b17DFEXhHeaBsQ81eZAQ0Jv7ywaBplzK8LomN+oG90+6mDuwdN0YeQp1A4we TKjO2yjDd4/J7wadHg2gSHeYBYweawtqtOGK2Fuzn5yuTNOdMHuXbqYH/Z0xZcN+lPOY KIYj+igea+o8L3vDalB43Q6NHb1P9l6+rs9O4opYr71snd8bdCQSoCZEjdlJuykUJEy2 KGHA==
X-Gm-Message-State: AOPr4FVGD3yDPQbnZoycROMYfrVvXx2Pp6lyRoVHy84FrAePtJnWCY5wimz/Lyn0hxAF6OGkIL936jmzp8ZunQ==
X-Received: by 10.140.246.86 with SMTP id r83mr20827607qhc.65.1460904602938; Sun, 17 Apr 2016 07:50:02 -0700 (PDT)
MIME-Version: 1.0
References: <57054B35.50700@tzi.org> <CALfOQQ7un-8qAo7h9zZoaMSThn_qSB+2vX8LM-arFSLL7sLv3Q@mail.gmail.com> <570EEBD0.6040408@tzi.org>
In-Reply-To: <570EEBD0.6040408@tzi.org>
From: Simon Lemay <simon.lemay@gmail.com>
Date: Sun, 17 Apr 2016 14:49:53 +0000
Message-ID: <CALfOQQ5cMbSeibpm3MTk5222=XNExiY4dL4MrWom=28sbDyFzw@mail.gmail.com>
To: Carsten Bormann <cabo@tzi.org>
Content-Type: multipart/alternative; boundary="001a1139bd76e8c2100530af5bf6"
Archived-At: <http://mailarchive.ietf.org/arch/msg/core/vY3Og0M-S_TCdIbijtiQo7ZouAs>
Cc: "core@ietf.org WG" <core@ietf.org>
Subject: Re: [core] πŸ”” Confirmation call: CoAP over TCP/TLS #396: Revert L1 selection, select L3
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.17
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: Sun, 17 Apr 2016 14:50:05 -0000

Hi Carsten,

Thanks for the answer,

When I said L3 I guess I implied larger payload, but yes this makes sense.
And I do believe that we should keep working on BERT.

I also think we should have something in place so constraint device can
refuse a message if too large

But yes this make sense, thanks for the explanation.

Simon


On Wed, Apr 13, 2016 at 18:01 Carsten Bormann <cabo@tzi.org> wrote:

> Hi Simon,
>
> good to hear from you -- this is exactly why we validate in-room
> decisions on the mailing list.
>
> > I know one of the main concern of L3 in the pass was the possibility of
> > head-of-line blocking, should we still consider bert draft that was
> > proposed.
>
> That is not a concern with L3, but a concern with large messages.
> Yes, these do exhibit head-of-line blocking.
> BERT is a good way to control the extent of this blocking, so I think
> this is still a useful extension to pursue.
>
> > The other concern was on how smaller device fit in this, if you send
> > large payload that are out of scope for a constraint device, how should
> > this be handle (if should be handle that the procol level)
>
> As we said, there is no intention to revoke the SHOULDs in section 4.6
> of RFC 7252.  However, there is also no intention to enforce these
> SHOULDs (policy) by providing an artificial limitation to the message
> size (mechanism) at the encapsulation level.
>
> L3 does not prevent you from shooting yourself in the foot by ignoring
> section 4.6 (note that L2 didn't really do that, either, 64 KiB is still
> larger than 1152).  But L3 also doesn't stop you from transcending 4.6
> significantly if you have a good reason to do so.
>
> Grüße, Carsten
>