Re: [core] Using CoAP for P2P

Christer Holmberg <christer.holmberg@ericsson.com> Sat, 04 April 2020 12:26 UTC

Return-Path: <christer.holmberg@ericsson.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 15FD73A0B69 for <core@ietfa.amsl.com>; Sat, 4 Apr 2020 05:26:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, HTTPS_HTTP_MISMATCH=0.1, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ericsson.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 U13WFpldTakj for <core@ietfa.amsl.com>; Sat, 4 Apr 2020 05:26:07 -0700 (PDT)
Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2060.outbound.protection.outlook.com [40.107.21.60]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 45D5D3A0B68 for <core@ietf.org>; Sat, 4 Apr 2020 05:26:06 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RiqX7yoYWZPi3/ylpzLz5+ReUBVH5wrJr7La09mk/EVlPcYvtlWr2cmuobq+3+5n1uy5qkyjSbolm54xSpLINcfx1LLevEY2UTgFkQuc13tOylyPCP7M/yJiAnXEGoeDPIvqzNZAGVjMR2tX8wmzsXZy2IVtUNnwmQOFv6KiQMzLcEKoA7GePL7yMPXOdA0sBsOy5yoljBdf6m5wA419Ws35Uf1BDIwuJg477hSK4J78tOVvc/aJAlMeI+wxVChQqL81NSdPzsYKcTh1/FyMNCgGh36QBQ1LrW0CzSy1BS/N5VovXwdARlim+5CtwwdAV2Bw99pov+AufjPee9k9WQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wz+r5Os0vXykaN+VcX2Z1+Pv4/KUHQgkAXSEGoA4eSY=; b=XO+whClvk3KrY/Cu41ogHp8FN23RPlWHd0V971h3TIFELPvVz2ZavCSE/FswdPbPrFCndy73fFjRRdf6M/GRwh5kAY4orFocK+SuM7JRuhsUWFYpUACP8A82NSOF12gx3LhovpIKtLrZTYb+MVy9MV8erlvmTNN8rRjfaN1TKP0499ZbCQi89el31NFVNLpTtjX9HJwMEbQte4Jb6fix+HYZDTE4u9gqSeVpfOzyDwHoSAkKVoAiP8XEDLCTftXp3NKhkEUaN5Xlj45QiaS1I6jMv3VPrI7ao1oArR4uyTH3QNxLiZRKPc7BBXx7OMQ0Mi4hkWwR4QSh3r0M+enDUw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ericsson.com; dmarc=pass action=none header.from=ericsson.com; dkim=pass header.d=ericsson.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wz+r5Os0vXykaN+VcX2Z1+Pv4/KUHQgkAXSEGoA4eSY=; b=fuuZsMsjjsEvL1sUyRupp2r8r6brdJHEoHZa25CwBf3Pb0g5JOamfG8/YeJVeJGprUlG5I3jXFHfmhWagdPmT0oxDMQfCgccNKvBgQET3AiYHfv6Dawe6m/IAR1QE5ioNLT/ptYhc8d/WhElEe34ZotlnSr59+HNh1YET4FrvKY=
Received: from AM0PR07MB3987.eurprd07.prod.outlook.com (52.134.82.159) by AM0PR07MB5139.eurprd07.prod.outlook.com (20.178.19.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2878.11; Sat, 4 Apr 2020 12:26:03 +0000
Received: from AM0PR07MB3987.eurprd07.prod.outlook.com ([fe80::57b:b81e:33ec:5512]) by AM0PR07MB3987.eurprd07.prod.outlook.com ([fe80::57b:b81e:33ec:5512%7]) with mapi id 15.20.2900.012; Sat, 4 Apr 2020 12:26:03 +0000
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: Abhijan Bhattacharyya <abhijan.bhattacharyya@gmail.com>
CC: Thomas Fossati <Thomas.Fossati@arm.com>, core <core@ietf.org>
Thread-Topic: [core] Using CoAP for P2P
Thread-Index: AQHWCMVROB2ppf3kDkGCzoMwIoGd3KhmXWeAgAEvGgCAAYynAA==
Date: Sat, 04 Apr 2020 12:26:03 +0000
Message-ID: <CF1E6A23-243F-47A3-9DFB-BB244E96302B@ericsson.com>
References: <CAEW_hyzh3FAvHi1eTkbyGn99o4nFgcH1xP90FdQ6N9sHsAJVYQ@mail.gmail.com> <A8E6E9AA-2E34-439E-8761-53385086CDB9@arm.com> <CAEW_hyy+0fViN8dMWiCi_QHjeD5J4DUAnoRUg5MAKS6fQ3DzcQ@mail.gmail.com> <7B20E77F-CFF4-4735-A0C2-99121CD352D3@ericsson.com> <CAEW_hyzbtq6VbQMq5PhfAQjf6LLz-7t_9He-C_kaU5jztsf20A@mail.gmail.com>
In-Reply-To: <CAEW_hyzbtq6VbQMq5PhfAQjf6LLz-7t_9He-C_kaU5jztsf20A@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/10.1e.0.191013
authentication-results: spf=none (sender IP is ) smtp.mailfrom=christer.holmberg@ericsson.com;
x-originating-ip: [188.127.223.154]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: b1f1527f-4465-43cf-164c-08d7d89357ac
x-ms-traffictypediagnostic: AM0PR07MB5139:
x-microsoft-antispam-prvs: <AM0PR07MB5139A4AB6C7E72EA4E020F5A93C40@AM0PR07MB5139.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 03630A6A4A
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM0PR07MB3987.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(10009020)(4636009)(366004)(376002)(39860400002)(396003)(136003)(346002)(8676002)(66556008)(26005)(66446008)(66574012)(76116006)(91956017)(54906003)(5660300002)(186003)(66476007)(316002)(6506007)(71200400001)(66946007)(6916009)(53546011)(44832011)(966005)(64756008)(86362001)(478600001)(6512007)(33656002)(36756003)(6486002)(8936002)(81166006)(2906002)(81156014)(4326008)(2616005); DIR:OUT; SFP:1101;
received-spf: None (protection.outlook.com: ericsson.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: +IGmAejH8RAZ5rMboPDZ5XTwdz5qAT95N+kOPr0VGOzV1DUE3rEsk8RIba9/sY0WFr4alddgPTSiDPQFW57brp9M+w2kZUT1ZL7ogq/cgdrrWYDPQyDXEgfUHPSLKUMC3LSDxv0ZeFN+g7a347QXUFV8ojxGrkm6X+UgNnsCedyokFccnH2Ofa5EcbpyC5G6xtjkcted3RrWAwBdrK52R9RqRcg8nAQI1vMbRjLRuYrlQESouh1sMrPwNVvQsIjYWPSa4W1/khseojUUX1wjGQRkcwtFSkVxkGKQSyXTco7SZnJKW5XxRos2xTdLveH7BPRIPGgcakXKn/kL/QNdpIeoEjSt78MBAvxATofDntDkD/rMFHee9f1eSoJKgY+LwmJZg1K1uwv+tWPqM/ZrjAvxVRznfJXuiPR95oPPeHhmXye+TiUCPXekOEdgqoV5yWtFr1xo36ssIFLi8IMeyisdi/JzYerLfIBUhrrpAKSjnAZvwWxbTWnrvfHRgWHZDvOQdkz0BffJQe18qVRt6Q==
x-ms-exchange-antispam-messagedata: cDlMTy1vyfzkAaMNpZeCeUUfZB9A07jY6pjLzZb5Bg/860Yh4NwHqwws/lJKdi4is6bRbkGQ0iUj1TH7Onz6rFU4viWmHz4LKjf8E+aMzCmLkOtyJ2ccC9tOdLmN5PDxktObzBCvbeHS1bRrYLat6Q==
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_CF1E6A23243F47A39DFBBB244E96302Bericssoncom_"
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-Network-Message-Id: b1f1527f-4465-43cf-164c-08d7d89357ac
X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Apr 2020 12:26:03.8082 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: jO9y6YKBgI1GzVIr8x1y7ZZLO4lWo/OarEhTDe2cww4b9hfw9ojW6LjVN1Lm3WVJM6ZMNEBo5xCUWQjcp9R6seX7KwVgn3rS/QtiHZ19EgQ=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR07MB5139
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/IiLU9PyEzle6gBmrDMw6H029Cws>
Subject: Re: [core] Using CoAP for P2P
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.29
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, 04 Apr 2020 12:26:09 -0000

Hi,

>A bit of more inputs:
>We proposed a delay-sensitive time-series streaming mechanism by extending CoAP and presented in last Bangkok IETF. We called it A-REaLiST (Adaptive RESTful Real-time Live Streaming for Things).
>The draft is here: https://tools.ietf.org/html/draft-bhattacharyya-core-a-realist-00
>The relevant research work was published in 2018 Globecom workshop: Abhijan Bhattacharyya, Suvrat Agrawal, Hemant Kumar Rath, Arpan Pal: "Improving Live-Streaming Experience for Delay-Sensitive IoT >Applications: A RESTful Approach" (https://ieeexplore.ieee.org/document/8644521).

What exactly do you want to standardize? As long as one device acts as a client, and the other as a server, the current mechanisms should work.

Now, if you want to send GETs etc in both directions, I assume that each endpoints would act as both client and server.

Regards,

Christer





On Fri, Apr 3, 2020 at 12:11 AM Christer Holmberg <christer.holmberg@ericsson.com<mailto:christer.holmberg@ericsson.com>> wrote:
Hi,

If you are interested in P2P, you might be interested in the thin-ICE presentation that was given at the T2TRG meeting in Singapore:

https://github.com/t2trg/2019-11-singapore/blob/master/slides/44-thin-ICE-151119-Singapore.pdf<https://protect2.fireeye.com/v1/url?k=7a432dea-26972098-7a436d71-86859b2931b3-a91f2d2ed99da951&q=1&e=b329b088-d6d0-4446-8ddf-5589a9e3abcd&u=https%3A%2F%2Fgithub.com%2Ft2trg%2F2019-11-singapore%2Fblob%2Fmaster%2Fslides%2F44-thin-ICE-151119-Singapore.pdf>

Regards,

Christer


From: core <core-bounces@ietf.org<mailto:core-bounces@ietf.org>> on behalf of Abhijan Bhattacharyya <abhijan.bhattacharyya@gmail.com<mailto:abhijan.bhattacharyya@gmail.com>>
Date: Thursday, 2 April 2020 at 11.04
To: Thomas Fossati <Thomas.Fossati@arm.com<mailto:Thomas.Fossati@arm.com>>
Cc: core <core@ietf.org<mailto:core@ietf.org>>
Subject: Re: [core] Using CoAP for P2P

Hi Thomas,
What I am looking at is a situation where I have two nodes each having a time-varying resource. Both want to push the states of the respective resource to the other node within a common application context. However, these exchanges are naturally asynchronous. May be I can think of it more like a chat. A typical client-server or observe relationship will not serve the purpose. Actually both should have a client and server instance running under a common application. Then either each can *observe* the other, or can *post* the other. That is how we can do that without a central server.

If my understanding is right, according to CoAP specification, the nodes which can have both server and client (to the origin server) are "intermediary" nodes. The only example of "intermediary" considered in the spec is the proxy node. But, anyway the situation in this case does not concern with intermediary. Both are origin server and end-client together.

Is there any standardized mechanism to handle this situation?

Thanks.

On Wed, Apr 1, 2020 at 5:32 PM Thomas Fossati <Thomas.Fossati@arm.com<mailto:Thomas.Fossati@arm.com>> wrote:
Hi Abhijan,

On 01/04/2020, 12:31, Abhijan Bhattacharyya <abhijan.bhattacharyya@gmail.com<mailto:abhijan.bhattacharyya@gmail.com>> wrote:
> Is there any standardized mechanism to use CoAP for a P2P connection?

Not sure whether RFC 7650 would fit your needs but worth having a
look -- if you haven't already.

cheers
--




IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.


--
Regards,
Abhijan Bhattacharyya,
Technologist by profession [IoT| Internet Protocols| 5G]


--
Regards,
Abhijan Bhattacharyya,
Technologist by profession [IoT| Internet Protocols| 5G]