draft-ietf-tsvwg-sctp-strrst-04.txt   draft-ietf-tsvwg-sctp-strrst-05.txt 
Network Working Group R. Stewart Network Working Group R. Stewart
Internet-Draft Huawei Internet-Draft Huawei
Intended status: Standards Track P. Lei Intended status: Standards Track P. Lei
Expires: August 27, 2010 Cisco Systems, Inc. Expires: February 24, 2011 Cisco Systems, Inc.
M. Tuexen M. Tuexen
Muenster Univ. of Applied Sciences Muenster Univ. of Applied Sciences
February 23, 2010 August 23, 2010
Stream Control Transmission Protocol (SCTP) Stream Reconfiguration Stream Control Transmission Protocol (SCTP) Stream Reconfiguration
draft-ietf-tsvwg-sctp-strrst-04.txt draft-ietf-tsvwg-sctp-strrst-05.txt
Abstract Abstract
Many applications that desire to use SCTP have requested the ability Many applications that desire to use SCTP have requested the ability
to "reset" a stream. The intention of resetting a stream is to start to "reset" a stream. The intention of resetting a stream is to start
the numbering sequence of the stream back at 'zero' with a the numbering sequence of the stream back at 'zero' with a
corresponding notification to the upper layer that this act as been corresponding notification to the upper layer that this act as been
performed. The applications that have requested this feature performed. The applications that have requested this feature
normally desire it so that they can "re-use" streams for different normally desire it so that they can "re-use" streams for different
purposes but still utilize the stream sequence number for the purposes but still utilize the stream sequence number for the
application to track the message flows. Thus, without this feature, application to track the message flows. Thus, without this feature,
a new use on an old stream would result in message numbers larger a new use on an old stream would result in message numbers larger
than expected without a protocol mechanism to "start the streams back than expected without a protocol mechanism to "start the streams back
at zero". This documents presents also a method for resetting the at zero". This documents presents also a method for resetting the
transport sequence numbers, adding additional streams and resetting transport sequence numbers, adding additional streams and resetting
all stream sequence numbers. all stream sequence numbers.
Status of this Memo Status of this Memo
This Internet-Draft is submitted to IETF in full conformance with the This Internet-Draft is submitted in full conformance with the
provisions of BCP 78 and BCP 79. provisions of BCP 78 and BCP 79.
Internet-Drafts are working documents of the Internet Engineering Internet-Drafts are working documents of the Internet Engineering
Task Force (IETF), its areas, and its working groups. Note that Task Force (IETF). Note that other groups may also distribute
other groups may also distribute working documents as Internet- working documents as Internet-Drafts. The list of current Internet-
Drafts. Drafts is at http://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."
The list of current Internet-Drafts can be accessed at This Internet-Draft will expire on February 24, 2011.
http://www.ietf.org/ietf/1id-abstracts.txt.
The list of Internet-Draft Shadow Directories can be accessed at
http://www.ietf.org/shadow.html.
This Internet-Draft will expire on August 27, 2010.
Copyright Notice Copyright Notice
Copyright (c) 2010 IETF Trust and the persons identified as the Copyright (c) 2010 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 Provisions Relating to IETF Documents
(http://trustee.ietf.org/license-info) in effect on the date of (http://trustee.ietf.org/license-info) in effect on the date of
publication of this document. Please review these documents publication of this document. Please review these documents
carefully, as they describe your rights and restrictions with respect carefully, as they describe your rights and restrictions with respect
to this document. Code Components extracted from this document must to this document. Code Components extracted from this document must
include Simplified BSD License text as described in Section 4.e of include Simplified BSD License text as described in Section 4.e of
the Trust Legal Provisions and are provided without warranty as the Trust Legal Provisions and are provided without warranty as
described in the BSD License. described in the Simplified BSD License.
Table of Contents Table of Contents
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . 5 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . 4
2. Conventions . . . . . . . . . . . . . . . . . . . . . . . . . 5 2. Conventions . . . . . . . . . . . . . . . . . . . . . . . . . 4
3. New Chunk Type . . . . . . . . . . . . . . . . . . . . . . . . 5 3. New Chunk Type . . . . . . . . . . . . . . . . . . . . . . . . 4
3.1. STREAM RESET Chunk . . . . . . . . . . . . . . . . . . . . 6 3.1. STREAM RESET Chunk . . . . . . . . . . . . . . . . . . . . 5
4. New Parameter Types . . . . . . . . . . . . . . . . . . . . . 7 4. New Parameter Types . . . . . . . . . . . . . . . . . . . . . 6
4.1. Outgoing SSN Reset Request Parameter . . . . . . . . . . . 7 4.1. Outgoing SSN Reset Request Parameter . . . . . . . . . . . 6
4.2. Incoming SSN Reset Request Parameter . . . . . . . . . . . 9 4.2. Incoming SSN Reset Request Parameter . . . . . . . . . . . 8
4.3. SSN/TSN Reset Request Parameter . . . . . . . . . . . . . 9 4.3. SSN/TSN Reset Request Parameter . . . . . . . . . . . . . 8
4.4. Stream Reset Response Parameter . . . . . . . . . . . . . 10 4.4. Stream Reset Response Parameter . . . . . . . . . . . . . 9
4.5. Add Outgoing Streams Request Parameter . . . . . . . . . . 11 4.5. Add Outgoing Streams Request Parameter . . . . . . . . . . 10
5. Procedures . . . . . . . . . . . . . . . . . . . . . . . . . . 12 5. Procedures . . . . . . . . . . . . . . . . . . . . . . . . . . 11
5.1. Sender Side Procedures . . . . . . . . . . . . . . . . . . 12 5.1. Sender Side Procedures . . . . . . . . . . . . . . . . . . 11
5.1.1. Sender Side Procedures for the Stream Reset Chunk . . 13 5.1.1. Sender Side Procedures for the Stream Reset Chunk . . 12
5.1.2. Sender Side Procedures for the Outgoing SSN Reset 5.1.2. Sender Side Procedures for the Outgoing SSN Reset
Request Parameter . . . . . . . . . . . . . . . . . . 13 Request Parameter . . . . . . . . . . . . . . . . . . 12
5.1.3. Sender Side Procedures for the Incoming SSN Reset 5.1.3. Sender Side Procedures for the Incoming SSN Reset
Request Parameter . . . . . . . . . . . . . . . . . . 14 Request Parameter . . . . . . . . . . . . . . . . . . 13
5.1.4. Sender Side Procedures for the SSN/TSN Reset 5.1.4. Sender Side Procedures for the SSN/TSN Reset
Request Parameter . . . . . . . . . . . . . . . . . . 15 Request Parameter . . . . . . . . . . . . . . . . . . 14
5.1.5. Sender Side Procedures for the Stream Reset 5.1.5. Sender Side Procedures for the Stream Reset
Response Parameter . . . . . . . . . . . . . . . . . . 15 Response Parameter . . . . . . . . . . . . . . . . . . 14
5.1.6. Sender Side Procedures for the Add Outgoing 5.1.6. Sender Side Procedures for the Add Outgoing
Streams Request Parameter . . . . . . . . . . . . . . 16 Streams Request Parameter . . . . . . . . . . . . . . 15
5.2. Receiver Side Procedures . . . . . . . . . . . . . . . . . 16 5.2. Receiver Side Procedures . . . . . . . . . . . . . . . . . 15
5.2.1. Receiver Side Procedures for the Stream Reset Chunk . 16 5.2.1. Receiver Side Procedures for the Stream Reset Chunk . 15
5.2.2. Receiver Side Procedures for the Outgoing SSN 5.2.2. Receiver Side Procedures for the Outgoing SSN
Reset Request Parameter . . . . . . . . . . . . . . . 17 Reset Request Parameter . . . . . . . . . . . . . . . 16
5.2.3. Receiver Side Procedures for the Incoming SSN 5.2.3. Receiver Side Procedures for the Incoming SSN
Reset Request Parameter . . . . . . . . . . . . . . . 18 Reset Request Parameter . . . . . . . . . . . . . . . 17
5.2.4. Receiver Side Procedures for the SSN/TSN Reset 5.2.4. Receiver Side Procedures for the SSN/TSN Reset
Request Parameter . . . . . . . . . . . . . . . . . . 18 Request Parameter . . . . . . . . . . . . . . . . . . 17
5.2.5. Receiver Side Procedures for the Add Outgoing 5.2.5. Receiver Side Procedures for the Add Outgoing
Streams Request Parameter . . . . . . . . . . . . . . 19 Streams Request Parameter . . . . . . . . . . . . . . 18
5.2.6. Receiver Side Procedures for the Stream Reset 5.2.6. Receiver Side Procedures for the Stream Reset
Response Parameter . . . . . . . . . . . . . . . . . . 19 Response Parameter . . . . . . . . . . . . . . . . . . 18
5.3. Various Examples of the Stream Reset procedures . . . . . 20 5.3. Various Examples of the Stream Reset procedures . . . . . 19
6. Socket API Considerations . . . . . . . . . . . . . . . . . . 21 6. Socket API Considerations . . . . . . . . . . . . . . . . . . 20
6.1. Events . . . . . . . . . . . . . . . . . . . . . . . . . . 21 6.1. Events . . . . . . . . . . . . . . . . . . . . . . . . . . 20
6.1.1. Stream Reset Event . . . . . . . . . . . . . . . . . . 22 6.1.1. Stream Reset Event . . . . . . . . . . . . . . . . . . 21
6.1.2. Association Reset Event . . . . . . . . . . . . . . . 23 6.1.2. Association Reset Event . . . . . . . . . . . . . . . 22
6.1.3. Stream Change Event . . . . . . . . . . . . . . . . . 23 6.1.3. Stream Change Event . . . . . . . . . . . . . . . . . 22
6.2. Event Subscription . . . . . . . . . . . . . . . . . . . . 24 6.2. Event Subscription . . . . . . . . . . . . . . . . . . . . 23
6.3. Socket Options . . . . . . . . . . . . . . . . . . . . . . 25 6.3. Socket Options . . . . . . . . . . . . . . . . . . . . . . 24
6.3.1. Enable/Disable Stream Reset 6.3.1. Enable/Disable Stream Reset
(SCTP_ENABLE_STREAM_RESET) . . . . . . . . . . . . . . 26 (SCTP_ENABLE_STREAM_RESET) . . . . . . . . . . . . . . 25
6.3.2. Reset Incoming and/or Outgoing Streams 6.3.2. Reset Incoming and/or Outgoing Streams
(SCTP_RESET_STREAMS) . . . . . . . . . . . . . . . . . 27 (SCTP_RESET_STREAMS) . . . . . . . . . . . . . . . . . 26
6.3.3. Reset SSN/TSN (SCTP_RESET_ASSOC) . . . . . . . . . . . 27 6.3.3. Reset SSN/TSN (SCTP_RESET_ASSOC) . . . . . . . . . . . 26
6.3.4. Add Outgoing Streams (SCTP_ADD_OUT_STREAMS) . . . . . 28 6.3.4. Add Outgoing Streams (SCTP_ADD_OUT_STREAMS) . . . . . 27
7. Security Considerations . . . . . . . . . . . . . . . . . . . 28 7. Security Considerations . . . . . . . . . . . . . . . . . . . 27
8. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 28 8. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 27
8.1. A New Chunk Type . . . . . . . . . . . . . . . . . . . . . 29 8.1. A New Chunk Type . . . . . . . . . . . . . . . . . . . . . 28
8.2. Five New Parameter Types . . . . . . . . . . . . . . . . . 29 8.2. Five New Parameter Types . . . . . . . . . . . . . . . . . 28
9. Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . 29 9. Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . 28
10. References . . . . . . . . . . . . . . . . . . . . . . . . . . 30 10. References . . . . . . . . . . . . . . . . . . . . . . . . . . 29
10.1. Normative References . . . . . . . . . . . . . . . . . . . 30 10.1. Normative References . . . . . . . . . . . . . . . . . . . 29
10.2. Informative References . . . . . . . . . . . . . . . . . . 30 10.2. Informative References . . . . . . . . . . . . . . . . . . 29
Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . . 30 Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . . 29
1. Introduction 1. Introduction
Many applications that desire to use SCTP have requested the ability Many applications that desire to use SCTP have requested the ability
to "reset" a stream. The intention of resetting a stream is to start to "reset" a stream. The intention of resetting a stream is to start
the numbering sequence of the stream back at 'zero' with a the numbering sequence of the stream back at 'zero' with a
corresponding notification to the upper layer that this act as been corresponding notification to the upper layer that this act as been
performed. The applications that have requested this feature performed. The applications that have requested this feature
normally desire it so that they can "re-use" streams for different normally desire it so that they can "re-use" streams for different
purposes but still utilize the stream sequence number for the purposes but still utilize the stream sequence number for the
skipping to change at page 30, line 23 skipping to change at page 29, line 23
Kozuka, "Stream Control Transmission Protocol (SCTP) Kozuka, "Stream Control Transmission Protocol (SCTP)
Dynamic Address Reconfiguration", RFC 5061, Dynamic Address Reconfiguration", RFC 5061,
September 2007. September 2007.
10.2. Informative References 10.2. Informative References
[I-D.ietf-tsvwg-sctpsocket] [I-D.ietf-tsvwg-sctpsocket]
Stewart, R., Poon, K., Tuexen, M., Yasevich, V., and P. Stewart, R., Poon, K., Tuexen, M., Yasevich, V., and P.
Lei, "Sockets API Extensions for Stream Control Lei, "Sockets API Extensions for Stream Control
Transmission Protocol (SCTP)", Transmission Protocol (SCTP)",
draft-ietf-tsvwg-sctpsocket-21 (work in progress), draft-ietf-tsvwg-sctpsocket-23 (work in progress),
February 2010. July 2010.
URIs URIs
[1] <http://www.iana.org/assignments/sctp-parameters> [1] <http://www.iana.org/assignments/sctp-parameters>
Authors' Addresses Authors' Addresses
Randall R. Stewart Randall R. Stewart
Huawei Huawei
Chapin, SC 29036 Chapin, SC 29036
skipping to change at page 31, line 5 skipping to change at page 30, line 5
Peter Lei Peter Lei
Cisco Systems, Inc. Cisco Systems, Inc.
8735 West Higgins Road 8735 West Higgins Road
Suite 300 Suite 300
Chicago, IL 60631 Chicago, IL 60631
USA USA
Phone: Phone:
Email: peterlei@cisco.com Email: peterlei@cisco.com
Michael Tuexen Michael Tuexen
Muenster Univ. of Applied Sciences Muenster University of Applied Sciences
Stegerwaldstr. 39 Stegerwaldstr. 39
48565 Steinfurt 48565 Steinfurt
Germany Germany
Email: tuexen@fh-muenster.de Email: tuexen@fh-muenster.de
 End of changes. 22 change blocks. 
64 lines changed or deleted 59 lines changed or added

This html diff was produced by rfcdiff 1.38. The latest version is available from http://tools.ietf.org/tools/rfcdiff/