Re: [core] Endpoint Client Name / Endpoint Name in RD draft
Jim Schaad <ietf@augustcellars.com> Sat, 07 April 2018 05:08 UTC
Return-Path: <ietf@augustcellars.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 6FBBA12420B for <core@ietfa.amsl.com>; Fri, 6 Apr 2018 22:08:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.909
X-Spam-Level:
X-Spam-Status: No, score=-1.909 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 kXxjKWhhlaH9 for <core@ietfa.amsl.com>; Fri, 6 Apr 2018 22:08:37 -0700 (PDT)
Received: from mail2.augustcellars.com (augustcellars.com [50.45.239.150]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D79F7124319 for <core@ietf.org>; Fri, 6 Apr 2018 22:08:36 -0700 (PDT)
Received: from Jude (73.180.8.170) by mail2.augustcellars.com (192.168.0.56) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Fri, 6 Apr 2018 22:06:18 -0700
From: Jim Schaad <ietf@augustcellars.com>
To: 'Hannes Tschofenig' <Hannes.Tschofenig@arm.com>
CC: core@ietf.org
References: <VI1PR0801MB2112B52094B182F5D44C4F64FAA40@VI1PR0801MB2112.eurprd08.prod.outlook.com> <A484D917-677C-4B29-BBAD-DDDE34B50303@ericsson.com> <VI1PR0801MB21128EA2B70DEEE7C5775A62FAA40@VI1PR0801MB2112.eurprd08.prod.outlook.com> <070801d3cc3f$8d59e0c0$a80da240$@augustcellars.com>, <VI1PR0801MB2112FB25797DCB8F546C148DFAA40@VI1PR0801MB2112.eurprd08.prod.outlook.com> <7BA9B091-F489-4ED4-B6EC-5AD7D971D6F7@ericsson.com> <VI1PR0801MB2112A692CB307D213A89DFC8FABB0@VI1PR0801MB2112.eurprd08.prod.outlook.com>
In-Reply-To: <VI1PR0801MB2112A692CB307D213A89DFC8FABB0@VI1PR0801MB2112.eurprd08.prod.outlook.com>
Date: Fri, 06 Apr 2018 22:08:27 -0700
Message-ID: <003501d3ce2e$782cb650$688622f0$@augustcellars.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_0036_01D3CDF3.CBD0C480"
X-Mailer: Microsoft Outlook 16.0
Content-Language: en-us
Thread-Index: AQGcf25aV3GTfadMlg2+OgOm0/j8CAHJGZYkAVowTP0C25wp5gGJaVBZApB/NY4CPYyHEaQAmi2g
X-Originating-IP: [73.180.8.170]
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/3XQ2AeAHnIFfP5IP9lD18SWv568>
Subject: Re: [core] Endpoint Client Name / Endpoint Name in RD draft
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.22
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, 07 Apr 2018 05:08:40 -0000
Hannes, I have been thinking about this both from what you said, but also from the point of view that I have been trying to figure out how to get security implemented for a resource directory and how to specify the what the set of legal security options would be for a registration. I agree that it makes no sense for an endpoint registering itself to provide an endpoint name, this should be inferred from the security context. However, the parameter is needed for third party registrations. If you have somebody registering a set of end points, the security context might say that you can register any endpoint matching floor3-* My initial idea was to just use the path + queries to control access so /rd/ep-register?ep=device1 However, I am now trying to deal with the difference between, if present it must be this vs if present it must be this, if not present then default to this. Jim From: Hannes Tschofenig <Hannes.Tschofenig@arm.com> Sent: Thursday, April 5, 2018 3:03 AM To: Jaime Jiménez <jaime.jimenez@ericsson.com> Cc: Jim Schaad <ietf@augustcellars.com>; core@ietf.org Subject: RE: [core] Endpoint Client Name / Endpoint Name in RD draft Hi Jaime, Thanks for the pointer to earlier discussions on this topic. Looking at the discussions from 2014 it appears that there is some misunderstanding of how this endpoint name interacts with the security protocol and what vulnerabilities are created by relying on an identifier that is unauthenticated. I am curious what we lose if we remove this identifier altogether. The only thing that comes to my mind is a debugging capability where you might want to test your system without any security protocol. In any practical deployment I would not recommend to use RD without security. Ciao Hannes From: Jaime Jiménez [mailto:jaime.jimenez@ericsson.com] Sent: 05 April 2018 07:52 To: Hannes Tschofenig Cc: Jim Schaad; core@ietf.org <mailto:core@ietf.org> Subject: Re: [core] Endpoint Client Name / Endpoint Name in RD draft Hi, You mean we should remove the endpoint name altogether, so not using URNs to identify CoAP endpoints for example? The rationale for using endpoint name was at least discussed in 2014, back then it seemed useful in the context of LWM2M. http://ietf.org/mail-archive/web/core/current/msg05645.html Ciao! El 4 abr 2018, a las 22:01, Hannes Tschofenig <Hannes.Tschofenig@arm.com <mailto:Hannes.Tschofenig@arm.com> > escribió: Hi Jim, I had various comments: First, I argue that the LwM2M spec and the RD draft should be in sync regarding the name of the parameter. Second, I believe that the security consideration section is correct in the threat description but came to the wrong conclusion regarding the use of the parameter. In essence, the parameter should be optional and probably only used for debugging. Third, I went as far as saying that the endpoint name parameter should actually be removed altogether. I can already see how those deploying it will get it wrong and will introduce security problems. Ciao Hannes From: Jim Schaad [mailto:ietf@augustcellars.com] Sent: 04 April 2018 21:06 To: Hannes Tschofenig; 'Jaime Jiménez' Cc: core@ietf.org <mailto:core@ietf.org> Subject: RE: [core] Endpoint Client Name / Endpoint Name in RD draft Hannes, I am not completely clear. Are you saying that the RD should not have the endpoint name parameter as a defined property or something else? Jim From: core <core-bounces@ietf.org <mailto:core-bounces@ietf.org> > On Behalf Of Hannes Tschofenig Sent: Wednesday, April 4, 2018 10:41 AM To: Jaime Jiménez <jaime.jimenez@ericsson.com <mailto:jaime.jimenez@ericsson.com> > Cc: core@ietf.org <mailto:core@ietf.org> WG <core@ietf.org <mailto:core@ietf.org> > Subject: Re: [core] Endpoint Client Name / Endpoint Name in RD draft Hi Jaime, using IP address and port for an endpoint (client) name would not be a good idea. In general, it was not a good idea to have this parameter defined in the first place. It might actually be better to remove it altogether. Ciao Hannes From: Jaime Jiménez [mailto:jaime.jimenez@ericsson.com] Sent: 04 April 2018 17:32 To: Hannes Tschofenig Cc: core@ietf.org <mailto:core@ietf.org> WG; Carsten Bormann Subject: Re: [core] Endpoint Client Name / Endpoint Name in RD draft Hi, Note that endpoint can refer to both source and destination, being and IP:port in its simplest form: https://tools.ietf.org/html/rfc7252#page-6 The fact that LWM2M swaps those role names might actually add to the confusion, probably OMA LWM2M should be the one changing the terminology as the device is mostly a server hosting resources and only is a client during bootstrapping and registration. We could have used terms like servient instead but it might be too late for that. Ciao! - - Jaime Jiménez On 4 Apr 2018, at 16.41, Hannes Tschofenig <Hannes.Tschofenig@arm.com <mailto:Hannes.Tschofenig@arm.com> > wrote: Hi all, I noticed that the term endpoint name is used in the IETF RD draft while the OMA LwM2M spec uses the term endpoint client name. Endpoint is a confusing term since it is used differently in the CoAP spec than in the Web environment. For this reason I believe it would be better to use the term endpoint client name also in the RD draft. This would improve alignment between the two specs. Ciao Hannes 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. _______________________________________________ core mailing list <mailto:core@ietf.org> core@ietf.org <https://www.ietf.org/mailman/listinfo/core> https://www.ietf.org/mailman/listinfo/core 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. 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. 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.
- [core] Endpoint Client Name / Endpoint Name in RD… Hannes Tschofenig
- Re: [core] Endpoint Client Name / Endpoint Name i… Jaime Jiménez
- Re: [core] Endpoint Client Name / Endpoint Name i… Hannes Tschofenig
- Re: [core] Endpoint Client Name / Endpoint Name i… Jim Schaad
- Re: [core] Endpoint Client Name / Endpoint Name i… Hannes Tschofenig
- Re: [core] Endpoint Client Name / Endpoint Name i… Jaime Jiménez
- Re: [core] Endpoint Client Name / Endpoint Name i… Hannes Tschofenig
- Re: [core] Endpoint Client Name / Endpoint Name i… Jim Schaad
- Re: [core] Endpoint Client Name / Endpoint Name i… peter van der Stok
- Re: [core] Endpoint Client Name / Endpoint Name i… Carsten Bormann
- Re: [core] Endpoint Client Name / Endpoint Name i… Christian Amsüss
- Re: [core] Endpoint Client Name / Endpoint Name i… Jim Schaad
- Re: [core] Endpoint Client Name / Endpoint Name i… Kovatsch, Matthias
- Re: [core] Endpoint Client Name / Endpoint Name i… Jim Schaad
- Re: [core] Endpoint Client Name / Endpoint Name i… Hannes Tschofenig
- Re: [core] Endpoint Client Name / Endpoint Name i… Hannes Tschofenig
- Re: [core] Endpoint Client Name / Endpoint Name i… Kovatsch, Matthias
- Re: [core] Endpoint Client Name / Endpoint Name i… peter van der Stok
- Re: [core] Endpoint Client Name / Endpoint Name i… peter van der Stok
- Re: [core] Endpoint Client Name / Endpoint Name i… Hannes Tschofenig
- Re: [core] Endpoint Client Name / Endpoint Name i… Hannes Tschofenig
- Re: [core] Endpoint Client Name / Endpoint Name i… peter van der Stok
- Re: [core] Endpoint Client Name / Endpoint Name i… Hannes Tschofenig
- Re: [core] Endpoint Client Name / Endpoint Name i… Kovatsch, Matthias
- Re: [core] Endpoint Client Name / Endpoint Name i… Hannes Tschofenig
- Re: [core] Endpoint Client Name / Endpoint Name i… peter van der Stok
- Re: [core] Endpoint Client Name / Endpoint Name i… Hannes Tschofenig