draft-ietf-cbor-network-addresses-07.txt | draft-ietf-cbor-network-addresses-08.txt | |||
---|---|---|---|---|
CBOR Working Group M. Richardson | CBOR Working Group M. Richardson | |||
Internet-Draft Sandelman Software Works | Internet-Draft Sandelman Software Works | |||
Intended status: Standards Track C. Bormann | Intended status: Standards Track C. Bormann | |||
Expires: 2 February 2022 Universität Bremen TZI | Expires: 12 March 2022 Universität Bremen TZI | |||
1 August 2021 | 8 September 2021 | |||
CBOR tags for IPv4 and IPv6 addresses and prefixes | CBOR tags for IPv4 and IPv6 addresses and prefixes | |||
draft-ietf-cbor-network-addresses-07 | draft-ietf-cbor-network-addresses-08 | |||
Abstract | Abstract | |||
This specification defines two CBOR Tags to be used with IPv6 and | This specification defines two CBOR Tags to be used with IPv6 and | |||
IPv4 addresses and prefixes. | IPv4 addresses and prefixes. | |||
// RFC-EDITOR-please-remove: This work is tracked at | // RFC-EDITOR-please-remove: This work is tracked at | |||
// https://github.com/cbor-wg/cbor-network-address | // https://github.com/cbor-wg/cbor-network-address | |||
Status of This Memo | Status of This Memo | |||
skipping to change at page 1, line 35 ¶ | skipping to change at page 1, line 35 ¶ | |||
Internet-Drafts are working documents of the Internet Engineering | Internet-Drafts are working documents of the Internet Engineering | |||
Task Force (IETF). Note that other groups may also distribute | Task Force (IETF). Note that other groups may also distribute | |||
working documents as Internet-Drafts. The list of current Internet- | working documents as Internet-Drafts. The list of current Internet- | |||
Drafts is at https://datatracker.ietf.org/drafts/current/. | Drafts is at https://datatracker.ietf.org/drafts/current/. | |||
Internet-Drafts are draft documents valid for a maximum of six months | Internet-Drafts are draft documents valid for a maximum of six months | |||
and may be updated, replaced, or obsoleted by other documents at any | and may be updated, replaced, or obsoleted by other documents at any | |||
time. It is inappropriate to use Internet-Drafts as reference | time. It is inappropriate to use Internet-Drafts as reference | |||
material or to cite them other than as "work in progress." | material or to cite them other than as "work in progress." | |||
This Internet-Draft will expire on 2 February 2022. | This Internet-Draft will expire on 12 March 2022. | |||
Copyright Notice | Copyright Notice | |||
Copyright (c) 2021 IETF Trust and the persons identified as the | Copyright (c) 2021 IETF Trust and the persons identified as the | |||
document authors. All rights reserved. | document authors. All rights reserved. | |||
This document is subject to BCP 78 and the IETF Trust's Legal | This document is subject to BCP 78 and the IETF Trust's Legal | |||
Provisions Relating to IETF Documents (https://trustee.ietf.org/ | Provisions Relating to IETF Documents (https://trustee.ietf.org/ | |||
license-info) in effect on the date of publication of this document. | license-info) in effect on the date of publication of this document. | |||
Please review these documents carefully, as they describe your rights | Please review these documents carefully, as they describe your rights | |||
skipping to change at page 2, line 32 ¶ | skipping to change at page 2, line 32 ¶ | |||
3.1.3. Interface Definition . . . . . . . . . . . . . . . . 3 | 3.1.3. Interface Definition . . . . . . . . . . . . . . . . 3 | |||
3.2. IPv6 . . . . . . . . . . . . . . . . . . . . . . . . . . 4 | 3.2. IPv6 . . . . . . . . . . . . . . . . . . . . . . . . . . 4 | |||
3.3. IPv4 . . . . . . . . . . . . . . . . . . . . . . . . . . 4 | 3.3. IPv4 . . . . . . . . . . . . . . . . . . . . . . . . . . 4 | |||
4. Encoder Considerations for Prefixes . . . . . . . . . . . . . 5 | 4. Encoder Considerations for Prefixes . . . . . . . . . . . . . 5 | |||
5. Decoder Considerations for Prefixes . . . . . . . . . . . . . 6 | 5. Decoder Considerations for Prefixes . . . . . . . . . . . . . 6 | |||
6. CDDL . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 | 6. CDDL . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 | |||
7. Security Considerations . . . . . . . . . . . . . . . . . . . 7 | 7. Security Considerations . . . . . . . . . . . . . . . . . . . 7 | |||
8. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 7 | 8. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 7 | |||
8.1. Tag 54 - IPv6 . . . . . . . . . . . . . . . . . . . . . . 8 | 8.1. Tag 54 - IPv6 . . . . . . . . . . . . . . . . . . . . . . 8 | |||
8.2. Tag 52 - IPv4 . . . . . . . . . . . . . . . . . . . . . . 8 | 8.2. Tag 52 - IPv4 . . . . . . . . . . . . . . . . . . . . . . 8 | |||
8.3. Tags 260 and 261 . . . . . . . . . . . . . . . . . . . . 8 | ||||
9. References . . . . . . . . . . . . . . . . . . . . . . . . . 8 | 9. References . . . . . . . . . . . . . . . . . . . . . . . . . 8 | |||
9.1. Normative References . . . . . . . . . . . . . . . . . . 8 | 9.1. Normative References . . . . . . . . . . . . . . . . . . 8 | |||
9.2. Informative References . . . . . . . . . . . . . . . . . 8 | 9.2. Informative References . . . . . . . . . . . . . . . . . 8 | |||
Appendix A. Changelog . . . . . . . . . . . . . . . . . . . . . 8 | Appendix A. Changelog . . . . . . . . . . . . . . . . . . . . . 9 | |||
Acknowledgements . . . . . . . . . . . . . . . . . . . . . . . . 9 | Acknowledgements . . . . . . . . . . . . . . . . . . . . . . . . 9 | |||
Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 9 | Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 9 | |||
1. Introduction | 1. Introduction | |||
[RFC8949] defines a number of CBOR Tags for common items. Tags 260 | [RFC8949] defines a number of CBOR Tags for common items. Tags 260 | |||
and 261 were later defined through IANA [IANA.cbor-tags]. These tags | and 261 were later defined through IANA [IANA.cbor-tags]. These tags | |||
cover addresses (260), and prefixes (261). Tag 260 distinguishes | cover addresses (260), and prefixes (261). Tag 260 distinguishes | |||
between IPv6, IPv4 and Ethernet through the length of the byte string | between IPv6, IPv4 and Ethernet through the length of the byte string | |||
only. Tag 261 was not documented well enough to be used. | only. Tag 261 was not documented well enough to be used. | |||
skipping to change at page 8, line 15 ¶ | skipping to change at page 8, line 15 ¶ | |||
8.1. Tag 54 - IPv6 | 8.1. Tag 54 - IPv6 | |||
Data Item: byte string or array | Data Item: byte string or array | |||
Semantics: IPv6, [prefixlen,IPv6], [IPv6,prefixpart] | Semantics: IPv6, [prefixlen,IPv6], [IPv6,prefixpart] | |||
8.2. Tag 52 - IPv4 | 8.2. Tag 52 - IPv4 | |||
Data Item: byte string or array | Data Item: byte string or array | |||
Semantics: IPv4, [prefixlen,IPv4], [IPv4,prefixpart] | Semantics: IPv4, [prefixlen,IPv4], [IPv4,prefixpart] | |||
8.3. Tags 260 and 261 | ||||
IANA is requested to add the note "DEPRECATED in favor of 52 and 54" | ||||
to registrations 260 and 261" | ||||
9. References | 9. References | |||
9.1. Normative References | 9.1. Normative References | |||
[RFC2119] Bradner, S., "Key words for use in RFCs to Indicate | [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate | |||
Requirement Levels", BCP 14, RFC 2119, | Requirement Levels", BCP 14, RFC 2119, | |||
DOI 10.17487/RFC2119, March 1997, | DOI 10.17487/RFC2119, March 1997, | |||
<https://www.rfc-editor.org/info/rfc2119>. | <https://www.rfc-editor.org/info/rfc2119>. | |||
[RFC8174] Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC | [RFC8174] Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC | |||
End of changes. 6 change blocks. | ||||
5 lines changed or deleted | 11 lines changed or added | |||
This html diff was produced by rfcdiff 1.48. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ |