Network Working Group                                          M. Tuexen
Request for Comments: 4820            Muenster Univ. of Applied Sciences
Category: Standards Track                                     R. Stewart
                                                                  P. Lei
                                                     Cisco Systems, Inc.
                                                              March 2007
        
Network Working Group                                          M. Tuexen
Request for Comments: 4820            Muenster Univ. of Applied Sciences
Category: Standards Track                                     R. Stewart
                                                                  P. Lei
                                                     Cisco Systems, Inc.
                                                              March 2007
        

Padding Chunk and Parameter for the Stream Control Transmission Protocol (SCTP)

流控制传输协议(SCTP)的填充块和参数

Status of This Memo

关于下段备忘

This document specifies an Internet standards track protocol for the Internet community, and requests discussion and suggestions for improvements. Please refer to the current edition of the "Internet Official Protocol Standards" (STD 1) for the standardization state and status of this protocol. Distribution of this memo is unlimited.

本文件规定了互联网社区的互联网标准跟踪协议,并要求进行讨论和提出改进建议。有关本协议的标准化状态和状态,请参考当前版本的“互联网官方协议标准”(STD 1)。本备忘录的分发不受限制。

Copyright Notice

版权公告

Copyright (C) The IETF Trust (2007).

版权所有(C)IETF信托基金(2007年)。

Abstract

摘要

This document defines a padding chunk and a padding parameter and describes the required receiver side procedures. The padding chunk is used to pad a Stream Control Transmission Protocol (SCTP) packet to an arbitrary size. The padding parameter is used to pad an SCTP INIT chunk to an arbitrary size.

本文档定义了填充块和填充参数,并描述了所需的接收器端过程。填充块用于将流控制传输协议(SCTP)数据包填充到任意大小。padding参数用于将SCTP INIT块填充到任意大小。

Table of Contents

目录

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . . . 2
   2.  Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . 2
   3.  Padding Chunk (PAD) . . . . . . . . . . . . . . . . . . . . . . 2
   4.  Padding Parameter (PAD) . . . . . . . . . . . . . . . . . . . . 3
   5.  IANA Considerations . . . . . . . . . . . . . . . . . . . . . . 4
     5.1.  A New Chunk Type  . . . . . . . . . . . . . . . . . . . . . 4
     5.2.  A New Parameter Type  . . . . . . . . . . . . . . . . . . . 4
   6.  Security Considerations . . . . . . . . . . . . . . . . . . . . 4
   7.  Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . . 4
   8.  References  . . . . . . . . . . . . . . . . . . . . . . . . . . 5
     8.1.  Normative References  . . . . . . . . . . . . . . . . . . . 5
     8.2.  Informative References  . . . . . . . . . . . . . . . . . . 5
        
   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . . . 2
   2.  Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . 2
   3.  Padding Chunk (PAD) . . . . . . . . . . . . . . . . . . . . . . 2
   4.  Padding Parameter (PAD) . . . . . . . . . . . . . . . . . . . . 3
   5.  IANA Considerations . . . . . . . . . . . . . . . . . . . . . . 4
     5.1.  A New Chunk Type  . . . . . . . . . . . . . . . . . . . . . 4
     5.2.  A New Parameter Type  . . . . . . . . . . . . . . . . . . . 4
   6.  Security Considerations . . . . . . . . . . . . . . . . . . . . 4
   7.  Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . . 4
   8.  References  . . . . . . . . . . . . . . . . . . . . . . . . . . 5
     8.1.  Normative References  . . . . . . . . . . . . . . . . . . . 5
     8.2.  Informative References  . . . . . . . . . . . . . . . . . . 5
        
1. Introduction
1. 介绍

This document defines a padding chunk and a padding parameter and describes the required receiver side procedures. The padding chunk is used to pad an SCTP packet to an arbitrary size. The padding parameter is used to pad an SCTP INIT chunk to an arbitrary size. The usage of the PAD chunk for path MTU discovery is described in PMTU [4]. The inappropriate usage of the PAD parameter or PAD chunk can result in wasted bandwidth.

本文档定义了填充块和填充参数,并描述了所需的接收器端过程。填充块用于将SCTP数据包填充到任意大小。padding参数用于将SCTP INIT块填充到任意大小。PMTU[4]中描述了用于路径MTU发现的焊盘块的用法。PAD参数或PAD块的不当使用会导致带宽浪费。

2. Conventions
2. 习俗

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL", when they appear in this document, are to be interpreted as described in RFC 2119 [1].

本文件中出现的关键词“必须”、“不得”、“必需”、“应”、“不应”、“建议”、“不建议”、“可”和“可选”应按照RFC 2119[1]中的说明进行解释。

3. Padding Chunk (PAD)
3. 填充块(PAD)

This chunk is used to pad an SCTP packet. A PAD chunk can be used to enlarge the packet by 4 to 65536 bytes in steps of 4 bytes. An SCTP packet MAY contain multiple PAD chunks.

此区块用于填充SCTP数据包。PAD块可用于以4字节的步长将数据包放大4到65536字节。SCTP数据包可以包含多个PAD块。

    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
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   | Type = 0x84   |   Flags=0     |             Length            |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                                                               |
   \                         Padding Data                          /
   /                                                               \
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
        
    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
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   | Type = 0x84   |   Flags=0     |             Length            |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                                                               |
   \                         Padding Data                          /
   /                                                               \
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
        

Figure 1

图1

Type: 1 byte (unsigned integer) This value MUST be set to 0x84 for all PAD chunks.

类型:1字节(无符号整数)对于所有焊盘块,此值必须设置为0x84。

Flags: 1 byte (unsigned integer) This value SHOULD be set to zero on transmit and MUST be ignored on receipt.

标志:1字节(无符号整数)此值在传输时应设置为零,在接收时必须忽略。

Length: 2 bytes (unsigned integer) This value holds the length of the Padding Data plus 4.

长度:2字节(无符号整数)此值保存填充数据的长度加上4。

Padding Data: n bytes (unsigned integer) This holds the Padding Data. The Padding Data MUST be ignored by the receiver.

填充数据:n个字节(无符号整数)它保存填充数据。接收器必须忽略填充数据。

The receiver of the PAD chunk MUST discard this chunk and continue processing the rest of the chunks in the packet. Please note that this is also the required processing behavior for any unknown chunk having the same highest-order two bits of the type as the PAD chunk.

PAD块的接收者必须丢弃该块并继续处理数据包中的其余块。请注意,这也是任何未知块(与焊盘块具有相同类型的最高阶两位)所需的处理行为。

4. Padding Parameter (PAD)
4. 填充参数(PAD)

This parameter is used to pad an INIT chunk. A PAD parameter can be used to enlarge the INIT chunk by 4 bytes as the minimum to the maximum size of the INIT chunk in steps of 4 bytes. An INIT chunk MAY contain multiple PAD parameters.

此参数用于填充INIT块。PAD参数可用于将INIT块放大4个字节,作为INIT块的最小大小,以4个字节的步长放大到最大大小。INIT块可能包含多个PAD参数。

    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
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |     Parameter Type = 0x8005   |       Parameter Length        |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   /                                                               /
   \                          Padding Data                         \
   /                                                               /
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
        
    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
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |     Parameter Type = 0x8005   |       Parameter Length        |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   /                                                               /
   \                          Padding Data                         \
   /                                                               /
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
        

Figure 2

图2

Parameter Type: 2 bytes (unsigned integer) This value MUST be set to 0x8005.

参数类型:2字节(无符号整数)此值必须设置为0x8005。

Parameter Length: 2 bytes (unsigned integer) This value holds the length of the Padding Data plus 4.

参数长度:2字节(无符号整数)此值保存填充数据的长度加上4。

The PAD parameter MAY be included only in the INIT chunk. It MUST NOT be included in any other chunk. The receiver of the PAD parameter MUST silently discard this parameter and continue processing the rest of the INIT chunk. This means that the size of the generated COOKIE parameter in the INIT-ACK MUST NOT depend on the existence of the PAD parameter in the INIT chunk. A receiver of a PAD parameter MUST NOT include the PAD parameter within any State Cookie parameter it generates.

PAD参数只能包含在INIT块中。它不能包含在任何其他块中。PAD参数的接收者必须悄悄地放弃该参数,并继续处理INIT块的其余部分。这意味着INIT-ACK中生成的COOKIE参数的大小不能取决于INIT块中是否存在PAD参数。PAD参数的接收者不得在其生成的任何状态Cookie参数中包含PAD参数。

5. IANA Considerations
5. IANA考虑

This document is the reference for all registrations described in this section. All registrations have been listed in the document available at sctp-parameters [3]. The changes are described below.

本文件是本节所述所有注册的参考文件。sctp参数[3]提供的文件中列出了所有注册。下文介绍了这些变化。

5.1. A New Chunk Type
5.1. 一种新的块类型

A chunk type for the PAD chunk has been assigned by IANA. The value has been assigned as described in Figure 1. The following has been added to the "CHUNK TYPES" table of sctp-parameters [3]:

IANA已为焊盘区块分配了区块类型。该值已按图1所示分配。以下内容已添加到sctp参数[3]的“块类型”表中:

CHUNK TYPES

块类型

   ID Value    Chunk Type                                     Reference
   --------    ----------                                     ---------
   132(0x84)   Padding Chunk (PAD)                            [RFC4820]
        
   ID Value    Chunk Type                                     Reference
   --------    ----------                                     ---------
   132(0x84)   Padding Chunk (PAD)                            [RFC4820]
        
5.2. A New Parameter Type
5.2. 一种新的参数类型

A parameter type has been assigned for the PAD parameter by IANA. The value has been assigned as described in Figure 2. The following has been added to the "CHUNK PARAMETER TYPES" table in sctp-parameters [3]:

IANA已为PAD参数指定了参数类型。该值已按图2所示分配。以下内容已添加到sctp参数[3]中的“区块参数类型”表中:

INIT Chunk Parameter Types

初始化块参数类型

   Chunk Parameter Type                       Value
   --------------------                       -----
   Padding                            32773(0x8005)
        
   Chunk Parameter Type                       Value
   --------------------                       -----
   Padding                            32773(0x8005)
        
6. Security Considerations
6. 安全考虑

This document does not add any additional security considerations to the ones given in RFC 2960 [2].

本文件未在RFC 2960[2]中给出的安全注意事项之外添加任何其他安全注意事项。

7. Acknowledgments
7. 致谢

The authors wish to thank Matthew J. Zekauskas and Lars Eggert for their invaluable comments.

作者希望感谢Matthew J.Zekauskas和Lars Eggert的宝贵评论。

8. References
8. 工具书类
8.1. Normative References
8.1. 规范性引用文件

[1] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, March 1997.

[1] Bradner,S.,“RFC中用于表示需求水平的关键词”,BCP 14,RFC 2119,1997年3月。

[2] Stewart, R., Xie, Q., Morneault, K., Sharp, C., Schwarzbauer, H., Taylor, T., Rytina, I., Kalla, M., Zhang, L., and V. Paxson, "Stream Control Transmission Protocol", RFC 2960, October 2000.

[2] Stewart,R.,Xie,Q.,Morneault,K.,Sharp,C.,Schwarzbauer,H.,Taylor,T.,Rytina,I.,Kalla,M.,Zhang,L.,和V.Paxson,“流控制传输协议”,RFC 29602000年10月。

8.2. Informative References
8.2. 资料性引用

[3] "IANA registry", <http://www.iana.org/assignments/sctp-parameters>.

[3] “IANA注册表”<http://www.iana.org/assignments/sctp-parameters>.

[4] Mathis, M. and J. Heffner, "Packetization Layer Path MTU Discovery", RFC 4821, March 2007.

[4] Mathis,M.和J.Heffner,“打包层路径MTU发现”,RFC 48212007年3月。

Authors' Addresses

作者地址

Michael Tuexen Muenster Univ. of Applied Sciences Stegerwaldstr. 39 48565 Steinfurt Germany

Michael Tuexen Muenster应用科学大学Stegerwaldstr。39 48565德国斯坦福德

   EMail: tuexen@fh-muenster.de
        
   EMail: tuexen@fh-muenster.de
        

Randall R. Stewart Cisco Systems, Inc. 4875 Forest Drive Suite 200 Columbia, SC 29206 USA

Randall R.Stewart Cisco Systems,Inc.4875 Forest Drive Suite 200哥伦比亚,SC 29206美国

   EMail: rrs@cisco.com
        
   EMail: rrs@cisco.com
        

Peter Lei Cisco Systems, Inc. 955 Happfield Dr. Arlington Heights, IL 60004 US

Peter Lei思科系统公司,美国伊利诺伊州阿灵顿高地Happfield博士955号,邮编60004

   Phone: +1 773 695-8201
   EMail: peterlei@cisco.com
        
   Phone: +1 773 695-8201
   EMail: peterlei@cisco.com
        

Full Copyright Statement

完整版权声明

Copyright (C) The IETF Trust (2007).

版权所有(C)IETF信托基金(2007年)。

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.

本文件受BCP 78中包含的权利、许可和限制的约束,除其中规定外,作者保留其所有权利。

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.

本文件及其包含的信息以“原样”为基础提供,贡献者、他/她所代表或赞助的组织(如有)、互联网协会、IETF信托基金和互联网工程任务组不承担任何明示或暗示的担保,包括但不限于任何保证,即使用本文中的信息不会侵犯任何权利,或对适销性或特定用途适用性的任何默示保证。

Intellectual Property

知识产权

The IETF takes no position regarding the validity or scope of any Intellectual Property Rights 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; nor does it represent that it has made any independent effort to identify any such rights. Information on the procedures with respect to rights in RFC documents can be found in BCP 78 and BCP 79.

IETF对可能声称与本文件所述技术的实施或使用有关的任何知识产权或其他权利的有效性或范围,或此类权利下的任何许可可能或可能不可用的程度,不采取任何立场;它也不表示它已作出任何独立努力来确定任何此类权利。有关RFC文件中权利的程序信息,请参见BCP 78和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.

向IETF秘书处披露的知识产权副本和任何许可证保证,或本规范实施者或用户试图获得使用此类专有权利的一般许可证或许可的结果,可从IETF在线知识产权存储库获取,网址为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. Please address the information to the IETF at ietf-ipr@ietf.org.

IETF邀请任何相关方提请其注意任何版权、专利或专利申请,或其他可能涵盖实施本标准所需技术的专有权利。请将信息发送至IETF的IETF-ipr@ietf.org.

Acknowledgement

确认

Funding for the RFC Editor function is currently provided by the Internet Society.

RFC编辑功能的资金目前由互联网协会提供。