idnits 2.17.1 draft-gomez-6lo-schc-dispatch-01.txt: Checking boilerplate required by RFC 5378 and the IETF Trust (see https://trustee.ietf.org/license-info): ---------------------------------------------------------------------------- No issues found here. Checking nits according to https://www.ietf.org/id-info/1id-guidelines.txt: ---------------------------------------------------------------------------- No issues found here. Checking nits according to https://www.ietf.org/id-info/checklist : ---------------------------------------------------------------------------- ** The abstract seems to contain references ([RFC6282], [RFC8724]), which it shouldn't. Please replace those with straight textual mentions of the documents in question. Miscellaneous warnings: ---------------------------------------------------------------------------- == The copyright year in the IETF Trust and authors Copyright Line does not match the current year == The document doesn't use any RFC 2119 keywords, yet has text resembling RFC 2119 boilerplate text. -- The document date (September 21, 2020) is 1312 days in the past. Is this intentional? Checking references for intended status: Proposed Standard ---------------------------------------------------------------------------- (See RFCs 3967 and 4897 for information about using normative references to lower-maturity documents in RFCs) == Unused Reference: 'RFC4944' is defined on line 179, but no explicit reference was found in the text == Unused Reference: 'I-D.toutain-6lo-6lo-and-schc' is defined on line 202, but no explicit reference was found in the text Summary: 1 error (**), 0 flaws (~~), 4 warnings (==), 1 comment (--). Run idnits with the --verbose option for more detailed information about the items above. -------------------------------------------------------------------------------- 2 6lo Working Group C. Gomez 3 Internet-Draft UPC 4 Intended status: Standards Track September 21, 2020 5 Expires: March 25, 2021 7 IPv6 over Low-Power Wireless Personal Area Network (6LoWPAN) Dispatch 8 Type for SCHC 9 draft-gomez-6lo-schc-dispatch-01 11 Abstract 13 A new framework called Static Context Header Compression (SCHC) has 14 been designed with the primary goal of supporting IPv6 over Low Power 15 Wide Area Network (LPWAN) technologies [RFC8724]. One of the SCHC 16 components is a header compression mechanism. If used properly, SCHC 17 header compression allows a greater compression ratio than that 18 achievable with traditional 6LoWPAN header compression [RFC6282]. 19 For this reason, it may make sense to use SCHC header compression in 20 some 6LoWPAN environments. This document defines a 6LoWPAN Dispatch 21 Type to signal when a packet header has been compressed by using SCHC 22 header compression. 24 Status of This Memo 26 This Internet-Draft is submitted in full conformance with the 27 provisions of BCP 78 and BCP 79. 29 Internet-Drafts are working documents of the Internet Engineering 30 Task Force (IETF). Note that other groups may also distribute 31 working documents as Internet-Drafts. The list of current Internet- 32 Drafts is at https://datatracker.ietf.org/drafts/current/. 34 Internet-Drafts are draft documents valid for a maximum of six months 35 and may be updated, replaced, or obsoleted by other documents at any 36 time. It is inappropriate to use Internet-Drafts as reference 37 material or to cite them other than as "work in progress." 39 This Internet-Draft will expire on March 25, 2021. 41 Copyright Notice 43 Copyright (c) 2020 IETF Trust and the persons identified as the 44 document authors. All rights reserved. 46 This document is subject to BCP 78 and the IETF Trust's Legal 47 Provisions Relating to IETF Documents 48 (https://trustee.ietf.org/license-info) in effect on the date of 49 publication of this document. Please review these documents 50 carefully, as they describe your rights and restrictions with respect 51 to this document. Code Components extracted from this document must 52 include Simplified BSD License text as described in Section 4.e of 53 the Trust Legal Provisions and are provided without warranty as 54 described in the Simplified BSD License. 56 Table of Contents 58 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 2 59 2. Conventions used in this document . . . . . . . . . . . . . . 3 60 3. Frame Format . . . . . . . . . . . . . . . . . . . . . . . . 3 61 4. SCHC Dispatch Type . . . . . . . . . . . . . . . . . . . . . 3 62 5. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 4 63 6. Security Considerations . . . . . . . . . . . . . . . . . . . 4 64 7. Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . 4 65 8. References . . . . . . . . . . . . . . . . . . . . . . . . . 4 66 8.1. Normative References . . . . . . . . . . . . . . . . . . 4 67 8.2. Informative References . . . . . . . . . . . . . . . . . 5 68 Author's Address . . . . . . . . . . . . . . . . . . . . . . . . 5 70 1. Introduction 72 RFC 6282 is the main specification for IPv6 over Low power Wireless 73 Personal Area Network (6LoWPAN) IPv6 header compression [RFC6282]. 74 This RFC was designed assuming IEEE 802.15.4 as the layer below the 75 6LoWPAN adaptation layer, and it has also been reused (with proper 76 adaptations) for IPv6 header compression over many other technologies 77 relatively similar to IEEE 802.15.4 in terms of characteristics such 78 as physical layer bit rate, layer 2 maximum payload size, etc. 79 Examples of such technologies comprise BLE, DECT-ULE, ITU G.9959, MS/ 80 TP, NFC, and PLC. RFC 6282 provides additional functionality, such 81 as a mechanism for UDP header compression. 83 In the best cases, RFC 6282 allows to compress a 40-byte IPv6 header 84 down to a 2-byte compressed header (for link-local interactions) or a 85 3-byte compressed header (when global IPv6 addresses are used). On 86 the other hand, an RFC 6282 compressed UDP header has a typical size 87 of 4 bytes. Therefore, in advantageous conditions, a 48-byte 88 uncompressed IPv6/UDP header may be compressed down to a 6-byte 89 format (when using link-local addresses) or a 7-byte format (for 90 global interactions) by using RFC 6282. 92 Recently, a new framework called Static Context Header Compression 93 (SCHC) has been designed with the primary goal of supporting IPv6 94 over Low Power Wide Area Network (LPWAN) technologies [RFC8724]. 95 SCHC comprises header compression and fragmentation functionality 96 tailored to the extraordinary constraints of LPWAN technologies, 97 which are more severe than those exhibited by IEEE 802.15.4 or other 98 relatively similar technologies. 100 SCHC header compression allows a greater compression ratio than that 101 of RFC 6282. If used properly, SCHC allows to compress an IPv6/UDP 102 header down to e.g. a single byte. Therefore, it may make sense to 103 use SCHC header compression in some 6LoWPAN environments [I- 104 D.toutain-6lo-6lo-and-schc], considering its greater efficiency. 106 If SCHC header compression is added to the panoply of header 107 compression mechanisms used in 6LoWPAN environments, then there is a 108 need to signal when a packet header has been compressed by using 109 SCHC. To this end, in its current form, the present document 110 specifies a 6LoWPAN Dispatch Type for SCHC header compression, based 111 on exploiting RFC 8025 Dispatch type space [RFC8025]. 113 2. Conventions used in this document 115 The key words "MUST", "MUST NOT", "REQUIRED", "SHALL","SHALL NOT", 116 "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this 117 document are to be interpreted as described in [RFC2119]. 119 3. Frame Format 121 Figure 1 illustrates the content of an encapsulated, SCHC compressed, 122 IPv6 datagram: 124 +---------------+-------------+---------+ 125 | SCHC Dispatch | SCHC Header | Payload | 126 +---------------+-------------+---------+ 128 Figure 1: Encapsulated, SCHC compressed IPv6 datagram 130 The SCHC Dispatch is a 6LoWPAN Dispatch Type that indicates that the 131 next field is a SCHC Header. The latter corresponds to a packet 132 header that has been compressed by using SCHC. As defined in 133 [RFC8724], the SCHC Header comprises a Rule ID, and a compression 134 residue. (Note: more details, including a discussion on padding, to 135 be added.) 137 4. SCHC Dispatch Type 139 This section defines the 6LoWPAN Dispatch Type called "SCHC 140 Dispatch", by using the RFC 8025 concept of "pages". With the aim to 141 minimize overhead, the present document allocates a whole page (Page 142 2) for the SCHC Dispatch Type: 144 SCHC Dispatch Type bit pattern: 11110010 (Page 2 (Note: to be 145 confirmed by IANA)) 147 For example, two bytes may be used for the SCHC Dispatch plus the 148 Rule ID, which offers a Rule ID space of 256 possible Rule IDs. 150 5. IANA Considerations 152 This document requests the allocation of the Dispatch Type Field bit 153 pattern 11110010 (Page 2) as SCHC Dispatch Type. 155 6. Security Considerations 157 TBD 159 7. Acknowledgments 161 Ana Minaburo and Laurent Toutain suggested for the first time the use 162 of SCHC in environments where 6LoWPAN has traditionally been used. 163 Laurent Toutain made comments that helped shape this document. 165 Carles Gomez has been funded in part by the Spanish Government 166 through project PID2019-106808RA-I00, and by Secretaria 167 d'Universitats i Recerca del Departament d'Empresa i Coneixement de 168 la Generalitat de Catalunya 2017 through grant SGR 376. 170 8. References 172 8.1. Normative References 174 [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate 175 Requirement Levels", BCP 14, RFC 2119, 176 DOI 10.17487/RFC2119, March 1997, 177 . 179 [RFC4944] Montenegro, G., Kushalnagar, N., Hui, J., and D. Culler, 180 "Transmission of IPv6 Packets over IEEE 802.15.4 181 Networks", RFC 4944, DOI 10.17487/RFC4944, September 2007, 182 . 184 [RFC6282] Hui, J., Ed. and P. Thubert, "Compression Format for IPv6 185 Datagrams over IEEE 802.15.4-Based Networks", RFC 6282, 186 DOI 10.17487/RFC6282, September 2011, 187 . 189 [RFC8025] Thubert, P., Ed. and R. Cragie, "IPv6 over Low-Power 190 Wireless Personal Area Network (6LoWPAN) Paging Dispatch", 191 RFC 8025, DOI 10.17487/RFC8025, November 2016, 192 . 194 [RFC8724] Minaburo, A., Toutain, L., Gomez, C., Barthel, D., and JC. 195 Zuniga, "SCHC: Generic Framework for Static Context Header 196 Compression and Fragmentation", RFC 8724, 197 DOI 10.17487/RFC8724, April 2020, 198 . 200 8.2. Informative References 202 [I-D.toutain-6lo-6lo-and-schc] 203 Minaburo, A. and L. Toutain, "Comparison of 6lo and SCHC", 204 draft-toutain-6lo-6lo-and-schc-00 (work in progress), 205 November 2019. 207 Author's Address 209 Carles Gomez 210 UPC 211 C/Esteve Terradas, 7 212 Castelldefels 08860 213 Spain 215 Email: carlesgo@entel.upc.edu