RFC 9038: Extensible Provisioning Protocol (EPP) Unhandled Namespaces | RFC Editor
Abstract
The Extensible Provisioning Protocol (EPP), as defined in RFC 5730, includes a method for the client and server to determine the objects to be managed during a session and the object extensions to be used during a session. The services are identified using namespace URIs, and an "unhandled namespace" is one that is associated with a service not supported by the client. This document defines an operational practice that enables the server to return information associated with unhandled namespace URIs and that maintains compliance with the negotiated services defined in RFC 5730.¶
Status of This Memo
This is an Internet Standards Track document.¶
This document is a product of the Internet Engineering Task Force (IETF). It represents the consensus of the IETF community. It has received public review and has been approved for publication by the Internet Engineering Steering Group (IESG). Further information on Internet Standards is available in Section 2 of RFC 7841.¶
Information about the current status of this document, any
errata, and how to provide feedback on it may be obtained at
https://
Copyright Notice
Copyright (c) 2021 IETF Trust and the persons identified as the document authors. All rights reserved.¶
This document is subject to BCP 78 and the IETF Trust's Legal
Provisions Relating to IETF Documents
(https://
1. Introduction
The Extensible Provisioning Protocol (EPP), as defined in [RFC5730], includes a method for the client and server to determine the objects to be managed during a session and the object extensions to be used during a session. The services are identified using namespace URIs. How should the server handle service data that needs to be returned in the response when the client does not support the required service namespace URI, which is referred to as an "unhandled namespace"? An unhandled namespace is a significant issue for the processing of the poll messages described in [RFC5730], since poll messages are inserted by the server prior to knowing the supported client services, and the client needs to be capable of processing all poll messages. Returning an unhandled namespace poll message is not compliant with the negotiated services defined in [RFC5730], and returning an error makes the unhandled namespace poll message a poison message by halting the processing of the poll queue. An unhandled namespace is also an issue for general EPP responses when the server has information that it cannot return to the client due to the client's supported services. The server should be able to return unhandled namespace information that the client can process later. This document defines an operational practice that enables the server to return information associated with unhandled namespace URIs and that maintains compliance with the negotiated services defined in [RFC5730].¶
1.1. Conventions Used in This Document
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here.¶
XML [W3C
In examples, "S:" represents lines returned by a protocol server. Indentation and white space in examples are provided only to illustrate element relationships and are not required features of this protocol.¶
The examples reference XML namespace prefixes that are used for the associated XML namespaces. Implementations MUST NOT depend on the example XML namespaces and instead employ a proper namespace-aware XML parser and serializer to interpret and output the XML documents. The example namespace prefixes used and their associated XML namespaces include:¶
- changePoll:
- urn
:ietf :params :xml :ns :change Poll -1 .0¶ - domain:
- urn
:ietf :params :xml :ns :domain -1 .0¶ - secDNS:
- urn
:ietf :params :xml :ns :sec DNS -1 .1¶
In the template example XML, placeholder content is represented by the following variables:¶
2. Unhandled Namespaces
An unhandled namespace is an XML namespace that is associated with a response extension that is
not included in the client
3. Use of EPP <extValue> for Unhandled Namespace Data
In [RFC5730], the <extValue> element is used to provide additional error diagnostic information, including the <value> element that identifies the client-provided element that caused a server error condition and the <reason> element containing the human-readable message that describes the reason for the error. This operational practice extends the use of the <extValue> element for the purpose of returning unhandled namespace information in a successful response.¶
When a server has data to return to the client that the client does not support based on the login services, the server MAY return a successful response with the data for each unsupported namespace moved into an <extValue> element [RFC5730]. The unhandled namespace will not cause an error response, but the unhandled namespace data will instead be moved to an <extValue> element, along with a reason why the unhandled namespace data could not be included in the appropriate location of the response. The <extValue> element will not be processed by the XML processor. The <extValue> element contains the following child elements:¶
- <value>:
- Contains a child element with the unhandled namespace XML. The unhandled namespace MUST be declared in the child element or any containing element, including the root element. XML processing of the <value> element is disabled by the XML schema in [RFC5730], so the information can safely be returned in the <value> element.¶
- <reason>:
- A formatted, human-readable message that indicates the reason the
unhandled namespace data was not returned in the appropriate location of the response. The formatted reason
SHOULD follow the Augmented Backus-Naur Form (ABNF) grammar [RFC5234] format: NAMESPACE-URI " not in login services",
where NAMESPACE-URI is the unhandled XML namespace like "urn
:ietf :params :xml :ns :domain -1 .0" in [RFC5731].¶
This document applies to the handling of unsupported namespaces for object-level extensions and command
3.1. Unhandled Object-Level Extension
An object-level extension in [RFC5730] is a child element of the <resData> element. If the client does not handle the namespace of the object-level extension, then the <resData> element is removed and its object-level extension child element is moved into an <extValue> <value> element [RFC5730], with the namespace URI included in the corresponding <extValue> <reason> element. The response becomes a general EPP response without the <resData> element.¶
Below is a template response for a supported object-level extension. The [NAMESPACE-XML] variable represents the object-level extension XML.¶
Below is a template for an unhandled namespace response for an unsupported object-level extension. The [NAMESPACE-XML] variable represents the object-level extension XML, and the [NAMESPACE-URI] variable represents the object-level extension XML namespace URI.¶
The EPP response is converted from an object response to a general EPP response by the server when the client does not support the object-level extension namespace URI.¶
Below is an example of a <transfer> query response (see Section 3.1.3 of [RFC5731]) converted into an unhandled namespace response.¶
3.2. Unhandled Command-Response Extension
A command
Below is a template response for a supported command
Below is a template of an unhandled namespace response for an unsupported command
The EPP response is converted to an unhandled namespace response by moving the unhandled command
Below is example of the Delegation Signer (DS) Data Interface <info> response (see Section 5.1.2 of [RFC5910]) converted to an unhandled namespace response.¶
4. Signaling Client and Server Support
This document does not define new EPP protocol elements but rather specifies an operational practice using the existing EPP protocol, where
the client and the server can signal support for the operational practice using a namespace URI in the login and greeting extension services.
The namespace URI "urn
A client that receives the namespace URI in the server's greeting extension services can expect the following supported behavior by the server:¶
A server that receives the namespace URI in the client's <login> command extension services can expect the following supported behavior by the client:¶
5. Usage with General EPP Responses
The unhandled namespace approach defined in Section 3 MAY be used for a general EPP response to an EPP command. A general EPP response includes any EPP response that is not a poll message. The use of the unhandled namespace approach for poll-message EPP responses is defined in Section 6. The server MAY exclude the unhandled namespace information in the general EPP response or MAY include it using the unhandled namespace approach.¶
The unhandled namespace approach for general EPP responses SHOULD only be applicable
to command
Returning domain name Redemption Grace Period (RGP) data, based on [RFC3915],
provides an example of applying the unhandled namespace approach for a general EPP response.
If the client
does not include the "urn
Below is an example of a domain name <info> response [RFC5731] converted to an unhandled <rgp:infData> element (see Section 4.1.1 of [RFC3915]) included under an <extValue> element:¶
6. Usage with Poll-Message EPP Responses
The unhandled namespace approach, defined in Section 3,
MUST be used if there is unhandled namespace information included in a <poll> response.
The server inserts poll messages into the client's poll queue independent of knowing the supported
client login services; therefore, there may be unhandled object-level extensions and command
The change poll message, as defined in Section 3.1.2 of [RFC8590], which is an extension of any EPP object, is an example of applying the unhandled namespace approach for <poll> responses. Below are examples of converting the domain name <info> response example in Section 3.1.2 of [RFC8590] to an unhandled namespace response. The object that will be used in the examples is a domain name object [RFC5731].¶
Below is a domain name <info> <poll> response [RFC5731] with the unhandled <change
Below is an unhandled domain name <info> <poll> response [RFC5731] and the unhandled
<change
7. Implementation Considerations
There are implementation considerations for the client and the server to help address the risk of the client ignoring unhandled namespace information included in an EPP response that is needed to meet technical, policy, or legal requirements.¶
7.1. Client Implementation Considerations
To reduce the likelihood of a client receiving unhandled namespace information, the client should consider implementing the following:¶
7.2. Server Implementation Considerations
To assist the clients in recognizing unhandled namespaces, the server should consider implementing the following:¶
8. IANA Considerations
8.1. XML Namespace
This document uses URNs to describe XML namespaces conforming to a registry mechanism described in [RFC3688]. The following URI assignment has been made by IANA.¶
8.2. EPP Extension Registry
The EPP operational practice described in this document has been registered by IANA in the "Extensions for the Extensible Provisioning Protocol (EPP)" registry described in [RFC7451]. The details of the registration are as follows:¶
9. Security Considerations
This document does 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. Since the unhandled namespace content is XML that is not processed in the first pass by the XML parser, the client SHOULD validate the XML when the content is processed to protect against the inclusion of malicious content.¶
10. References
10.1. Normative References
- [RFC2119]
-
Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10
.17487 , , <https:///RFC2119 www >..rfc -editor .org /info /rfc2119 - [RFC3688]
-
Mealling, M., "The IETF XML Registry", BCP 81, RFC 3688, DOI 10
.17487 , , <https:///RFC3688 www >..rfc -editor .org /info /rfc3688 - [RFC5234]
-
Crocker, D., Ed. and P. Overell, "Augmented BNF for Syntax Specifications: ABNF", STD 68, RFC 5234, DOI 10
.17487 , , <https:///RFC5234 www >..rfc -editor .org /info /rfc5234 - [RFC5730]
-
Hollenbeck, S., "Extensible Provisioning Protocol (EPP)", STD 69, RFC 5730, DOI 10
.17487 , , <https:///RFC5730 www >..rfc -editor .org /info /rfc5730 - [RFC5731]
-
Hollenbeck, S., "Extensible Provisioning Protocol (EPP) Domain Name Mapping", STD 69, RFC 5731, DOI 10
.17487 , , <https:///RFC5731 www >..rfc -editor .org /info /rfc5731 - [RFC8174]
-
Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", BCP 14, RFC 8174, DOI 10
.17487 , , <https:///RFC8174 www >..rfc -editor .org /info /rfc8174 - [W3C
.REC -xml11 -20060816] -
Bray, T., Paoli, J., Sperberg
-Mc , Maler, E., Yergeau, F., and J. Cowan, "Extensible Markup Language (XML) 1.1 (Second Edition)", World Wide Web Consortium Recommendation RECQueen, M. -xml11 , , <https://-20060816 www >..w3 .org /TR /2006 /REC -xml11 -20060816
10.2. Informative References
- [RFC3735]
-
Hollenbeck, S., "Guidelines for Extending the Extensible Provisioning Protocol (EPP)", RFC 3735, DOI 10
.17487 , , <https:///RFC3735 www >..rfc -editor .org /info /rfc3735 - [RFC3915]
-
Hollenbeck, S., "Domain Registry Grace Period Mapping for the Extensible Provisioning Protocol (EPP)", RFC 3915, DOI 10
.17487 , , <https:///RFC3915 www >..rfc -editor .org /info /rfc3915 - [RFC5910]
-
Gould, J. and S. Hollenbeck, "Domain Name System (DNS) Security Extensions Mapping for the Extensible Provisioning Protocol (EPP)", RFC 5910, DOI 10
.17487 , , <https:///RFC5910 www >..rfc -editor .org /info /rfc5910 - [RFC7451]
-
Hollenbeck, S., "Extension Registry for the Extensible Provisioning Protocol", RFC 7451, DOI 10
.17487 , , <https:///RFC7451 www >..rfc -editor .org /info /rfc7451 - [RFC8590]
-
Gould, J. and K. Feher, "Change Poll Extension for the Extensible Provisioning Protocol (EPP)", RFC 8590, DOI 10
.17487 , , <https:///RFC8590 www >..rfc -editor .org /info /rfc8590
Acknowledgements
The authors wish to thank the following people for their feedback and suggestions: Thomas Corte, Scott Hollenbeck, Patrick Mevzek, and Marcel Parodi.¶