RFC 5223
Discovering Location-to-Service Translation (LoST) Servers Using the Dynamic Host Configuration Protocol (DHCP)
RFC 5223 π Discovering Location-to-Service Translation (LoST) Servers Using the Dynamic Host Configuration Protocol (DHCP)
okay bestie, RFC 5223 is giving main character energy π here's the title block tea:
- Stream: Network Working Group πΈ
- Category: Standards Track β¨ (it's an Internet standards track protocol)
- Date: August 2008 π¦
- Authors: Henning Schulzrinne (Columbia University), James Polk (Cisco), and Hannes Tschofenig (Nokia Siemens Networks) π
- Obsoletes / Updates: the title block doesn't list anything this RFC obsoletes or updates π
Status of This Memo πΈ
This doc specifies an Internet standards track protocol for the Internet community, and it's asking for discussion and suggestions for improvements π«Ά For the standardization state and status of this protocol, check the current edition of the "Internet Official Protocol Standards" (STD 1). Distribution of this memo is unlimited π
Abstract π¦
The Location-to-Service Translation (LoST) Protocol is an XML-based protocol that maps service identifiers and geospatial or civic location information to service contact Uniform Resource Locators (URLs) πΊοΈ LoST servers can be located anywhere, but a placement closer to the end host, e.g., in the access network, is desirable π In disaster situations with intermittent network connectivity, that kind of placement helps the resiliency of emergency service communication π¨
This document describes how a LoST client can discover a LoST server using the Dynamic Host Configuration Protocol (DHCP) π§
Table of Contents π
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . 2
2. Terminology . . . . . . . . . . . . . . . . . . . . . . . . . . 2
3. Domain Name Encoding . . . . . . . . . . . . . . . . . . . . . 3
4. LoST Server DHCPv4 Option . . . . . . . . . . . . . . . . . . . 3
5. LoST Server DHCPv6 Option . . . . . . . . . . . . . . . . . . . 4
6. Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
7. IANA Considerations . . . . . . . . . . . . . . . . . . . . . . 5
7.1. DHCPv4 Option . . . . . . . . . . . . . . . . . . . . . . . 5
7.2. DHCPv6 Option . . . . . . . . . . . . . . . . . . . . . . . 5
8. Security Considerations . . . . . . . . . . . . . . . . . . . . 5
9. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . . 5
10. References . . . . . . . . . . . . . . . . . . . . . . . . . . 6
10.1. Normative References . . . . . . . . . . . . . . . . . . . 6
10.2. Informative References . . . . . . . . . . . . . . . . . . 6
1. Introduction β¨
The Location-to-Service Translation (LoST) Protocol [RFC5222] is an XML-based protocol for mapping service identifiers and geospatial or civic location information to service contact Uniform Resource Locators (URLs) π
So, to talk to a LoST server, the LoST client needs to find out the server's IP address π There are a few ways to learn it, including manual configuration. But in environments where the access network either deploys a LoST server or knows a third party that runs one, DHCP can hand the end host a domain name π That domain name then gets fed into the DNS-based resolution mechanism described in LoST [RFC5222], which reuses the URI-enabled NAPTR specification (see [RFC4848]) π§
This document specifies a DHCPv4 option and a DHCPv6 option that let LoST clients discover local LoST servers π
Section 2 gives the terminology. Section 3 shows the encoding of the domain name. Section 4 describes the DHCPv4 option, and Section 5 describes the DHCPv6 option, which does the same job π IANA and Security Considerations wrap things up in Sections 7 and 8 π
2. Terminology π§Έ
In this document, the key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" are to be interpreted as described in RFC 2119 [RFC2119] π
Within this document, we borrow terminology from [RFC5012] and [RFC5222] π«Ά
3. Domain Name Encoding π·
This section explains how the domain name used in the DHCPv4 option (Section 4) and the DHCPv6 option (Section 5) gets encoded π§©
The domain name is encoded according to Section 3.1 of RFC 1035 [RFC1035], where each label is written as a one-octet length field followed by that many octets. Since every domain name ends with the null label of the root, a domain name is terminated by a length byte of zero π The high-order two bits of every length octet MUST be zero, and the remaining six bits of the length field limit the label to 63 octets or less. To keep implementations simple, the total length of a domain name (i.e., label octets and label length octets) is restricted to 255 octets or less π
4. LoST Server DHCPv4 Option π¦
The LoST server DHCPv4 option carries a DNS (RFC 1035 [RFC1035]) fully-qualified domain name (FQDN) that the LoST client uses to locate a LoST server π
Here's the format for this option π
Code Len LoST Server Domain Name
+-----+-----+-----+-----+-----+-----+-----+----
| 137 | n | s1 | s2 | s3 | s4 | s5 | ...
+-----+-----+-----+-----+-----+-----+-----+----
Figure 1: LoST FQDN DHCPv4 Option
The values s1, s2, s3, etc. represent the domain name labels in the domain name encoding. Quick heads up: the length field in the DHCPv4 option is the length of the entire domain name encoding, while the length fields inside the domain name encoding (see Section 3) are the length of a single label π
Code: OPTION_V4_LOST (137)Len: Length of the 'LoST Server Domain Name' field in octets; variable.LoST Server Domain Name: The domain name of the LoST server for the client to use.
A DHCPv4 client MAY request a LoST server domain name in a Parameter Request List option, as described in [RFC2131] π
The encoding of the domain name is described in Section 3 π§
This option contains a single domain name and, as such, MUST contain precisely one root label π
5. LoST Server DHCPv6 Option πΈ
This section defines a DHCPv6 option that carries a domain name π
The DHCPv6 option has the format shown in Figure 2 β¨
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| OPTION_V6_LOST | option-length |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| LoST Server Domain Name |
| ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
option-code: OPTION_V6_LOST (51)option-length: Length of the 'LoST Server Domain Name' field in octets; variable.LoST Server Domain Name: The domain name of the LoST server for the client to use.
Figure 2: DHCPv6 Option for LoST Server Domain Name List
A DHCPv6 client MAY request a LoST server domain name in an Options Request Option (ORO), as described in [RFC3315] π«§
The encoding of the domain name is described in Section 3 π§
This option contains a single domain name and, as such, MUST contain precisely one root label π
Okay, that's the first half of the protocol with all the DHCP option drama π
Full Copyright Statement π
Okay bestie, the legal part is here π Copyright (C) The IETF Trust (2008). This document is subject to the rights, licenses and restrictions contained in BCP 78, and except as set forth therein, the authors retain all their rights. π¦
This document and the information contained herein are provided on an "AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY, THE IETF TRUST AND THE INTERNET ENGINEERING TASK FORCE DISCLAIM 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. π
Intellectual Property π
Okay so, the IETF is not picking a side on who owns what π It takes no position on whether any Intellectual Property Rights or other rights that might be claimed to cover the implementation or use of the technology in this document are valid or in scope, and it doesn't say whether any license to those rights would or wouldn't be available. It also doesn't claim it has done any independent effort to find such rights. β¨ If you want the procedures for rights in RFC documents, check out BCP 78 and BCP 79 π
Copies of IPR disclosures made to the IETF Secretariat, 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 implementers or users of this specification, can be obtained from the IETF on-line IPR repository at http://www.ietf.org/ipr. πΈ
The IETF invites any interested party to bring to its attention any copyrights, patents or patent applications, or other proprietary rights that may cover technology that may be required to implement this standard. π
Send that info to the IETF at ietf-ipr@ietf.org. π«Ά
That's the whole document, bestie! ππ
π¦ where this page comes from
- ietf: rfc5223 2008-08
- π girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms