Re: [core] Using CoAP for P2P

Christer Holmberg <christer.holmberg@ericsson.com> Thu, 02 April 2020 18:41 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 AF26E3A0141 for <core@ietfa.amsl.com>; Thu, 2 Apr 2020 11:41:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.1
X-Spam-Level:
X-Spam-Status: No, score=-2.1 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, 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 eJca5DvykVa1 for <core@ietfa.amsl.com>; Thu, 2 Apr 2020 11:41:35 -0700 (PDT)
Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70083.outbound.protection.outlook.com [40.107.7.83]) (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 4AE583A003B for <core@ietf.org>; Thu, 2 Apr 2020 11:41:34 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BYRwurQGU1T3p/3GT0yEToF21Hy4M9UFm4Oyu/Ah/6jK+VkDGjscm2J9KadXgDttH+R0xPqVZnKpkVQLdicJ28p4XPl5l6y235cFojRbb/SAKwpb49dH14xWQHF0qEt86Ft6M7XWcubmlCaCXbt5UsfTfjuNzl/i2bpVOOWI8lJRJmmBI78oLl3BVmYQBIJn2yDMJJvu+JlxHoFnUBnJB7Uonvl212hCiuOZ6WTBf7nj2LexWJjDXRL1pIZKDz3t7MTr4fSJWzCPyZnLT/7q4V+54au376cPKkU/8apiu3sX0tvJz6jaCgroJDzL0ESXaMKxuQSF3LBLqbqZjAMfJw==
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=jvWbcEsIHfuGSj9zz65zRMb6RnRs1Kb7Fr/g2feipqQ=; b=akRchHOEU5q4DOGZs4Exbmg1uOQV6EafvId/vGeU5tixXEu4UEyJl40EAvvQ76mTTFZu4/DhloJx2wACmR2TPJNl6BXJ8MnUCcJ5PriMCzHhIwXoPIcdGM7Nvp5o0eP2REI354+Tai3A/MEKyLxQ+NKHIZpKQIJOdDegsyyChkVL7ye5CmapO5r2dgobgQ+D+5f3j7831lZg3CVHLYxDu3DxtKPW0h+hoHF4y6N7UcwSWc8jeRl019DGwLKWyzxx09SgNTEuLFFfsOzHZZmdLJFhxJqVtlMhFoFhbAiB1sf3puT4cARJFQeXWfhvwSHeVCDP1EJXv+jYX3d5Oe6s/g==
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=jvWbcEsIHfuGSj9zz65zRMb6RnRs1Kb7Fr/g2feipqQ=; b=F/WrAuXKYzADElyCkFe9Anlg2JZNeeIZMC3SMl4Ut1tzUQP/34+bncSCONRR/uiFl9IGCRwnGAhmdBtqyRvOSlfBVec3YwrKzKY6CJiyqLzv30mQqBsiyvMFX927+89YxliULENPC70dNxCisqtgGhVUEcBZd0jsLYg9FRnnQ9Q=
Received: from AM0PR07MB3987.eurprd07.prod.outlook.com (52.134.82.159) by AM0PR07MB4148.eurprd07.prod.outlook.com (52.133.59.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2878.14; Thu, 2 Apr 2020 18:41:32 +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.2878.014; Thu, 2 Apr 2020 18:41:32 +0000
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: Abhijan Bhattacharyya <abhijan.bhattacharyya@gmail.com>, Thomas Fossati <Thomas.Fossati@arm.com>
CC: core <core@ietf.org>
Thread-Topic: [core] Using CoAP for P2P
Thread-Index: AQHWCMVROB2ppf3kDkGCzoMwIoGd3KhmXWeA
Date: Thu, 2 Apr 2020 18:41:32 +0000
Message-ID: <7B20E77F-CFF4-4735-A0C2-99121CD352D3@ericsson.com>
References: <CAEW_hyzh3FAvHi1eTkbyGn99o4nFgcH1xP90FdQ6N9sHsAJVYQ@mail.gmail.com> <A8E6E9AA-2E34-439E-8761-53385086CDB9@arm.com> <CAEW_hyy+0fViN8dMWiCi_QHjeD5J4DUAnoRUg5MAKS6fQ3DzcQ@mail.gmail.com>
In-Reply-To: <CAEW_hyy+0fViN8dMWiCi_QHjeD5J4DUAnoRUg5MAKS6fQ3DzcQ@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: 055ab732-89cd-4738-9fc3-08d7d7357707
x-ms-traffictypediagnostic: AM0PR07MB4148:
x-microsoft-antispam-prvs: <AM0PR07MB414812F4D85BEB5DB3D53B5B93C60@AM0PR07MB4148.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 0361212EA8
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)(396003)(39860400002)(346002)(376002)(366004)(136003)(66476007)(2906002)(966005)(316002)(6506007)(33656002)(6486002)(53546011)(478600001)(36756003)(4326008)(8676002)(8936002)(110136005)(81156014)(81166006)(2616005)(86362001)(71200400001)(44832011)(26005)(66946007)(64756008)(66446008)(66574012)(5660300002)(66556008)(6512007)(76116006)(186003); 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: GaqY17p4uj/SfIfgrXMdLYoggwY/1KiGVk9aEsRpCTWdan5N1+g+xw0ytsJu4SfJIYNFju0FpcsV1vmM5Zhue3zIhrY6kbLOBJiXohDKuN+tttVnMzhXRrxhCzsZvePXA9zDtC8cgku8HfnLeColq3wuUinjz4iDinVustJquFG6hKloDYdQuB8DSZ93FK4gRey47/XOSOmhMruYNO/1TeGN/kCEQJBC1b+XBQlcfogvNnuSiJL09iVxJWQBpGEJoocZoHyzVRF0ya1s6P9OdQMl/mYvYc807vqZL8bAqPSwH0VxsUzGVFydrLJyTa4n349LxaFZ4h8prmq+/Gd/OlIhKB7cXc3GzbAAvQ7qzbrffaKWTxOykx8JmRUFUgNO8rX2098//epLSfgyb1xHL7i/POGxq16jSoE0z4dFJ8PFJMJfFYVc4dLB775ZSFLUvx6qqY19Yob8mUiGa9SpZi8EIXscelZoQ9Q5wABNwQm93uRLhBzL3+M5euPVSqTL4syQRM3tiy/NBIAJ3DMZyw==
x-ms-exchange-antispam-messagedata: tiDKzHVReNHdeaOn0+XMqLpIO12EknciYWTEnAih2a5S+9W8TPQ5sgSM5BE0YGkAiPVUBsNcLpis8CJIBhnXP8nJT19Uf2/b9LvM3HRrwetnVE5hZoC5F5NtEs6LpoE0j5mByORB7G5xxnQfG/mAiA==
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_7B20E77FCFF44735A0C299121CD352D3ericssoncom_"
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 055ab732-89cd-4738-9fc3-08d7d7357707
X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Apr 2020 18:41:32.5881 (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: zQ4qYV9W1m00EtzlU2h+MdeHstO04vRPdmSS9kXBF5cD/YCHWnXaqpV8nupw5B8FTNkGK+vQhi59Fuw04+Jto9PUgFtds9yg4IBHElPAe94=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR07MB4148
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/vIFPE-8GiIJPmWWxQj3JgbkvqkI>
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: Thu, 02 Apr 2020 18:41:39 -0000

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

Regards,

Christer


From: core <core-bounces@ietf.org> on behalf of Abhijan Bhattacharyya <abhijan.bhattacharyya@gmail.com>
Date: Thursday, 2 April 2020 at 11.04
To: Thomas Fossati <Thomas.Fossati@arm.com>
Cc: core <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]