Re: [core] [Anima] constrained resources at root for debugging connectivity

Esko Dijk <esko.dijk@iotconsultancy.nl> Wed, 21 July 2021 07:48 UTC

Return-Path: <esko.dijk@iotconsultancy.nl>
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 C67B43A0878; Wed, 21 Jul 2021 00:48:33 -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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H2=-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=iotconsultancy.nl
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 Su0Y9tVKeEXt; Wed, 21 Jul 2021 00:48:28 -0700 (PDT)
Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20097.outbound.protection.outlook.com [40.107.2.97]) (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 8BE2D3A0875; Wed, 21 Jul 2021 00:48:28 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=f+q/QnswvDyWAeVGcKohK0BJgL7f6kqDSSb3iYa9oie3E0GApmDAIFma2Gw3J89CnF0PaG/gYpEWLggZi2KfKop/gmMw23LFk2j9k7MGusXXH3KJ2hH70/Rk6o2FL1UqSsof3CYLMS3u3Av26Tp29h1x+gR2Q8qy6evLAGv8t0TzVjxTMWc5S7yDbhYgHqABUYyyffax4FcquWQ3Ng/KWlA+6DCYNnukXl5C+xczbG87gkLTjIe1wMQutIHulCzZXARjmiNWSvEYkg3IuqxaSUxpCDmyD7gcPDga0+J7PssrrrPGGNo++Li02DoJ2S0LGs54+J5bF8t1PYF+AT+fLw==
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=BLDVFUEst6UlTFlbvaTD6iGfDsyMJ1asy9hSkQLCKzU=; b=D/yTA4tn40HXpM+OvBfDP/JU9dR4kxSTZpMHtK7/c3Cyt5ST07uQ3fJcEqy+9G7oaTF2+p5X4TbJdIvfzYTTAEyIjC6bvD/Zh5e9soY1ADm1iqidnFIK7EKR1NNTOWJ0GzkSFsvxXkxVa7PqvoK+cc85vdDReUJX/tfT8NktkDxBj/c5fyTXRwpyxmAY0CGqLCe8a7N6sSzXCgBoSqxHVvS1g2Sgvc0O8vq1qsJCKpP+XVIhGinRcJFPxxkktLxV5CHbmQG6Tt6XTVxp/kMHphBnJJ+GMA2P0k5fWv0qN2aVnIkO1JdujeWhe7Z4CPe/cg0yEji1cVrF1GJlAZG0Aw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=iotconsultancy.nl; dmarc=pass action=none header.from=iotconsultancy.nl; dkim=pass header.d=iotconsultancy.nl; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iotconsultancy.nl; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=BLDVFUEst6UlTFlbvaTD6iGfDsyMJ1asy9hSkQLCKzU=; b=hQiim8/w5LgE2ENDqn7gCshK3LlDpfpQYTTbpllzItugFmCN/fBD4ab1/y+/4gNH5x4a1wS4bovmff8M1WXHvymMfzMHM5xp/plY99BQt5jCgYIkeyzmJV8k6bopOVRFnpsJscSrbS4+vxdf5wTLHw7xhQqDXmvjdRijf932Rnc=
Received: from AM8P190MB0979.EURP190.PROD.OUTLOOK.COM (2603:10a6:20b:1d3::8) by AM9P190MB1028.EURP190.PROD.OUTLOOK.COM (2603:10a6:20b:268::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4331.25; Wed, 21 Jul 2021 07:48:24 +0000
Received: from AM8P190MB0979.EURP190.PROD.OUTLOOK.COM ([fe80::adb7:fe6:5106:a8b9]) by AM8P190MB0979.EURP190.PROD.OUTLOOK.COM ([fe80::adb7:fe6:5106:a8b9%9]) with mapi id 15.20.4331.034; Wed, 21 Jul 2021 07:48:24 +0000
From: Esko Dijk <esko.dijk@iotconsultancy.nl>
To: Michael Richardson <mcr+ietf@sandelman.ca>, "anima@ietf.org" <anima@ietf.org>
CC: "core@ietf.org" <core@ietf.org>
Thread-Topic: [Anima] constrained resources at root for debugging connectivity
Thread-Index: AQHXfWyxp2MaVB//mEmr+125ENTtbKtNDUMw
Date: Wed, 21 Jul 2021 07:48:24 +0000
Message-ID: <AM8P190MB097925B04E575071242002CFFDE39@AM8P190MB0979.EURP190.PROD.OUTLOOK.COM>
References: <AM8P190MB097901225CE72EF7973ADCC4FD139@AM8P190MB0979.EURP190.PROD.OUTLOOK.COM> <AM8P190MB09791181A1D8F74ECDC6F04FFD129@AM8P190MB0979.EURP190.PROD.OUTLOOK.COM> <d2da849f46f57a410d28f47d4ed32f97@bbhmail.nl> <AM8P190MB0979B2CB8DEDB7E9FDCF9C73FDE19@AM8P190MB0979.EURP190.PROD.OUTLOOK.COM> <6b1b6fc38752b6f0598d4289c7cfeb31@bbhmail.nl> <AM8P190MB0979C689144DE6989C5D33E7FDE29@AM8P190MB0979.EURP190.PROD.OUTLOOK.COM> <8c3348a5adb2b2c0d0a4b615cadc75a6@bbhmail.nl> <AM8P190MB0979EC82DA418ECF74440BA9FDE29@AM8P190MB0979.EURP190.PROD.OUTLOOK.COM> <57da5e79b97eeca3967da119a60b0ed6@bbhmail.nl> <AM8P190MB0979EBF594EA31877BFBED5DFDE29@AM8P190MB0979.EURP190.PROD.OUTLOOK.COM> <18975.1626788349@localhost>
In-Reply-To: <18975.1626788349@localhost>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: sandelman.ca; dkim=none (message not signed) header.d=none;sandelman.ca; dmarc=none action=none header.from=iotconsultancy.nl;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: d417a481-9db4-4ce0-80b2-08d94c1beb68
x-ms-traffictypediagnostic: AM9P190MB1028:
x-microsoft-antispam-prvs: <AM9P190MB1028FA1327036B6311D04C28FDE39@AM9P190MB1028.EURP190.PROD.OUTLOOK.COM>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: saBwCFXKnORqwbKN7TmWnT0RodzQ5MEOVL4c2RzScsnWeXR5O27WyI66SZpBoGMDegjvZGz8AyU/hsupPtVkXjId/HbYlVGBKwcyb8UfurNEK5NCsZ4ymfewwU0KP8tKnBafD+g47zkPiriwgucBbG3WJ+EWu5wZyqeCqHpkKt7iP2t2LYzs+kiKMZTCinoLtcgCtBAK6gLnW3lNbJRtwAlAEyhNnHtMlHtKSi9/YqTLvmU3ypTTxA+ON2fnN/6NLSHa7i/yWrilc0vevxTtUrjtAHQAoLg0AooXaXK+Z8kFMz5giRhQ/23iw83s9Wyzox9+FhU0lbi39y7VSnsAM2S9LE+mvKSLFb75DrBNyj4Q4zG6arEtnZKZ/Fn8JVQlmPWRQlhZe9IogOcs4GaAFV3wjOfxRA7GJMElq4svcs0ScoHNL2XFiznr7sjss6jL3LFQNj/mbHnp0ZCMBSBvyY49b3K5/mwkwCUpJXzecCMzzn20+R4Qqr8dYASccL5LNekKR2X/GakdSilGJcNL33D7lF12UYUB1Y4dmMRtXjABSkTh/nPvJxfkw+JLfDG2GkRJhzBineOEan1vzdZ3uv9G+f39HeMm3l9UTt1bgxt5cj5VrpembyPCy3PXv2njFzFbcUjaf6xJQVtDQCAHZBSpPCan5hc3YSq4cE4f0zBmpwrT0meX6FkllgnI034PlsSBwYYvGEYJQOiP/x84nGBNsJVZwW0KcOZckVh9B9IST6TWCEL6aPJsmA65rGVgEeqdg8B1eoEya7bHkV0LK5FmZKc51A3vzsaePq8Ks9c=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM8P190MB0979.EURP190.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(366004)(346002)(396003)(376002)(39830400003)(136003)(66446008)(5660300002)(76116006)(86362001)(8936002)(66476007)(38100700002)(6506007)(122000001)(66946007)(966005)(52536014)(66574015)(4326008)(66556008)(64756008)(71200400001)(53546011)(7696005)(44832011)(8676002)(33656002)(2906002)(83380400001)(55016002)(186003)(110136005)(9686003)(478600001)(316002)(38070700004); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?utf-8?B?THJmbm9kQ1VXcm1NVmJQTU1JMmcyYlRPNGhCSFZ6V25CYVpIY2JialFPenky?= =?utf-8?B?K1pRdEZ3eHdob0tJTGRldUNNb0tSRUZWWHBUa1h4UnJXZXd3cXNlR0xuMXQz?= =?utf-8?B?RkJhM1lzUzdJVTE4d3dCSDNOT0FlTEhEc2ovUENwNUV4VGdXbkliZWhtc0Nl?= =?utf-8?B?L0xmbGlZSnJUbWttWkVTWUhvZVc5OUxEWGhMUXpHNjJ6RVVQNE5YQnFUb2pr?= =?utf-8?B?dGNnZFhmcHBDWTlmN2ZKK0ZpODRKcGFHMmtMeHRqWnRaRURSZUVtekJReU1q?= =?utf-8?B?ZGw3blJMbyt1c1l6MGxLQVQyd0pnY2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anJqYVAwVS85anlucG5Kc3FIWDRjUDc5Z1UrSEZzVXZv?= =?utf-8?B?Y3crQzRLbTZoOHNZellTNnRiQlJlYmxySlI3UldyeCtBNnRWVERONWE2eVRm?= =?utf-8?B?ODVoWU5rcnNzT2RCOStlMFZHQ0tOTElaWkdqS0hZSC9Hb2ZXYkpzSWk3ei9Q?= =?utf-8?B?SDQ1LzM1d01Ja2l1Wnl0ZGt3cHJMa2RrOFFqekF4djhoaEVaN1N0R3RRdkZy?= =?utf-8?B?WG5tc0JyRUVSYnViZDhaOHppM0FlSG5WaWRwdmVFTDl2THJ2cDRHRXlBbGxv?= =?utf-8?B?anRtTGJRYVo3VTlES1BWRzIzcFFqRWRkdkdZY0srWDF3UnVYNFJpV1gvL2ww?= =?utf-8?B?QXpNdm1SQ3Z4eWQ1NFlxdG1POGFTNGVOQzJaQ0NYMGNya1RQV29TQ3c1ZEVm?= =?utf-8?B?cnJ0VDZkRHl4MEI4OFVBWkd0RCtwT0pCMHVYYkFqZ3FnZlN4NVBSQkdhd20v?= =?utf-8?B?b2RZUjViWmtpYVc2WkRiOHVrcGluZ0treGR4OTBNWHpaTVBVUVFxUkRwNW9T?= =?utf-8?B?WG1Wc25TcXVWZ2R0b0xlcGRNbkVoMCtMeUJ5WWx5a3cxV3JFTGRWSlFWaHM0?= =?utf-8?B?d282d1VJdERyZnNwTDd3eXZ0REgrZ2R5R1k4VnptUDBVUjdOT1c5T3A0Mjlo?= =?utf-8?Q?z3V7m+JP9r/ao?=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: iotconsultancy.nl
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: AM8P190MB0979.EURP190.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-Network-Message-Id: d417a481-9db4-4ce0-80b2-08d94c1beb68
X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Jul 2021 07:48:24.6221 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 58bbf628-15d2-46bc-820b-863b6774d44b
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: SR8Uxko+cjV+CU9sObUVDuIdsXnT0gSuHkabQT/qAky/5M57pl6E/eLTJCmP+YAXPpThtUdRJ2IQDEuTH6rTxZgmqC0KdmCpXc4TkvTeHwI=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9P190MB1028
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/DwwcrmKbBizzs-xqVNRLG3Xy5LY>
Subject: Re: [core] [Anima] constrained resources at root for debugging connectivity
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: Wed, 21 Jul 2021 07:48:34 -0000

Hi,

There is already a "CoAP ping" described in RFC 7252 that can be used. It does not access any resource, just the CoAP server endpoint at CoAP message layer. As a side effect of this ping your DTLS stack will set up the connection which is handy.

So I don't think we need a resource at / that produces 2.05 , this is for the maintainer of the server to decide how to allocate that resource space.
Besides we have already defined some well-known resources accessible with GET ( in core/est/brski) that the client could make use of to test connectivity.

Even a non-existing resource in the /.well-known/X space could be used just to get a 4.04 which confirms the server is working properly. This is even better that trying to GET a resource of who knows how large size.

Esko

-----Original Message-----
From: Anima <anima-bounces@ietf.org> On Behalf Of Michael Richardson
Sent: Tuesday, July 20, 2021 15:39
To: anima@ietf.org
Cc: core@ietf.org
Subject: [Anima] constrained resources at root for debugging connectivity


It was said in a private exchange:
    > There is no CoAP resource at the root /  hence the 4.04.  (Only the
    > MASA has a test HTTP resource at / )

I thought, what we need is a CoAP Ping/echo.
And I remembered:
  https://www.ietf.org/archive/id/draft-ietf-core-echo-request-tag-13.html#section-2.2

but, this is for the server to validate that the client is really there.

Should we recommend that Registrar put something at / that produces a 2.00?
(lowercase recommend)

--
Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 IøT consulting )
           Sandelman Software Works Inc, Ottawa and Worldwide