Re: [core] Questions and comments against the github version

Peter van der Stok <stokcons@bbhmail.nl> Wed, 12 December 2018 08:21 UTC

Return-Path: <stokcons@bbhmail.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 4F1BD1294D0; Wed, 12 Dec 2018 00:21:24 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level:
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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 u8G9IxZo62VI; Wed, 12 Dec 2018 00:21:21 -0800 (PST)
Received: from smtprelay.hostedemail.com (smtprelay0023.hostedemail.com [216.40.44.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AB76612D4EF; Wed, 12 Dec 2018 00:21:21 -0800 (PST)
Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay07.hostedemail.com (Postfix) with ESMTP id F1285181D3368; Wed, 12 Dec 2018 08:21:19 +0000 (UTC)
X-Session-Marker: 73746F6B636F6E73406262686D61696C2E6E6C
X-Spam-Summary: 2, 0, 0, , d41d8cd98f00b204, stokcons@bbhmail.nl, :::::::, RULES_HIT:41:152:355:379:582:599:800:960:962:967:973:988:989:1152:1189:1221:1260:1313:1314:1345:1359:1436:1437:1516:1517:1518:1535:1543:1575:1588:1589:1592:1594:1711:1712:1730:1776:1792:2198:2199:2527:2528:2551:2553:2559:2562:2692:2892:2894:3138:3139:3140:3141:3142:3353:3586:3865:3866:3867:3868:3870:3871:3872:3874:4117:4321:5007:6117:6119:6261:6298:6657:6659:6678:7576:7875:7903:8583:8603:8957:9080:9545:10004:10400:10848:11232:11657:11658:11914:12043:12050:12740:12895:13139:13436:13439:13846:13972:14180:14181:14721:21060:21080:21433:21451:21611:21625:30025:30041:30054:30075:30076:30090:30091, 0, RBL:216.40.42.5:@bbhmail.nl:.lbl8.mailshell.net-62.8.55.100 66.201.201.201, CacheIP:none, Bayesian:0.5, 0.5, 0.5, Netcheck:none, DomainCache:0, MSF:not bulk, SPF:fn, MSBL:0, DNSBL:neutral, Custom_rules:0:0:0, LFtime:28, LUA_SUMMARY:none
X-HE-Tag: hair87_7ffd1a35bb252
X-Filterd-Recvd-Size: 6681
Received: from mail.bbhmail.nl (imap-ext [216.40.42.5]) (Authenticated sender: webmail@stokcons@bbhmail.nl) by omf10.hostedemail.com (Postfix) with ESMTPA; Wed, 12 Dec 2018 08:21:19 +0000 (UTC)
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="=_16e6b6139de2df309f8963ed836a69e9"
Date: Wed, 12 Dec 2018 09:21:19 +0100
From: Peter van der Stok <stokcons@bbhmail.nl>
To: Jim Schaad <ietf@augustcellars.com>
Cc: consultancy@vanderstok.org, draft-ietf-core-resource-directory@ietf.org, core@ietf.org
Organization: vanderstok consultancy
Reply-To: consultancy@vanderstok.org
Mail-Reply-To: consultancy@vanderstok.org
In-Reply-To: <035e01d49178$b08a3e60$119ebb20$@augustcellars.com>
References: <02dd01d490f8$6aea0dc0$40be2940$@augustcellars.com> <d00ab991b089fb28625cb455ab7c5bec@bbhmail.nl> <035e01d49178$b08a3e60$119ebb20$@augustcellars.com>
Message-ID: <4ea547c2c838536e260fd222651ae446@bbhmail.nl>
X-Sender: stokcons@bbhmail.nl
User-Agent: Roundcube Webmail/1.2.7
X-Originating-IP: [5.206.216.229]
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/TlQNMHmn-sVa_NguyFxSRQQKPqU>
Subject: Re: [core] Questions and comments against the github version
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, 12 Dec 2018 08:21:25 -0000

Jim Schaad schreef op 2018-12-11 18:41:

> FROM: Peter van der Stok <stokcons@bbhmail.nl> 
> SENT: Tuesday, December 11, 2018 12:59 AM
> TO: Jim Schaad <ietf@augustcellars.com>
> CC: draft-ietf-core-resource-directory@ietf.org; core@ietf.org
> SUBJECT: Re: Questions and comments against the github version 
> 
> Hi Jim,
> 
> thanks, for the questions.
> One explanation for one question. 
> 
> Jim Schaad schreef op 2018-12-11 03:22:
> 
>> *  In section 5.3, I don't understand why the rule exists that if the
>> attribute values are different then the location of the registration needs
>> to be changed.   It seems that this could lead to some interesting conflicts
>> in behavior depending on what messages are used.  For example  (content
>> omitted for clarity):
>> 
>> POST /rd?ep=e1&foo=over
>> 
>> Res: 2.01 Created
>> Location-Path: /rd/4001
>> 
>> POST /rd?ep=e1&foo=under
>> 
>> Res: 2.01 Created
>> Location-Path: /rd/4002
>> 
>> As opposed to:
>> 
>> POST /rd?ep=e1&foo=over
>> 
>> Res: 2.01 Created
>> Location-Path: /rd/4001
>> 
>> POST /rd/4001?foo=under
>> 
>> Res: 2.01 Changed
>> 
>> <pvds>
>> The feeling was that a first ep having done the earlier registration /rd/4001 
>> should not be able to manipulate the 2nd registration by a 2nd ep, by removing /rd/4001
>> and having a registration /rd/4002 only known to 2nd ep.
>> </pvds>
>> 
>> [JLS] The only problem with this is that the query of endpoints needs to be changed so that the endpoint locations are not returned.  Once the query is done then the location is known to a 2nd ep.
>> 
>> <pvds>
>> Is true.
>> The above statement is not about security and hiding information.
>> It is to prevent non-malicious unwanted mistakes.
>> </pvds>