JMU
Stream Control Transmission Protocol (SCTP)
An Introduction


Prof. David Bernstein
James Madison University

Computer Science Department
bernstdh@jmu.edu


Introduction
Properties
Reliability in SCTP
Flow and Congestion Control in SCTP
The Demultiplexing Process
Moving through the Stack/Layers
Required Functionality of Service Providers
SCTP Packet Format
SCTP Packet Format (cont.)
Establishing a Connection (Four-Way Handshake)
  1. Client sends INIT to server
    • Includes the client's Verification Tag
  2. Server responds with INIT ACK
    • Includes the client's Verification Tag and the server's verification Tag
    • Includes a cookie
    • The server does not keep any state information at this point
  3. Client responds with a COOKIE ECHO
    • Includes the cookie received from the server
  4. Server responds with a COOKIE ACK
    • The server now starts to maintain state information
    • When the client receives the COOKIE ACK it also starts to maintain state information
Closing a Connection (Three-Way Procedure)
  1. Peer A sends SHUTDOWN
  2. Peer Z receives SHUTDOWN and when there are no more outstanding DATA chunks, responds with a SHUTDOWN ACK
  3. Peer A receives the SHUTDOWN ACK and sends a SHUTDOWN COMPLETE
    • When peer A receives the SHUTDOWN ACK it deletes all state information (assuming it is in the SHUTDOWN-ACK-STATE state)
    • When peer Z receives the SHUTDOWN COMPLETE it deletes all state information