Re: [Tsv-art] TSV-ART review of draft-ietf-core-coap-tcp-tls-07

Spencer Dawkins at IETF <spencerdawkins.ietf@gmail.com> Mon, 08 May 2017 03:17 UTC

Return-Path: <spencerdawkins.ietf@gmail.com>
X-Original-To: ietf@ietfa.amsl.com
Delivered-To: ietf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4668112025C; Sun, 7 May 2017 20:17:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 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_NONE=-0.0001, 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 WVbUQ80mJ8Ua; Sun, 7 May 2017 20:17:56 -0700 (PDT)
Received: from mail-yb0-x234.google.com (mail-yb0-x234.google.com [IPv6:2607:f8b0:4002:c09::234]) (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 AC48F126CD6; Sun, 7 May 2017 20:17:56 -0700 (PDT)
Received: by mail-yb0-x234.google.com with SMTP id p143so8559489yba.2; Sun, 07 May 2017 20:17:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=RXrwk9tjsQVQVx3ZiCsrWvjUljNWtkOCV+vRd08ULJ0=; b=tkYl8Re/NymyBwUfn+Z+IKxeAZYFGUdoLLYxM8oXRNT3/ZL6pk9iVqwq27hJbQQQGX hBInDkiJuFf7d0gV2kzXf56NkufGuccX6cuM2bjApd7oLDqm9+DOTawjMdXchL38AXw+ Zm6tCNuiSOUrG3uaooDSy06oNAMduoviNAEu3xemcJdpMQ5QH47RnQpRs4FMge2QjrFV jv3DRPj5O7/Rl27x3oDRQX1FZnqhK6EiPIlk7+w/TX8UzPE/7wFsV3+xyORfGe1GSR/Y vgL16zNKy9veHkHlyUEB2ZS1BhbBD4YVhYsZhmr7pwJ5O7UwkvwPXISotexyU5UeIRju xUJg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=RXrwk9tjsQVQVx3ZiCsrWvjUljNWtkOCV+vRd08ULJ0=; b=Khig0Rvt208YQaKd3UqjM3dWeSVc/+OQeqmwzkXtzO0+CG+WLR+o70CoUw1cDtgSbX c1dztHpICgO6AEy74bLSXHB9egSfMqZNdOs9/yHZ27NvPPPml9owhg2NnJVTuJAZ5fNo Ew1GRVqvL/SdxcipIjhQydbreNCF1gzeOHpCgbvJV8Isn/05GATxJYZGnF95QKodkQUE 8bhN13pVN+LvIuQSKOnbjh6NOUptHsPO3PUbJ6v+GSTkh3kyXN9FxgM8vscwF5tvfoQM cwqk+9wF9/CNVIQIlo4O5XfB8uHLyhwVMZbGsWax+zgVooQywERUss3rOdRDU3R8ckJE KS3g==
X-Gm-Message-State: AODbwcCIoxPfZqPsZcpo3q9t6D+R9Fe8byBc6cVkgcr6kHWPqq8n3ZjF A71kIvq5zmJxBAVz80nN4Lt2u5GsaQ==
X-Received: by 10.37.177.32 with SMTP id g32mr8970365ybj.82.1494213475927; Sun, 07 May 2017 20:17:55 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.37.161.198 with HTTP; Sun, 7 May 2017 20:17:55 -0700 (PDT)
In-Reply-To: <CAO249ydRLFpG=yHYvaZvPBiQuW5x=4HZqCZyTAb2HHeDuP+wAA@mail.gmail.com>
References: <CAO249ye7KNdcbQfmOfik7QYFiXS9zcTE5n19pngHLgeur2XFpg@mail.gmail.com> <BY2PR21MB0084E781B2831EBC6A5F4E88831B0@BY2PR21MB0084.namprd21.prod.outlook.com> <CAO249ydcc7k2i5=OSSvvtzU2B1Qa62b3RR3iY0wBfQ2pOYQrkQ@mail.gmail.com> <BY2PR21MB00849DB795086F08F6D7A98A831A0@BY2PR21MB0084.namprd21.prod.outlook.com> <CAO249yeS8sZaJcADuz+bYAJa-CXs4v291Fm=adRouO1R=svPDw@mail.gmail.com> <BY2PR21MB008453149ADC1A998FEA56D3831A0@BY2PR21MB0084.namprd21.prod.outlook.com> <CAO249ydRLFpG=yHYvaZvPBiQuW5x=4HZqCZyTAb2HHeDuP+wAA@mail.gmail.com>
From: Spencer Dawkins at IETF <spencerdawkins.ietf@gmail.com>
Date: Sun, 07 May 2017 22:17:55 -0500
Message-ID: <CAKKJt-em-dLP9qyhTOZ00x4oOGuXVLdbbNaVVKH3kLw=6JZ_dw@mail.gmail.com>
Subject: Re: [Tsv-art] TSV-ART review of draft-ietf-core-coap-tcp-tls-07
To: Yoshifumi Nishida <nishida@sfc.wide.ad.jp>
Cc: Brian Raymor <Brian.Raymor@microsoft.com>, "tsv-art@ietf.org" <tsv-art@ietf.org>, "draft-ietf-core-coap-tcp-tls@ietf.org" <draft-ietf-core-coap-tcp-tls@ietf.org>, "core@ietf.org" <core@ietf.org>, "ietf@ietf.org" <ietf@ietf.org>
Content-Type: multipart/alternative; boundary="f403045e5564738dfc054efaafc2"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ietf/WV9Ef8R7aNe31Wtm_S4C3M30a2M>
X-BeenThere: ietf@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: IETF-Discussion <ietf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ietf>, <mailto:ietf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ietf/>
List-Post: <mailto:ietf@ietf.org>
List-Help: <mailto:ietf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 08 May 2017 03:17:59 -0000

Hi, Yoshi,

On Sat, Apr 29, 2017 at 11:24 PM, Yoshifumi Nishida <nishida@sfc.wide.ad.jp>
wrote:

> Hello,
> As far as I've read -08 draft, I think this point has not been addressed
> yet. I hope some folks could elaborate a bit more if they think this is not
> an important point for the draft.
>

I've seen the subsequent e-mails in reply to yours, but it's not obvious to
me whether you think this point was addressed after reading those e-mails.

What do you think?

Thanks,

Spencer


> --
> Yoshi
>
> On Fri, Apr 21, 2017 at 2:57 PM, Brian Raymor <Brian.Raymor@microsoft.com>
> wrote:
>
>> I think that I understand your perceptions better. Prior to adoption of
>> coap-tcp-tls and before I was active in the WG, I recall discussions
>> related to the confusion over application vs transport reliability in CoAP
>> especially as related to CON and NON. What was intended?
>>
>>
>>
>> Tim Carey outlined some concerns in:
>>
>> https://tools.ietf.org/html/draft-carey-core-std-msg-vs-tran
>> s-adapt-00#section-2
>>
>>
>>
>> This topic was presented in detail at IETF 93 -
>> https://www.ietf.org/proceedings/93/slides/slides-93-core-0.pdf -
>> starting on slide 23.
>>
>>
>>
>> And in a related thread on the mailing list back in 2015 -
>> https://www.ietf.org/mail-archive/web/core/current/msg06280.html -
>> Carsten responded:
>>
>>
>>
>> > In any case, CON and NON are about message layer semantics, not about
>> application semantics
>>
>> > -- you gave them a meaning they don't have.
>>
>>
>>
>> By IETF 94, the authors were reporting – “Most of the Confusion
>> around              CON/NON was resolved”.
>>
>>
>>
>> Where relevant, I’ve added clarifications - such as the Appendix related
>> to differences in Observe for reliable transports.
>>
>>
>>
>> Both Carsten and Hannes could probably offer more context if needed.
>>
>>
>>
>> *From:* Yoshifumi Nishida [mailto:nishida@sfc.wide.ad.jp]
>> *Sent:* Friday, April 21, 2017 2:08 PM
>> *To:* Brian Raymor <Brian.Raymor@microsoft.com>
>> *Cc:* Yoshifumi Nishida <nishida@sfc.wide.ad.jp>; tsv-art@ietf.org;
>> draft-ietf-core-coap-tcp-tls@ietf.org; core@ietf.org; ietf@ietf.org
>> *Subject:* Re: TSV-ART review of draft-ietf-core-coap-tcp-tls-07
>>
>>
>>
>> Hi Brian,
>>
>>
>>
>> Just in case,
>>
>> Reliable transports only provide reliability at transport level. It
>> doesn't provide reliability in application protocol level.
>>
>>
>>
>> RFC7252 has reliability mechanisms in it since it uses UDP. This means it
>> has abilities to check both transport and app level reliability.
>>
>> This draft only provides transport level reliability and apps will need
>> to detect app protocol failure by themselves.
>>
>> This means 7252 and this draft are not totally equivalent from the
>> viewpoint of applications.
>>
>>
>>
>> I am not saying this is wrong or bad, but I believe app developer should
>> aware this point.
>>
>> --
>>
>> Yoshi
>>
>>
>>
>> On Fri, Apr 21, 2017 at 11:15 AM, Brian Raymor <
>> Brian.Raymor@microsoft.com> wrote:
>>
>> Hi Yoshi,
>>
>>
>>
>> > OK. I also think we should state that the protocol should notify the
>> failure events to applications.
>>
>> > Since errors can happen not only in TCP, but also TLS and websocket
>> level, mentioning only TCP close or reset might not
>>
>> > be enough.
>>
>>
>>
>> After reviewing with the authors, an additional clarification was
>> appended to 3.4 Connection Health - https://github.com/core-wg/coa
>> p-tcp-tls/pull/140/files
>>
>>
>>
>> The opinion of the authors (and Gengyu WEI’s recent response -
>> https://www.ietf.org/mail-archive/web/core/current/msg08622.html) is
>> that RFC6455 covers the WebSocket case and does not need to be repeated
>> here.
>>
>>
>>
>> > When we use 7252, I think applications basically don't need to
>> implement timeouts or retry mechanisms as the protocol
>>
>> > provides such things.
>>
>>
>>
>> RFC7252 provides timeouts and retries because it's implementing a
>> TCP-like reliability mechanism over UDP - https://tools.ietf.org/html/rf
>> c7252#section-2.1
>>
>>
>>
>> > However, when we use this one, it seems applications will need to have
>> such mechanisms. Isn't it a bit confusing? I am thinking that
>>
>> > there need to be some guidance here.
>>
>> > BTW, PONG is one example.
>>
>>
>>
>> For coap-tcp-tls, there are multiple early implementations. This has
>> never been reported as a source of confusion.
>>
>>
>>
>> >> My sense is that we should treat this as an update to RFC7959 based on
>> the original language:
>>
>> > I don't have a strong opinion here. Updating 7959 is fine for me if
>> it's clearer to CoAP people.
>>
>>
>>
>> I've merged the change - https://github.com/core-wg/coa
>> p-tcp-tls/pull/138/files
>>
>>
>>
>> Thanks again for helping us to improve the quality of the draft,
>>
>>
>>
>> …Brian
>>
>>
>>
>
>
> _______________________________________________
> Tsv-art mailing list
> Tsv-art@ietf.org
> https://www.ietf.org/mailman/listinfo/tsv-art
>
>