Re: [Ace] Early media-type registration for EST over CoAP

Hannes Tschofenig <Hannes.Tschofenig@arm.com> Wed, 16 May 2018 12:49 UTC

Return-Path: <Hannes.Tschofenig@arm.com>
X-Original-To: ace@ietfa.amsl.com
Delivered-To: ace@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2559D12946D for <ace@ietfa.amsl.com>; Wed, 16 May 2018 05:49:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.911
X-Spam-Level:
X-Spam-Status: No, score=-1.911 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_DKIMWL_WL_MED=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=armh.onmicrosoft.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 t4y3wjJ_kRdf for <ace@ietfa.amsl.com>; Wed, 16 May 2018 05:49:10 -0700 (PDT)
Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0080.outbound.protection.outlook.com [104.47.0.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AA90112706D for <ace@ietf.org>; Wed, 16 May 2018 05:49:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector1-arm-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=WAn4fdjHNAxgjbceNwfD8VDaXWJozFRSHUDpv0c790Y=; b=cakcJkBbGT+ToGVhHsjOivaZo2vtUOd2aPgJv4fmJULGLjf4wBQVTBSSc8dqgCb/r1bdrraVYPByJAxzydigtN8c+GDMmJZZquOQQrxl9O/RVv+h8MUpBUOxtqB4HzMDovccyA2zD7d6NYySGqAg9vgD4mewyy7Wuvrra2Eg/dU=
Received: from VI1PR0801MB2112.eurprd08.prod.outlook.com (10.173.75.16) by VI1PR0801MB2111.eurprd08.prod.outlook.com (10.173.75.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.776.11; Wed, 16 May 2018 12:49:06 +0000
Received: from VI1PR0801MB2112.eurprd08.prod.outlook.com ([fe80::7c43:c1a5:4f69:5365]) by VI1PR0801MB2112.eurprd08.prod.outlook.com ([fe80::7c43:c1a5:4f69:5365%17]) with mapi id 15.20.0755.018; Wed, 16 May 2018 12:49:06 +0000
From: Hannes Tschofenig <Hannes.Tschofenig@arm.com>
To: Michael Richardson <mcr+ietf@sandelman.ca>
CC: "ace@ietf.org" <ace@ietf.org>
Thread-Topic: [Ace] Early media-type registration for EST over CoAP
Thread-Index: AdPsKhcQ9FbwjekBT1SYYUyoYtG38gARurCAACPFG9AAA+LpAAABIS9w
Date: Wed, 16 May 2018 12:49:06 +0000
Message-ID: <VI1PR0801MB2112569A4E04F076D6B23F1EFA920@VI1PR0801MB2112.eurprd08.prod.outlook.com>
References: <VI1PR0801MB21122FFD4F19026259ABDF55FA930@VI1PR0801MB2112.eurprd08.prod.outlook.com> <30374.1526404823@localhost> <VI1PR0801MB2112C0B4E644A32082BA1257FA920@VI1PR0801MB2112.eurprd08.prod.outlook.com> <29971.1526472952@dooku.sandelman.ca>
In-Reply-To: <29971.1526472952@dooku.sandelman.ca>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=Hannes.Tschofenig@arm.com;
x-originating-ip: [156.67.194.220]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; VI1PR0801MB2111; 7:paq395DYGuqbXeANUDzoK1mdjcSdiPsPSbkKhYmXRS//hVzHK9GZZ4ANPtgvfSxsfc3vkIZQ81df+tWK9PthfXGqrqnAEl/D/sDSUQkDz+FU0UEX8RzbKbeYH57WdLdLySWGyu4ISf9hNK+vUrPtp7QBM5AXy//3zr7ZGeSsP19f6gC3T1Pww6KP0HBp65abW/KT+MxXM6TSEvW5FbsT8OSGYU3tgsFkmRX0FR1C8l+nw07w9Oi4pnNIZ+Y9GVYA
x-ms-exchange-antispam-srfa-diagnostics: SOS;
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4534165)(4627221)(201703031133081)(201702281549075)(48565401081)(2017052603328)(7153060)(7193020); SRVR:VI1PR0801MB2111;
x-ms-traffictypediagnostic: VI1PR0801MB2111:
x-microsoft-antispam-prvs: <VI1PR0801MB2111E45B99746A64498A944DFA920@VI1PR0801MB2111.eurprd08.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(180628864354917);
x-ms-exchange-senderadcheck: 1
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3231254)(944501410)(52105095)(3002001)(93006095)(93001095)(10201501046)(6055026)(149027)(150027)(6041310)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(20161123558120)(6072148)(201708071742011); SRVR:VI1PR0801MB2111; BCL:0; PCL:0; RULEID:; SRVR:VI1PR0801MB2111;
x-forefront-prvs: 0674DC6DD3
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(396003)(39380400002)(366004)(39860400002)(346002)(40434004)(189003)(199004)(13464003)(7736002)(486006)(305945005)(55016002)(11346002)(25786009)(476003)(53936002)(6436002)(229853002)(446003)(6306002)(9686003)(6246003)(966005)(4326008)(14454004)(5250100002)(72206003)(5890100001)(186003)(478600001)(26005)(102836004)(2900100001)(53546011)(6506007)(59450400001)(76176011)(66066001)(7696005)(81166006)(99286004)(2906002)(81156014)(8676002)(3280700002)(8936002)(3660700001)(5660300001)(97736004)(105586002)(316002)(93886005)(33656002)(74316002)(3846002)(86362001)(6116002)(106356001)(68736007); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0801MB2111; H:VI1PR0801MB2112.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1;
received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts)
x-microsoft-antispam-message-info: DcQv4ZJIRDWmrVVEP0eZpO+k4mzl6cKbQpDUExfNzj/mpgPYguuPJK8kKEOXuI3ms2VgSg6jDvHa5CqI3yHxI+6pNQ998okmed5UA3MyTn2HdEafe7OkzlS9q1lzCdYzxgDWqofV8WRiW4XGgn2g6FxKpZaSqdg4GEpyoWDJR9j0tdmGNSh616DZgSk971+O
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-MS-Office365-Filtering-Correlation-Id: 50866aab-a315-4cf6-bdf2-08d5bb2b6961
X-OriginatorOrg: arm.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 50866aab-a315-4cf6-bdf2-08d5bb2b6961
X-MS-Exchange-CrossTenant-originalarrivaltime: 16 May 2018 12:49:06.7700 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d
X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0801MB2111
Archived-At: <https://mailarchive.ietf.org/arch/msg/ace/6STWYWb0wstLTP4LmSniExEVH6s>
Subject: Re: [Ace] Early media-type registration for EST over CoAP
X-BeenThere: ace@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "Authentication and Authorization for Constrained Environments \(ace\)" <ace.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ace>, <mailto:ace-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ace/>
List-Post: <mailto:ace@ietf.org>
List-Help: <mailto:ace-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ace>, <mailto:ace-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 16 May 2018 12:49:13 -0000

