Re: [core] a question about the Message Format in draft-tschofenig-core-coap-tcp-tls-00
"zhengfei (E)" <zhengfei10@huawei.com> Sat, 21 November 2015 03:20 UTC
Return-Path: <zhengfei10@huawei.com>
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 E32621A1A7D for <core@ietfa.amsl.com>; Fri, 20 Nov 2015 19:20:43 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.485
X-Spam-Level:
X-Spam-Status: No, score=-2.485 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, MANGLED_TOOL=2.3, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.585, SPF_PASS=-0.001] 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 3QIJ0XtO9LGw for <core@ietfa.amsl.com>; Fri, 20 Nov 2015 19:20:41 -0800 (PST)
Received: from lhrrgout.huawei.com (lhrrgout.huawei.com [194.213.3.17]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0B0471A1A7F for <core@ietf.org>; Fri, 20 Nov 2015 19:20:39 -0800 (PST)
Received: from 172.18.7.190 (EHLO lhreml406-hub.china.huawei.com) ([172.18.7.190]) by lhrrg02-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id CAP67456; Sat, 21 Nov 2015 03:20:37 +0000 (GMT)
Received: from SZXEML429-HUB.china.huawei.com (10.82.67.184) by lhreml406-hub.china.huawei.com (10.201.5.243) with Microsoft SMTP Server (TLS) id 14.3.235.1; Sat, 21 Nov 2015 03:20:35 +0000
Received: from SZXEML513-MBX.china.huawei.com ([169.254.7.211]) by SZXEML429-HUB.china.huawei.com ([10.82.67.184]) with mapi id 14.03.0235.001; Sat, 21 Nov 2015 11:20:28 +0800
From: "zhengfei (E)" <zhengfei10@huawei.com>
To: "cabo@tzi.org" <cabo@tzi.org>
Thread-Topic: Re: a question about the Message Format in draft-tschofenig-core-coap-tcp-tls-00
Thread-Index: AQHRJAuRshW4SsuulU+iuzBYkb95Vw==
Date: Sat, 21 Nov 2015 03:20:27 +0000
Message-ID: <C6223E7F04FAF9418F0C162994D4E8339AE621@szxeml513-mbx.china.huawei.com>
References: <tencent_5D55430907F8140C1F7B7349@qq.com>
In-Reply-To: <tencent_5D55430907F8140C1F7B7349@qq.com>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.61.23.52]
Content-Type: multipart/alternative; boundary="_000_C6223E7F04FAF9418F0C162994D4E8339AE621szxeml513mbxchina_"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A090203.564FE305.0086, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0, ip=169.254.7.211, so=2013-06-18 04:22:30, dmn=2013-03-21 17:37:32
X-Mirapoint-Loop-Id: 86e94587f591ee27ce54d78ba45b5e39
Archived-At: <http://mailarchive.ietf.org/arch/msg/core/TbSLYXXr-LlUb8DT_qf-VseztPo>
Cc: "core@ietf.org" <core@ietf.org>
Subject: Re: [core] a question about the Message Format in draft-tschofenig-core-coap-tcp-tls-00
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: Sat, 21 Nov 2015 03:20:44 -0000
Hi, Bormann Thank you very much for your quick updating to -01, I think a clear uniform scheme(L1 only) could greatly improve the compatibility between different implementations. The simple 4-byte TCP-CoAP packet head whose length is same to UDP-CoAP really looks good, especially when CoAP stack will implement to be a dual stack, who supports both over UDP and over TCP simultaneously. I will modify our implementation from L3 to L1 too, following this updated draft. ------- Finally, sorry that I have used my private email and an empty name previously, my name is Zheng Fei. Thanks again.☺ ------------------ 原始邮件 ------------------ 发件人: Carsten Bormann <cabo@tzi.org<mailto:cabo@tzi.org>> 发送时间: 2015年11月20日 01:13 收件人: 774163 <774163@qq.com<mailto:774163@qq.com>> 抄送: slemay <slemay@zebra.com<mailto:slemay@zebra.com>>, vsolorzanobarboza <vsolorzanobarboza@zebra.com<mailto:vsolorzanobarboza@zebra.com>>, Hannes.tschofenig <Hannes.tschofenig@gmx.net<mailto:Hannes.tschofenig@gmx.net>> 主题: Re: a question about the Message Format in draft-tschofenig-core-coap-tcp-tls-00 Hi 774163, (how do you pronounce your name? :-) > I have a question about the latest document now. > About the Message Format, In section 4, I can see that you choose the L1 > scheme, and no other schemes are mentioned, so if I can draw conclusion > that L1 is the draft standard, and other schemes are No longer within > the scope of the consideration? That is the result of the Yokohama meeting and the consensus call we had after that. > But in section 3 --> "unless alternative L3 below is chosen" > It seems that other schemes are still valid? I'm really confused about this. Oops. Failing to remove this remnant was my editorial oversight. Thank you for alerting us. I just submitted an update, -01, to remove this confusing passage. > I think most users are hesitating between L1 and L3. Actually we have > implement the L3 scheme but I really like L1 scheme. Indeed, the WG has been hesitating a while as well. In the end, the simplicity of L1 won over the generality (and slightly improved efficiency) of L3. > Because L1 is > simple, its length is fixed so it easy to implement. And I think 2-byte > is enough in most cases. If 2-byte is not enough, 4-byte still can be > not enough in theory. Besides, we has block protocol to deal the extreme > case. :) Exactly! These are pretty much the thought processes that led to this result. > so if L1 scheme is the only valid scheme? Yes, that is the outcome of the consensus process. Thanks again for reaching out and notifying us of this oversight. Grüße, Carsten
- Re: [core] a question about the Message Format in… zhengfei (E)