[regext] Poll messages with unhandled namespaces (was Re: I-D Action: draft-ietf-regext-change-poll-07.txt)

Martin Casanova <martin.casanova@switch.ch> Mon, 18 June 2018 08:41 UTC

Return-Path: <martin.casanova@switch.ch>
X-Original-To: regext@ietfa.amsl.com
Delivered-To: regext@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E87B81277C8 for <regext@ietfa.amsl.com>; Mon, 18 Jun 2018 01:41:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.9
X-Spam-Level:
X-Spam-Status: No, score=-6.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-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 KIIaq_jGyj-j for <regext@ietfa.amsl.com>; Mon, 18 Jun 2018 01:41:46 -0700 (PDT)
Received: from edge20.ethz.ch (edge20.ethz.ch [82.130.99.26]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3507E130DC5 for <regext@ietf.org>; Mon, 18 Jun 2018 01:41:45 -0700 (PDT)
Received: from MAIL160p.d.ethz.ch (172.31.39.199) by edge20.ethz.ch (82.130.99.26) with Microsoft SMTP Server (TLS) id 14.3.399.0; Mon, 18 Jun 2018 10:41:39 +0200
Received: from [130.59.18.153] (130.59.18.153) by MAIL160p.d.ethz.ch (172.31.39.199) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1415.2; Mon, 18 Jun 2018 10:41:37 +0200
From: Martin Casanova <martin.casanova@switch.ch>
References: <3266784A-E663-4465-8ABF-A3305B83C253@verisign.com> <83479150-4E98-452F-B27B-BD286AA18C1B@verisign.com> <1524425212.2370983.1346768616.2A2DE208@webmail.messagingengine.com> <48889EC8-FF2C-4CF3-B5E1-9DC5482E06E9@verisign.com> <CF701CA2-F63A-4573-AB87-68E3AB30C635@elistx.com> <5743B914-A1C7-426C-B0AA-515A3AEB5C72@verisign.com> <CY4PR02MB254962B12D6D196EACE492AEB1860@CY4PR02MB2549.namprd02.prod.outlook.com> <8A5C829F-BB67-4BA2-8E3E-5A4002D7D2CA@dnsbelgium.be> <1526875928.815044.1378899224.71EFB177@webmail.messagingengine.com> <F9BD7DC9-8472-438E-BDDD-8658A0D0A841@verisign.com> <1526973885.2320203.1380323248.3A725D0E@webmail.messagingengine.com> <96AC029A-47E4-4729-8297-571F9A34FE6C@verisign.com> <1527135820.1779071.1382936736.3093914E@webmail.messagingengine.com> <2c568201-aa94-3c74-a708-33f3b97bc4f3@switch.ch> <da81c99b-a578-2c63-e383-a94edb66f991@switch.ch> <B34D3782-8922-404D-AE53-52F6C97B5D19@verisign.com>
Openpgp: preference=signencrypt
Autocrypt: addr=martin.casanova@switch.ch; keydata= xsFNBFlbSjkBEAD39YaduVH9oaorO8mSfO71wTy+AZpBp2g+VbM5vuwOXkETrJpK+ZrEThoM IdGwRmmF9Cw4m6mcSheXjcZUzLMKgxDPsHMVoNPNKnEHWNd986nTWXwjcPV1QPxmarHuC6iO dPT7JSqrHFWMjcHEEWleivYC71OUj3eMyyd1r7TYzMjhvsuDfKH8y3yyuAE/xuawG/04CmZL NvNP1HkKhmjuOkP/kWR/3ql2YdwuNsLeXMZjIKpMSlaQ66F/EoAjV753Atyf11hBz1qnunPZ 4oho8BX1y2H+Y/rbpDYV+SwXJuJoO61uV7FjfjRTPC2afb+S2VK/k5SLAABriBnpAULlWPv1 Nxsmstqcwa2jE2m1ff21sQHVXmZuAbMJPAcnnVcadsTLiOZRkYnAM4UIwzFTooqGOsK2AzQB r/9v7GqTBKrrF16dp6fdl0V3kvK1R8YC8D6MpmjaDgnyN19c+7bykRh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kmNf5EaSvzt+U48TqKYCws3gYu2zmSRVgzRD7vWVop1CKt4OBgvKi 5kO5nF3teksvJXw5qERv8mDf4NSxkocJHlkDzR7UZOJRZb4fVMRPx5jRsS2nh3YhH//05/Wd QnFM4hkMKy0Q7M0Bw+TieuTJXEmSBgdLcscXY1ElEnlfO10x3R6CHgzUHI32WbmV9r2CdOG4 qaUd5tC9IFV3dfdyhLA+fl6AurMmhrM0THhQ04T19htKPanuIJenVfsb3Tdwna0txwWQtlAE JYZQ3eYAun42DOXl5VwWEiWeipKYuoK/qvn8UurQoKSu3RrckWJZiKgpHi3R8vfcTvAOkyKc VAZcZu9m6I6DIgR9WXEy
To: regext@ietf.org
Message-ID: <b3b3dce8-01bd-28da-39cf-ecaab42514f4@switch.ch>
Date: Mon, 18 Jun 2018 10:41:36 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0
MIME-Version: 1.0
In-Reply-To: <B34D3782-8922-404D-AE53-52F6C97B5D19@verisign.com>
Content-Type: multipart/alternative; boundary="------------42937BD517DF823F6FC72D7F"
Content-Language: en-US
X-Originating-IP: [130.59.18.153]
X-ClientProxiedBy: mailm210.d.ethz.ch (129.132.139.34) To MAIL160p.d.ethz.ch (172.31.39.199)
Archived-At: <https://mailarchive.ietf.org/arch/msg/regext/HWJ26lpfKxGhAamjta1H0JHBUi0>
Subject: [regext] Poll messages with unhandled namespaces (was Re: I-D Action: draft-ietf-regext-change-poll-07.txt)
X-BeenThere: regext@ietf.org
X-Mailman-Version: 2.1.26
Precedence: list
List-Id: Registration Protocols Extensions <regext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/regext>, <mailto:regext-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/regext/>
List-Post: <mailto:regext@ietf.org>
List-Help: <mailto:regext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/regext>, <mailto:regext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 18 Jun 2018 08:41:52 -0000

James,

It is an nice possibility to include content in the <extValue><value>
field.

It gives the clients an effortless access to the extension content (not
having to configure anything) and at the same time is not creating a
poisoned message.

As reason I would mention that the client should configure parser and
login command with the missing schemas to have the benefits of
unmarshallable and validated data.

The only downside is that the <extValue><value> element would not
contain a client-provided element as stated by RFC-5730 but maybe that
is acceptable.

Best regard

Martin

SWITCH 

Martin Casanova, Domain Applications

Werdstrasse 2, P.O. Box, 8021 Zurich, Switzerland 

phone +41 44 268 15 55, direct +41 44 268 16 25

martin.casanova@switch.ch <mailto:martin.casanova@switch.ch>, www.switch.ch <http://www.switch.ch> 

 

Working for a better digital world






On 14.06.2018 16:04, Gould, James wrote:
>
> Martin,
>
>  
>
> This approach looks good to me.  It has the advantage of providing the
> unhandled information in an element that is meant for machine
> processing instead of using the <msgQ><msg> element that’s meant is
> meant to be human readable.  The other advantage is that the contents
> of the <value> element is not processed by the XML parser (e.g.,
> processContents=”skip”), meaning it would not cause an XML parser error. 
>
>  
>
> This approach could include the entire unhandled extension block
> without causing client-side parsing or unmarshalling issues.  Below is
> an example of a change poll message where the client does not support
> either the domain or changePoll namespaces.  This is unlikely, but it
> demonstrates how it would work for an object and a command / response
> extension.  As Patrick has pointed out, a client could process the
> contents of the <extValue><value> data offline. 
>
>  
>
> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
>
> <epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
>
>   <response>
>
>     <result code="1301">
>
>       <msg>Command completed successfully; ack to dequeue</msg>
>
>       <extValue>
>
>         <value>
>
>          <domain:infData
>
>           xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
>
>            <domain:name>domain.example</domain:name>
>
>            <domain:roid>EXAMPLE1-REP</domain:roid>
>
>            <domain:status s="ok"/>
>
>            <domain:registrant>jd1234</domain:registrant>
>
>            <domain:contact type="admin">sh8013</domain:contact>
>
>            <domain:contact type="tech">sh8013</domain:contact>
>
>            <domain:clID>ClientX</domain:clID>
>
>            <domain:crID>ClientY</domain:crID>
>
>            <domain:crDate>2012-04-03T22:00:00.0Z</domain:crDate>
>
>            <domain:exDate>2014-04-03T22:00:00.0Z</domain:exDate>
>
>          </domain:infData>
>
>         </value>
>
>         <reason>Message incomplete due to missing
> "urn:ietf:params:xml:ns:domain-1.0" objURI in login services</reason>
>
>       </extValue>
>
>       <extValue>
>
>         <value>
>
>          <changePoll:changeData
>
>            xmlns:changePoll="urn:ietf:params:xml:ns:changePoll-1.0"
>
>            state="before">
>
>            <changePoll:operation>update</changePoll:operation>
>
>            <changePoll:date>2013-10-22T14:25:57.0Z</changePoll:date>
>
>            <changePoll:svTRID>12345-XYZ</changePoll:svTRID>
>
>            <changePoll:who>URS Admin</changePoll:who>
>
>            <changePoll:caseId type="urs">urs123</changePoll:caseId>
>
>            <changePoll:reason>URS Lock</changePoll:reason>
>
>          </changePoll:changeData>
>
>         </value>
>
>         <reason>Message incomplete due to missing
> "urn:ietf:params:xml:ns:changePoll-1.0" extURI in login services</reason>
>
>       </extValue>
>
>     </result>
>
>     <msgQ count="1" id="201">
>
>       <qDate>2018-06-14T13:46:33.453Z</qDate>
>
>       <msg>Registry initiated update of domain.</msg>
>
>     </msgQ>
>
>     <trID>
>
>       <clTRID>ABC-12345</clTRID>
>
>       <svTRID>54321-XYZ</svTRID>
>
>     </trID>
>
>   </response>
>
> </epp>
>
>  
>
>  
>
>   
>
> —
>
>  
>
> JG
>
>
> cid:image001.png@01D255E2.EB933A30
>
> *James Gould
> *Distinguished Engineer
> jgould@Verisign.com
>
> 703-948-3271
> 12061 Bluemont Way
> Reston, VA 20190
>
> Verisign.com <http://verisigninc.com/>
>
>  
>
> *From: *regext <regext-bounces@ietf.org> on behalf of Martin Casanova
> <martin.casanova@switch.ch>
> *Date: *Thursday, June 14, 2018 at 5:23 AM
> *To: *"regext@ietf.org" <regext@ietf.org>
> *Subject: *[EXTERNAL] Re: [regext] Poll messages with unhandled
> namespaces (was Re: I-D Action: draft-ietf-regext-change-poll-07.txt)
>
>  
>
> Hello
>
> While implementing, another idea came to mind, which I want to put to
> discussion here:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
>   <response>
>     <result code="1301">
>       <msg lang="en">Command completed successfully; ack to dequeue</msg>
>
>       <extValue>
>         <value>
>           <extURI>urn:ietf:params:xml:ns:changePoll-1.0</extURI>
>         </value>
>         <reason lang="en">Msg incomplete due to missing extURI at
> login cmd! To fix include at
> epp/command/login/svcs/svcExtension/extURI</reason>
>       </extValue>
>       <extValue>
>         <value>
>           <extURI>urn:ietf:params:xml:ns:secDNS-1.1</extURI>
>         </value>
>         <reason lang="en">Msg incomplete due to missing extURI at
> login cmd! To fix include at :
> epp/command/login/svcs/svcExtension/extURI</reason>
>       </extValue>
>
>  
>
> It is validating against the schemas. The value is referring to a
> MISSING client provided element in this case. The reason is again
> human readable and referring to a server error which is
>
> not quite the case here but still is indicating a condition that is
> not ideal..
>
> from RFC-5730
>
>       o  Zero or more OPTIONAL <extValue> elements that can be used to
>          provide additional error diagnostic information, including:
>  
>          *  A <value> element that identifies a client-provided element
>             (including XML tag and value) that caused a server error
>             condition.
>  
>          *  A <reason> element containing a human-readable message that
>             describes the reason for the error.  The language of the
>             response is identified via an OPTIONAL "lang" attribute.  If
>             not specified, the default attribute value MUST be "en"
>             (English).
>
> Regards.
>
> Martin
>
> SWITCH 
> Martin Casanova, Domain Applications
> Werdstrasse 2, P.O. Box, 8021 Zurich, Switzerland 
> phone +41 44 268 15 55, direct +41 44 268 16 25
> martin.casanova@switch.ch <mailto:roland.eugster@switch.ch>, www.switch.ch <http://www.switch.ch> 
>  
> Working for a better digital world
>
>
>
> On 24.05.2018 10:31, Martin Casanova wrote:
>
>     Hello
>
>     Sorry I have not been checking the mails of this mailing list for
>     a while...
>
>     In my opinion as registries we have a special role and should
>     stick to the RFC’s as close as possible for a strong EPP standard
>     everybody can rely on. Therefore I find it valuable to discuss the
>     RFC’s and get everybody's input.
>
>     I think that there is an issue with potentially breaking some
>     clients, although for some clients it may not be a problem as was
>     pointed out.
>
>     Also I don't see a big problem for clients to not receive full
>     information in a message of a freshly implemented Change Poll
>     Extension response since they didn't get it at all before the
>     extension was implemented.
>
>     The suggestion of James Gould to give a hint about the missing
>     extension part in the <msg> field of the poll response may be a
>     way to go. This filed is intended for humans and thats what we
>     want to do: Inform a human to prepare his client and configure the
>     Login command accordingly if he wants to receive the information
>     of the extension.
>
>     However the ChangePoll Extension is not the only one we need to
>     inform about. How should we inform about a changes in DNSSec Data?
>     We also would have to indicate that the DNSSec extension should be
>     configured in order to include something like
>
>     <secDNS:infData
>     xmlns:secDNS="urn:ietf:params:xml:ns:secDNS-1.1"><secDNS:dsData><secDNS:keyTag>2371</secDNS:keyTag>
>     <secDNS:alg>13</secDNS:alg>
>     <secDNS:digestType>2</secDNS:digestType>
>     <secDNS:digest>F991B7FDE40A2C4CD7BEFBBE9A1073D1FC3E34EC6DC31E2931320D1CD8392390</secDNS:digest>
>     </secDNS:dsData>
>     </secDNS:infData>
>
>     in the extension part..
>
>     We are planing to do something like this as we are going to
>     implement the RFC-8078 / RFC-7344 CDS feature. Of course there
>     will also be an out of band communication with our registrars
>     about this.
>
>     Martin
>
>     -- 
>
>     SWITCH 
>
>     Martin Casanova, Domain Applications
>
>     Werdstrasse 2, P.O. Box, 8021 Zurich, Switzerland 
>
>     phone +41 44 268 15 55, direct +41 44 268 16 25
>
>     martin.casanova@switch.ch <mailto:roland.eugster@switch.ch>, www.switch.ch <http://www.switch.ch> 
>
>      
>
>     Working for a better digital world
>
>
>
>
>
>
>
>
>     _______________________________________________
>
>     regext mailing list
>
>     regext@ietf.org <mailto:regext@ietf.org>
>
>     https://www.ietf.org/mailman/listinfo/regext
>
>
>
> -- 
> --- 
> SWITCH 
> Martin Casanova, Domain Applications
> Werdstrasse 2, P.O. Box, 8021 Zurich, Switzerland 
> phone +41 44 268 15 55, direct +41 44 268 16 25
> martin.casanova@switch.ch <mailto:martin.casanova@switch.ch>, www.switch.ch <http://www.switch.ch> 
>  
> Working for a better digital world

-- 
--- 
SWITCH 
Martin Casanova, Domain Applications
Werdstrasse 2, P.O. Box, 8021 Zurich, Switzerland 
phone +41 44 268 15 55, direct +41 44 268 16 25
martin.casanova@switch.ch, www.switch.ch 
 
Working for a better digital world