An IETF URN Sub-namespace for Registered Protocol Parameters
Gives IANA-registered protocol parameters stable URN names under urn:ietf:params.
Mealling, M., Masinter, L., Hardie, T., and G. Klyne, "An IETF URN Sub-namespace for Registered Protocol Parameters", BCP 73, RFC 3553, DOI 10.17487/RFC3553, June 2003, <https://www.rfc-editor.org/info/rfc3553>.
@misc{rfc3553,
series = {Request for Comments},
number = 3553,
howpublished = {RFC 3553},
publisher = {RFC Editor},
doi = {10.17487/RFC3553},
url = {https://www.rfc-editor.org/info/rfc3553},
author = {M. Mealling and L. Masinter and T. Hardie and G. Klyne},
title = {{An IETF URN Sub-namespace for Registered Protocol Parameters}},
pagetotal = 8,
year = 2003,
month = jun,
} RFC text
Contents
Network Working Group M. Mealling
Request for Comments: 3553 VeriSign
BCP: 73 L. Masinter
Category: Best Current Practice Adobe Systems
T. Hardie
Qualcomm
G. Klyne
Nine by Nine
June 2003
An IETF URN Sub-namespace for Registered Protocol Parameters
Status of this Memo
This document specifies an Internet Best Current Practices for the
Internet Community, and requests discussion and suggestions for
improvements. Distribution of this memo is unlimited.
Copyright Notice
Copyright (C) The Internet Society (2003). All Rights Reserved.
Abstract
This document describes a new sub-delegation for the 'ietf' URN
namespace for registered protocol items. The 'ietf' URN namespace is
defined in RFC 2648 as a root for persistent URIs that refer to
IETF-defined resources.
1. Introduction
From time to time IETF standards require the registration of various
protocol elements in well known central repository. The Internet
Assigned Numbers Authority maintains this central repository and
takes direction from the IETF on what, how and when to add items to
it. The IANA maintains lists of items such as all assigned port
numbers, MIME media types, enterprise numbers, etc.
Over time there has developed a need to be able to reference these
elements as URIs in various schema. In the past this was done in a
very ad hoc way that easily led to interoperability problems. This
document creates a new sub-delegation below the "ietf" [2]URN
namespace [1] called 'params' which acts as a standardized mechanism
for naming the items registered for IETF standards. Any assignments
below that are specified in an RFC according to the IETF consensus
process and which include the template found in Section 4.
2. Terminology
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.
3. IETF Sub-namespace Specifics
Sub-namespace name:
params
Declared registrant of the namespace:
The Internet Engineering Task Force
Declaration of structure:
The namespace is primarily opaque. The IANA, as operator of the
registry, may take suggestions for names to assign but they
reserve the right to assign whatever name they desire, within
guidelines set by the IESG. The colon character (":") is used to
denote a very limited concept of hierarchy. If a colon is present
then the items on both sides of it are valid names. In general,
if a name has a colon then the item on the left hand side
represents a class of those items that would contain other items
of that class. For example, a name can be assigned to the entire
list of DNS resource record type codes as well as for each
individual code. The URN for the list might look like this:
urn:ietf:params:dns:rr-type-codes
while the URN for the SOA records type code might look like this:
urn:ietf:params:dns:rr-type-codes:soa
Relevant ancillary documentation:
[3], [2], [1]
Identifier uniqueness considerations:
The IESG uses the IETF consensus process to ensure that
sub-namespaces generate unique names within that
sub-namespace. The IESG delegates to the IANA the task of
ensuring that the sub-namespace names themselves are unique.
Until and unless the IESG specifies differently, the IANA is
directed to ensure uniqueness by comparing the name to be assigned
with the list of previously assigned names. In the case of a
conflict the IANA is to request a new string from the registrant
until the conflict is resolved.
Identifier persistence considerations:
Once a name has been allocated it MUST NOT be re-allocated for a
different purpose. The rules provided for assignments of values
within a sub-namespace MUST be constructed so that the meaning of
values cannot change. This registration mechanism is not
appropriate for naming values whose meaning may change over time.
If a value that changes over time the assignment MUST name the
container or concept that contains the value, not the value
itself. For example, if a parameter called 'foo' has a value that
changes over time, it is valid to create the name
'urn:ietf:params:foo-params:foo' that identifies that 'slot'. It
is not valid to actually create a name that contains that value
unless it is a persistent and unique value such as a version
number.
Process of identifier assignment:
Identifiers are assigned only after a particular protocol element
or number has been registered with the IANA using standard
policies and procedures, or documented in an RFC describing a
standards track protocol. This means that the 'gating' function
for assignment is the "IETF Consensus" process documented in RFC
2434 [4].
Process of identifier resolution:
At this time no resolution mechanism is defined.
Rules for Lexical Equivalence:
Lexical equivalence is achieved by exact string match according to
the rules for URN syntax found in RFC 2141 [1]. Specifically, due
to the URN syntax definitions, the 'stringprep' standard found in
RFC 3454 [7] does not apply.
Conformance with URN Syntax:
There are no additional characters reserved.
Validation mechanism:
None.
Scope:
Global
4. Assigning Names
The creation of a new registry name will be simple for most flat
registries. The only required elements will be the registry name, a
reference to relevant documents, a statement about which
current/proposed document repositories contains the authoritative
data for the registry, and a statement specifying which element in
the registry is the value to be used in the URN. In most cases this
last element will be the index value assigned by the IANA.
More complex registries (DNS Parameters for example) will need to
repeat that information for any sub-namespaces. It should also be
clear as to whether or not a name is assigned to the sub-namespace
itself (i.e., is 'urn:ietf:params:dns:rr-types' valid by itself and
if so, what does it name?).
The template:
Registry name: -- The name of the sub-namespace. In many cases this
should be the same name that the IANA calls the registry itself.
Specification: -- Relevant IETF published documents that define the
registry and the items in it.
Repository: -- A pointer to the 'current' location of the registry in
the protocol parameters repository or the relevant RFCs that
document the items being named. This value will change over time
as the entity that maintains the repository moves files and or
fileservers. It is not meant as a permanent binding to the
filename but as a hint to the IANA for what the initial mapping
would be.
Index value: -- Description of how a registered value is to be
embedded in the URI form. This MUST include details of any
transformations that may be needed for the resulting string to
conform to URN syntax rules and any canonicalization needed so
that the case-sensitive string comparison yields the expected
equivalences.
The process for requesting that a URN be assigned is currently to put
the above template or a reference to it in the IANA considerations
section of the specifying document. Other more automated processes
may be proposed at a latter time if demand requires it.
5. Security Considerations
None not already inherent to using URNs. Security considerations for
URNs in general can be found in RFC 2141 [1]. Further security
considerations for one specific URN resolution method can be found in
Dynamic Delegation Discovery System (DDDS) Part Four: The Uniform
Resource Identifiers (URI) Resolution Application (RFC 3404) [5]
which is part of a series starting with Dynamic Delegation Discovery
System (DDDS) Part One: The Comprehensive DDDS (RFC 3401) [6].
6. IANA Considerations
This document puts a new and significant burden on the IANA since it
may require an additional assignment process to happen for each new
IANA registry. To minimize the administrative burden on IANA, any
parameter namespace registration is very clear about the criteria for
inclusion in that namespace.
Defining a registry that fits the constraints of a URN namespace will
impose extra discipline that should take some of the guess-work about
creating and maintaining that registry.
7. Intellectual Property Statement
The IETF takes no position regarding the validity or scope of any
intellectual property or other rights that might be claimed to
pertain to the implementation or use of the technology described in
this document or the extent to which any license under such rights
might or might not be available; neither does it represent that it
has made any effort to identify any such rights. Information on the
IETF's procedures with respect to rights in standards-track and
standards-related documentation can be found in BCP-11. Copies of
claims of rights made available for publication and any assurances of
licenses to be made available, or the result of an attempt made to
obtain a general license or permission for the use of such
proprietary rights by implementors or users of this specification can
be obtained from the IETF Secretariat.
The IETF invites any interested party to bring to its attention any
copyrights, patents or patent applications, or other proprietary
rights which may cover technology that may be required to practice
this standard. Please address the information to the IETF Executive
Director.
8. Normative References
[1] Moats, R., "URN Syntax", RFC 2141, May 1997.
[2] Moats, R., "A URN Namespace for IETF Documents", RFC 2648,
August 1999.
[3] Daigle, L., van Gulik, D., Iannella, R. and P. Faltstrom,
"Uniform Resource Names (URN) Namespace Definition Mechanisms",
BCP 66, RFC 3406, October 2002.
[4] Narten, T. and H. Alvestrand, "Guidelines for Writing an IANA
Considerations Section in RFCs", BCP 26, RFC 2434, October 1998.
[5] Mealling, M., "Dynamic Delegation Discovery System (DDDS) Part
Four: The Uniform Resource Identifiers (URI)", RFC 3404,
February 2002.
[6] Mealling, M., "Dynamic Delegation Discovery System (DDDS) Part
One: The Comprehensive DDDS", RFC 3401, May 2002.
[7] Hoffman, P. and M. Blanchet, "Preparation of Internationalized
Strings ("stringprep")", RFC 3454, December 2002.
9. Authors' Addresses
Michael Mealling
VeriSign
21345 Ridgetop Circle
Sterling, VA 20166
US
EMail: michael@verisignlabs.com, michael@neonym.net
URI: http://www.verisign.com
Larry Masinter
Adobe Systems Incorporated
345 Park Ave
San Jose, CA 95110
US
Phone: +1 408 536-3024
EMail: LMM@acm.org
URI: http://larry.masinter.net
Ted Hardie
Qualcomm, Inc.
675 Campbell Technology Parkway
Suite 200
Campbell, CA
U.S.A.
EMail: hardie@qualcomm.com
Graham Klyne
Nine by Nine
EMail: GK-IETF@ninebynine.org
URI: http://www.ninebynine.net/
10. Full Copyright Statement
Copyright (C) The Internet Society (2003). All Rights Reserved.
This document and translations of it may be copied and furnished to
others, and derivative works that comment on or otherwise explain it
or assist in its implementation may be prepared, copied, published
and distributed, in whole or in part, without restriction of any
kind, provided that the above copyright notice and this paragraph are
included on all such copies and derivative works. However, this
document itself may not be modified in any way, such as by removing
the copyright notice or references to the Internet Society or other
Internet organizations, except as needed for the purpose of
developing Internet standards in which case the procedures for
copyrights defined in the Internet Standards process must be
followed, or as required to translate it into languages other than
English.
The limited permissions granted above are perpetual and will not be
revoked by the Internet Society or its successors or assigns.
This document and the information contained herein is provided on an
"AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING
TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING
BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION
HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF
MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
Acknowledgement
Funding for the RFC Editor function is currently provided by the
Internet Society.
AI ELI5
On this page
§1Why Registered Items Need URNs
IETF standards often require registering protocol elements in a central repository. The Internet Assigned Numbers Authority (IANA) keeps that repository and takes direction from the IETF. It holds lists such as assigned port numbers, MIME media types and enterprise numbers.
Over time a need arose to refer to these items as URIs. The RFC says this was done in an ad hoc way that easily caused interoperability problems. It creates a sub-delegation called params below the ietf URN namespace, which is defined in RFC 2648, as a standard way to name items registered for IETF standards. Assignments below it are specified in an RFC through the IETF consensus process and include the template of Section 4.
Many official lists of numbers and names exist, but people wrote down links to them in messy, different ways. This memo gives them one tidy way to write the address.
§3How the params Names Are Structured
The registrant of the sub-namespace is the Internet Engineering Task Force. The namespace is primarily opaque. IANA may take suggestions for names but reserves the right to assign whatever name it wants, within guidelines set by the IESG.
A colon denotes a very limited hierarchy. If a name contains a colon, both sides are valid names, and the left side generally names a class of items that contains the others. The RFC's example: a name can be assigned to the whole list of DNS resource record type codes and to each individual code.
Lexical equivalence is an exact string match under the URN syntax rules of RFC 2141. No additional characters are reserved, there is no validation mechanism, and the scope is global.
Most names are just labels the librarian picks. A colon works like a folder: the part before it is the big group, and the part after is one thing inside it.
urn:ietf:params:dns:rr-type-codes
urn:ietf:params:dns:rr-type-codes:soa§3.1Uniqueness and Persistence
The IESG uses the IETF consensus process to make sure sub-namespaces produce unique names. It delegates to IANA the job of keeping the sub-namespace names unique, by comparing a new name with the list of earlier ones. If there is a conflict, IANA asks the registrant for a new string until it is resolved.
Persistence is strict: once a name has been allocated it MUST NOT be re-allocated for a different purpose, and the assignment rules MUST ensure that the meaning of values cannot change. The mechanism is not appropriate for values that change over time. In that case the name MUST identify the container or concept, not the value. The RFC's example is that urn:ietf:params:foo-params:foo may name a slot, while naming the changing value itself is only valid for something persistent and unique such as a version number.
Identifiers are assigned only after the item has been registered with IANA using standard procedures, or documented in an RFC describing a standards track protocol. At this time no resolution mechanism is defined.
Once an address is given out it belongs to that thing forever. If something keeps changing, the address points at the box that holds it, not the changing thing.
§4Assigning Names with the Template
For most flat registries the required elements are small: the registry name, a reference to the relevant documents, a statement of which repositories hold the authoritative data, and a statement of which element is the value used in the URN, usually the index value assigned by IANA. More complex registries, such as DNS parameters, repeat this for sub-namespaces and should say whether a name for the sub-namespace itself is valid.
The template has four fields:
- Registry name: the name of the sub-namespace, often the same as IANA's name for the registry.
- Specification: the IETF documents defining the registry and its items.
- Repository: where the registry currently lives. It will change over time and is only a hint for the initial mapping.
- Index value: how a registered value is embedded in the URI. It MUST detail any transformations needed to meet URN syntax and any canonicalization so that case-sensitive comparison gives the expected equivalences.
To request a name, put the template, or a reference to it, in the IANA considerations section of the specifying document.
To get an address you fill in a short form: what the list is called, which document describes it, where it lives, and how each entry is written in the address.
§5Security Considerations
The RFC lists none beyond those already inherent to using URNs. General URN considerations are in RFC 2141, and further ones for one particular URN resolution method are in RFC 3404, part of the series that starts with RFC 3401.
Nothing new is risky here. The usual cautions for these kinds of addresses still apply.
§6The Burden on IANA
The RFC admits it puts a new and significant burden on IANA, since each new IANA registry may need an additional assignment process. To reduce that burden, any parameter namespace registration must be very clear about its criteria for inclusion.
It also argues a benefit: defining a registry that fits the constraints of a URN namespace imposes extra discipline that should take some of the guess-work out of creating and maintaining the registry.
The list keepers get more work, so each request has to be very clear. The tidy rules should also make the lists easier to look after.