Network Working Group J. Gould Internet-Draft VeriSign, Inc. Intended status: Standards Track S. Wodjenski Expires: September 16, 2016 Neustar March 15, 2016 Change Poll Extension for the Extensible Provisioning Protocol (EPP) draft-gould-change-poll-04 Abstract This document describes an Extensible Provisioning Protocol (EPP) extension for notifying clients of operations on client sponsored objects that were not initiated by the client through EPP. These operations MAY include contractual or policy requirements including but not limited to regular batch processes, customer support actions, Uniform Domain-Name Dispute-Resolution Policy (UDRP) or Uniform Rapid Suspension (URS) actions, court directed actions, and bulk updates based on customer requests. Since the client is not directly involved or knowledgable of these operations, the extension is used along with an EPP object mapping to provide the resulting state of the post-operation object, and optionally a pre-operation object, with the operation meta-data of what, when, who, and why. Status of This Memo This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79. Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet- Drafts is at http://datatracker.ietf.org/drafts/current/. Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress." This Internet-Draft will expire on September 16, 2016. Copyright Notice Copyright (c) 2016 IETF Trust and the persons identified as the document authors. All rights reserved. Gould & Wodjenski Expires September 16, 2016 [Page 1] Internet-Draft changePoll March 2016 This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (http://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Simplified BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Simplified BSD License. Table of Contents 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 2 1.1. Conventions Used in This Document . . . . . . . . . . . . 3 2. Object Attributes . . . . . . . . . . . . . . . . . . . . . . 3 2.1. Operation . . . . . . . . . . . . . . . . . . . . . . . . 3 2.2. Who . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 3. EPP Command Mapping . . . . . . . . . . . . . . . . . . . . . 4 3.1. EPP Query Commands . . . . . . . . . . . . . . . . . . . 4 3.1.1. EPP Command . . . . . . . . . . . . . . . . . 5 3.1.2. EPP Command . . . . . . . . . . . . . . . . . 5 3.1.3. EPP Command . . . . . . . . . . . . . . . 15 3.2. EPP Transform Commands . . . . . . . . . . . . . . . . . 15 3.2.1. EPP Command . . . . . . . . . . . . . . . . 15 3.2.2. EPP Command . . . . . . . . . . . . . . . . 15 3.2.3. EPP Command . . . . . . . . . . . . . . . . . 15 3.2.4. EPP Command . . . . . . . . . . . . . . . 15 3.2.5. EPP Command . . . . . . . . . . . . . . . . 15 4. Formal Syntax . . . . . . . . . . . . . . . . . . . . . . . . 15 4.1. Change Poll Extension Schema . . . . . . . . . . . . . . 16 5. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 18 5.1. XML Namespace . . . . . . . . . . . . . . . . . . . . . . 18 5.2. EPP Extension Registry . . . . . . . . . . . . . . . . . 19 6. Security Considerations . . . . . . . . . . . . . . . . . . . 19 7. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . 19 8. Normative References . . . . . . . . . . . . . . . . . . . . 19 Appendix A. Change History . . . . . . . . . . . . . . . . . . . 20 A.1. Change from 00 to 01 . . . . . . . . . . . . . . . . . . 20 A.2. Change from 01 to 02 . . . . . . . . . . . . . . . . . . 20 A.3. Change from 02 to 03 . . . . . . . . . . . . . . . . . . 20 A.4. Change from 03 to 04 . . . . . . . . . . . . . . . . . . 20 Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 20 1. Introduction This document describes an extension mapping for version 1.0 of the Extensible Provisioning Protocol (EPP) [RFC5730]. This mapping, an extension to EPP object mappings like the EPP domain name mapping Gould & Wodjenski Expires September 16, 2016 [Page 2] Internet-Draft changePoll March 2016 [RFC5731], is used to notify clients of operations they are not directly involved in, on objects that the client sponsors. It is up to server policy to determine what transform operations and clients to notify. Using this extension clients can more easily keep their systems in-sync with the objects stored in the server. When a change occurs that a client needs to be notified of, a poll message can be inserted by the server for consumption by the client using the EPP command and response defined in [RFC5730]. The extension supports including a "before" operation poll message and an "after" operation poll message. 1.1. Conventions Used in This Document The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119 [RFC2119]. XML is case sensitive. Unless stated otherwise, XML specifications and examples provided in this document MUST be interpreted in the character case presented in order to develop a conforming implementation. In examples, "C:" represents lines sent by a protocol client and "S:" represents lines returned by a protocol server. Indentation and white space in examples are provided only to illustrate element relationships and are not a REQUIRED feature of this protocol. "changePoll-1.0" is used as an abbreviation for "urn:ietf:params:xml:ns:changePoll-1.0". The XML namespace prefix "changePoll" is used, but implementations MUST NOT depend on it and instead employ a proper namespace-aware XML parser and serializer to interpret and output the XML documents. 2. Object Attributes This extension adds additional elements to EPP object mappings like the EPP domain name mapping [RFC5731]. Only those new elements are described here. 2.1. Operation An operation consists of any transform operation that impacts objects that the client sponsers and SHOULD be notified of. The element defines the operation. The OPTIONAL "op" attribute is used to define a sub-operation or the name of a "custom" operation. The enumerated list of values include: Gould & Wodjenski Expires September 16, 2016 [Page 3] Internet-Draft changePoll March 2016 "create" Create operation as defined in [RFC5730]. "delete" Delete operation as defined in [RFC5730]. If the delete operation results in an immediate purge of the object, then the "op" attribute MUST be set to "purge". "renew" Renew operation as defined in [RFC5730]. "transfer" Transfer operation as defined in [RFC5730] with the OPTIONAL "op" attribute defining the transfer type with the possible values of "request", "approve", "cancel", and "reject". "update" Update operation as defined in [RFC5730]. "restore" Restore operation as defined in [RFC3915] with the OPTIONAL "op" attribute defining the restore type with the possible values of "request" and "report". "autoRenew" Auto renew operation executed by the server. "autoDelete" Auto delete operation executed by the server. If the "autoDelete" operation results in an immediate purge of the object, then the "op" attribute MUST be set to "purge". "autoPurge" Auto purge operation executed by the server when removing the object after it had the "pendingDelete" status. "custom" Custom operation that uses the "op" attribute to define the custom operation name. 2.2. Who Who defines who executed the operation for audit purposes, and is represented using the element. The scheme used for the possible set of Who values is up to server policy. The server MAY identify Who based on: "Identifier" Unique user identifier of the user that executed the operation. An example is "ClientX". "Name" Name of the user that executed the operation. An example is "John Doe". "Role" Role of the user that executed operation. An example is "CSR" for a Customer Support Representative or "Batch" for a server batch. 3. EPP Command Mapping A detailed description of the EPP syntax and semantics can be found in the EPP core protocol specification [RFC5730]. 3.1. EPP Query Commands EPP provides three commands to retrieve object information: to determine if an object is known to the server, to retrieve detailed information associated with an object, and to retrieve object transfer status information. Gould & Wodjenski Expires September 16, 2016 [Page 4] Internet-Draft changePoll March 2016 3.1.1. EPP Command This extension does not add any elements to the EPP command or response described in the [RFC5730]. 3.1.2. EPP Command This extension does not add any elements to the EPP command described in the [RFC5730]. This extension adds transaction detail of the operations to the EPP poll response, as described in [RFC5730], of an EPP Object Mapping like [RFC5731]. Any transform operation to an object defined in an EPP Object Mapping, by a client other than the sponsoring client, MAY result in extending the response of the object for inserting an EPP poll message with the operation detail. The sponsoring client will then receive the state of the object with operation detail like what, who, when, and why the object was changed. The element contains the operation detail along with an indication of whether the object reflects the state before or after the operation, using the OPTIONAL "state" attribute, with the possible values of "before" or "after", and with a default value of "after". The "state" attribute describes the state of the response data or block returned in the poll response. The server MAY support providing the "before" state and "after" state to the operation, by using one poll message for the "before" state and one poll message for the "after" state. When using the "before" state poll message, it MUST be inserted prior to the "after" state poll message. The element includes the operation detail with the following child elements: Transform operation executed on the object as defined in Section 2.1. Date and time when the operation was executed. Server transaction identifier of the operation. Who executed the operation as defined in Section 2.2. OPTIONAL case identifer associated with the operation. The required "type" attribute defines the type of case with an enumerated list of case types including: udrp a Uniform Domain-Name Dispute-Resolution Policy (UDRP) case. urs a Uniform Rapid Suspension (URS) case. custom A custom case that is defined using the "name" attribute. OPTIONAL reason for executing the operation. If present, this element contains the server-specific text to help Gould & Wodjenski Expires September 16, 2016 [Page 5] Internet-Draft changePoll March 2016 explain the reason the operation was executed. This text MUST be represented in the response language previously negotiated with the client; an OPTIONAL "lang" attribute MAY be present to identify the language if the negotiated value is something other than the default value of "en" (English). Example poll response with the extension for a URS lock transaction on the domain.example domain name, with the "before" state. The "before" state is reflected in the block: Gould & Wodjenski Expires September 16, 2016 [Page 6] Internet-Draft changePoll March 2016 S: S: S: S: S: S: Command completed successfully; ack to dequeue S: S: S: 2013-10-22T14:25:57.0Z S: Registry initiated update of domain. S: S: S: S: domain.example S: EXAMPLE1-REP S: S: jd1234 S: sh8013 S: sh8013 S: ClientX S: ClientY S: 2012-04-03T22:00:00.0Z S: 2014-04-03T22:00:00.0Z S: S: S: S: S: update S: 2013-10-22T14:25:57.0Z S: 12345-XYZ S: URS Admin S: urs123 S: URS Lock S: S: S: S: ABC-12345 S: 54321-XYZ S: S: S: Example poll response with the extension for a URS lock transaction on the domain.example domain name, with the "after" state. The "after" state is reflected in the Gould & Wodjenski Expires September 16, 2016 [Page 7] Internet-Draft changePoll March 2016 block: Gould & Wodjenski Expires September 16, 2016 [Page 8] Internet-Draft changePoll March 2016 S: S: S: S: S: S: Command completed successfully; ack to dequeue S: S: S: 2013-10-22T14:25:57.0Z S: Registry initiated update of domain. S: S: S: S: domain.example S: EXAMPLE1-REP S: S: S: S: jd1234 S: sh8013 S: sh8013 S: ClientX S: ClientY S: 2012-04-03T22:00:00.0Z S: ClientZ S: 2013-10-22T14:25:57.0Z S: 2014-04-03T22:00:00.0Z S: S: S: S: S: update S: 2013-10-22T14:25:57.0Z S: 12345-XYZ S: URS Admin S: urs123 S: URS Lock S: S: S: S: ABC-12345 S: 54321-XYZ S: S: S: Gould & Wodjenski Expires September 16, 2016 [Page 9] Internet-Draft changePoll March 2016 Example poll response with the extension for a custom "sync" operation on the domain.example domain name, with the default "after" state. The "after" state is reflected in the block: Gould & Wodjenski Expires September 16, 2016 [Page 10] Internet-Draft changePoll March 2016 S: S: S: S: S: Command completed successfully; ack to dequeue S: S: S: 2013-10-22T14:25:57.0Z S: Registry initiated Sync of Domain Expiration Date S: S: S: S: domain.example S: EXAMPLE1-REP S: S: jd1234 S: sh8013 S: sh8013 S: ClientX S: ClientY S: 2012-04-03T22:00:00.0Z S: ClientZ S: 2013-10-22T14:25:57.0Z S: 2014-04-03T22:00:00.0Z S: S: S: S: S: custom S: S: 2013-10-22T14:25:57.0Z S: 12345-XYZ S: CSR S: Customer sync request S: S: S: S: S: ABC-12345 S: 54321-XYZ S: S: S: Gould & Wodjenski Expires September 16, 2016 [Page 11] Internet-Draft changePoll March 2016 Example poll response with the extension for a "delete" operation on the domain.example domain name that is immediately purged, with the default "after" state. The "after" state is reflected in the block: S: S: S: S: S: Command completed successfully; ack to dequeue S: S: S: 2013-10-22T14:25:57.0Z S: Registry initiated delete of S: domain resulting in immediate purge. S: S: S: S: domain.example S: EXAMPLE1-REP S: ClientX S: S: S: S: S: S: delete S: 2013-10-22T14:25:57.0Z S: 12345-XYZ S: ClientZ S: Court order S: S: S: S: ABC-12345 S: 54321-XYZ S: S: S: Gould & Wodjenski Expires September 16, 2016 [Page 12] Internet-Draft changePoll March 2016 Example poll response with the extension for an "autoPurge" operation on the domain.example domain name that previously had the "pendingDelete" status, with the default "after" state. The "after" state is reflected in the block: S: S: S: S: S: Command completed successfully; ack to dequeue S: S: S: 2013-10-22T14:25:57.0Z S: Registry purged domain with pendingDelete status. S: S: S: S: domain.example S: EXAMPLE1-REP S: ClientX S: S: S: S: S: S: autoPurge S: 2013-10-22T14:25:57.0Z S: 12345-XYZ S: Batch S: S: Past pendingDelete 5 day period S: S: S: S: S: ABC-12345 S: 54321-XYZ S: S: S: Gould & Wodjenski Expires September 16, 2016 [Page 13] Internet-Draft changePoll March 2016 Example poll response with the extension for an "update" operation on the ns1.domain.example host, with the default "after" state. The "after" state is reflected in the block: S: S: S: S: S: Command completed successfully; ack to dequeue S: S: S: 2013-10-22T14:25:57.0Z S: Registry initiated update of host. S: S: S: S: ns1.domain.example S: NS1_EXAMPLE1-REP S: S: S: S: 192.0.2.2 S: 1080:0:0:0:8:800:200C:417A S: ClientX S: ClientY S: 2012-04-03T22:00:00.0Z S: ClientY S: 2013-10-22T14:25:57.0Z S: S: S: S: S: update S: 2013-10-22T14:25:57.0Z S: 12345-XYZ S: ClientZ S: Host Lock S: S: S: S: ABC-12345 S: 54321-XYZ S: S: S: Gould & Wodjenski Expires September 16, 2016 [Page 14] Internet-Draft changePoll March 2016 3.1.3. EPP Command This extension does not add any elements to the EPP query command or response described in the [RFC5730]. 3.2. EPP Transform Commands EPP provides five commands to transform objects: to create an instance of an object, to delete an instance of an object, to extend the validity period of an object, to manage object sponsorship changes, and to change information associated with an object. 3.2.1. EPP Command This extension does not add any elements to the EPP command or response described in the [RFC5730]. 3.2.2. EPP Command This extension does not add any elements to the EPP command or response described in the [RFC5730]. 3.2.3. EPP Command This extension does not add any elements to the EPP command or response described in the [RFC5730]. 3.2.4. EPP Command This extension does not add any elements to the EPP command or response described in the [RFC5730]. 3.2.5. EPP Command This extension does not add any elements to the EPP command or response described in the [RFC5730]. 4. Formal Syntax One schema is presented here that is the EPP Change Poll Extension schema. The formal syntax presented here is a complete schema representation of the object mapping suitable for automated validation of EPP XML instances. The BEGIN and END tags are not part of the schema; they are used to note the beginning and ending of the schema for URI registration purposes. Gould & Wodjenski Expires September 16, 2016 [Page 15] Internet-Draft changePoll March 2016 4.1. Change Poll Extension Schema BEGIN Extensible Provisioning Protocol v1.0 Change Poll Mapping Schema. Gould & Wodjenski Expires September 16, 2016 [Page 16] Internet-Draft changePoll March 2016 END 5. IANA Considerations 5.1. XML Namespace This document uses URNs to describe XML namespaces and XML schemas conforming to a registry mechanism described in [RFC3688]. The following URI assignment is requested of IANA: URI: urn:ietf:params:xml:ns:changePoll-1.0 Registrant Contact: See the "Author's Address" section of this document. XML: See the "Formal Syntax" section of this document. Gould & Wodjenski Expires September 16, 2016 [Page 18] Internet-Draft changePoll March 2016 5.2. EPP Extension Registry The EPP extension described in this document should be registered by the IANA in the EPP Extension Registry described in [RFC7451]. The details of the registration are as follows: Name of Extension: "Change Poll Extension for the Extensible Provisioning Protocol (EPP)" Document status: Standards Track Reference: (insert reference to RFC version of this document) Registrant Name and Email Address: IESG, TLDs: Any IPR Disclosure: None Status: Active Notes: None 6. Security Considerations The mapping extensions described in this document do not provide any security services beyond those described by EPP [RFC5730] and protocol layers used by EPP. The security considerations described in these other specifications apply to this specification as well. 7. Acknowledgements The authors wish to acknowledge the original concept for this draft and the efforts in the initial versions of this draft by Trung Tran. Special suggestions that have been incorporated into this document were provided by Michael Holloway. 8. Normative References [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, March 1997. [RFC3688] Mealling, M., "The IETF XML Registry", BCP 81, RFC 3688, January 2004. Gould & Wodjenski Expires September 16, 2016 [Page 19] Internet-Draft changePoll March 2016 [RFC3915] Hollenbeck, S., "Domain Registry Grace Period Mapping for the Extensible Provisioning Protocol (EPP)", RFC 3915, September 2004. [RFC5730] Hollenbeck, S., "Extensible Provisioning Protocol (EPP)", STD 69, RFC 5730, August 2009. [RFC5731] Hollenbeck, S., "Extensible Provisioning Protocol (EPP) Domain Name Mapping", STD 69, RFC 5731, August 2009. [RFC7451] Hollenbeck, S., "Extension Registry for the Extensible Provisioning Protocol", RFC 7451, February 2015. Appendix A. Change History A.1. Change from 00 to 01 1. Added an optional caseId element that defines the case identifier from UDRP, URS, or custom case, based on feedback from Michael Holloway. A.2. Change from 01 to 02 1. Amended XML Namespace section of IANA Considerations, added EPP Extension Registry section. 2. Moved Change History to the back section as an Appendix. A.3. Change from 02 to 03 1. Fixed "before" state example to use the "before" state value based on feedback from Patrick Mevzek. A.4. Change from 03 to 04 1. Updated the authors for the draft. Authors' Addresses James Gould VeriSign, Inc. 12061 Bluemont Way Reston, VA 20190 US Email: jgould@verisign.com URI: http://www.verisigninc.com Gould & Wodjenski Expires September 16, 2016 [Page 20] Internet-Draft changePoll March 2016 Sharon Wodjenski Neustar 21575 Ridgetop Circle Sterling, VA 20166 US Email: Sharon.Wodjenski@neustar.biz URI: http://www.neustar.biz Gould & Wodjenski Expires September 16, 2016 [Page 21]