I don't have a strong opinion about option #2 appears to be slightly better.

I guess hard-cording URLs will not work....

-----Original Message-----
From: Michael Richardson [mailto:mcr+ietf@sandelman.ca]
Sent: 16 May 2018 14:16
To: Hannes Tschofenig
Cc: ace@ietf.org
Subject: Re: [Ace] Early media-type registration for EST over CoAP


Hannes Tschofenig <Hannes.Tschofenig@arm.com> wrote:
    >> Hannes: do you have any opinion about the necessity of going through
    >> /.well-known/core to get the short URL, vs just using a
    >> /.well-known/est URL?

Yes, exactly.  Is option #1 useful enough to justify the code to parse links?  Os is the code impact already paid for in your view?

    > (RTT for the lookup vs extra bytes in the URL)
    > Are you asking me about these two options:
    > Option #1 - going through /.well-known/core
    >      REQ: GET /.well-known/core?rt=ace.est
    >      RES: 2.05 Content </est-root >; rt="ace.est"


    > Option #2 - using a /.well-known/est URL
    >      REQ: GET /.well-known/est
    >      RES: 2.05 Content </est-root>; rt="ace.est"

--
]               Never tell me the odds!                 | ipv6 mesh networks [
]   Michael Richardson, Sandelman Software Works        | network architect  [
]     mcr@sandelman.ca  http://www.sandelman.ca/        |   ruby on rails    [


--
Michael Richardson <mcr+IETF@sandelman.ca>, Sandelman Software Works  -= IPv6 IoT consulting =-



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.