SlideShare a Scribd company logo
2
Most read
6
Most read
7
Most read
STREAM CONTROL
TRANSMISSION
PROTOCOL (SCTP)
Deepa Soman
What is SCTP?
SCTP (Stream Control Transmission Protocol) is a transport protocol. SCTP was
specifically designed as a transport protocol for public telephony network signaling
message transport. However, SCTP is generic and may supersede TCP in other
applications as well.
It is a reliable transport protocol for transporting stream traffic, can operate on top of
unreliable connectionless networks, and offers acknowledged and nonduplicated
transmission data on connectionless networks (datagrams).
SCTP Services
 Process-to-Process Communication.
 Multiple Streams : SCTP allows multi stream service in each connection, which is called
association in SCTP terminology. If one of the streams is blocked, the other streams can still
deliver their data
 Multi homing.
 Full-Duplex Communication:Each SCTP then has a sending and receiving buffer, and
packets are sent in both directions.
 Connection-Oriented Service.
Multi homing
 The sending and receiving host can define
multiple IP addresses in each end for an
association.
 In this fault-tolerant approach, when one
path fails, another interface can be used for
data delivery without interruption.
 This fault-tolerant feature is very helpful
when we are sending and receiving a real-
time payload such as Internet telephony.
SCTP Features
 The protocol is error free. A retransmission scheme is applied to compensate for loss or
corruption of the datagram, using checksums and sequence numbers.
 It has ordered and unordered delivery modes.
 Multihoming support where one or both endpoints of a connection can consist of more than one
IP address. This enables transparent failover between redundant network paths.
 SCTP has effective methods to avoid flooding congestion and masquerade attacks.
 Path selection and monitoring functionality to select a primary data transmission path and test the
connectivity of the transmission path.
 Validation and acknowledgment mechanisms protect against flooding attacks and provide
notification of duplicated or missing data chunks.
SCTP Packet Format
The SCTP header contains only a limited set of
fields.
More SCTP control information is contained in
control chunks that are bundled with user data
chunks into the SCTP packet payload.
Verification tag : A 32-bit random value created during
initialization to distinguish stale packets from a previous
connection.
Checksum : This 32-bit field contains a CRC-32
checksum.
SCTP Chunk Structure
Chunk type : An 8-bit value, used to identify the contents of the chunk value field.
Chunk flags : Eight flag-bits whose define what flags a chunk may need.
Chunk length : A 16-bit unsigned value specifying the total length of the chunk in bytes (excludes
any padding) that includes chunk type, flags, length, and value fields.
SCTP Connection – Four-way Handshake
1.The server must be prepared to accept an incoming association and
is called a passive open.
2.The client issues an active open by calling connect or by sending a
message, which implicitly opens the association.
3.The server acknowledges the client's INIT message with an INIT-ACK
message.
4.The client echoes the server's state cookie with a COOKIE-ECHO
message.
5. The server acknowledges that the cookie was correct and that the
association was established with a COOKIE-ACK message. This
message may also contain user data bundled within the same packet.
The minimum number of packets required for this exchange is
four; hence, this process is called SCTP's four-way handshake.
SCTP Connection – Simple Data Transfer
 Only DATA chunks consume tsns
 DATA chunks are the only chunks that are
acknowledged.
 Acknowledgment defines the cumulative tsn
 The TSN of the last data chunk received in order.
SCTP Connection – Termination
 Acknowledgment defines the cumulative
TSN
 The TSN of the last data chunk received in
order.
SCTP State Transitions
SCTP Flow Control
Flow control in SCTP is similar to TCP. In SCTP, we need to handle two units of data, the byte and
the chunk.
The values of rwnd and cwnd are expressed in bytes; the values of TSN and acknowledgments
are expressed in chunks.
Current SCTP implementations still use a byte-oriented window for flow control.
Flow Control, Receiver site
1. When the site receives a data chunk, it stores it
at the end of the buffer (queue) and subtracts the
size of the chunk from winSize.
2. When the process reads a chunk, it removes it
from the queue and adds the size of the removed
chunk to winSize (recycling).
3. When a receiver decides to send a SACK,it
checks the value of lastAck. If it is less than
cumTSN, it sends a SACK with a cumulative
TSN number equal to the cumTSN.it also include
the value of winSize size.
Flow Control, Sender site
1. A chunk pointed to by curTSN can be sent
if the size of the data is less than or equal
to the quatity rwnd-in Transit. After sending
the chunk, the value of curTSN is
incremented by the size of the data in the
transmitted chunk.
2. When a SACK is recived, the chunks with
a TSN less than or equal to the cumulative
TSN in the SACK are removed from the
queue and discarded. The value of the
Transit is reduced by the total size of the
discarded chunks. Value of rwnd is
updated with the value of the advertised
window in the SACK.
SCTP Error Control
SCTP, like TCP, is a reliable transport-layer protocol. It uses a SACK chunk to report the state of
the receiver buffer to the sender.
Each implementation uses a different set of entities and timers for the receiver and sender sites.
Error Control , Receiver Site
The receiver stores all chunks that have
arrived in its queue including the out-of-order
ones. However, it leaves spaces for any
missing chunks. It discards duplicate
messages, but keeps track of them for reports
to the sender.
Error Control , Sender Site
At the sender site, it needs two buffers
(queues): a sending queue and a
retransmission queue. We also use the three
variables rwnd, inTransit, and curTSN as
described in the previous section.
Sctp
Summary
To introduce SCTP as a new transport-layer protocol.
To discuss SCTP services and compare them with TCP.
 To list and explain different packet types used in SCTP and discuss the purpose and of each field in
each packet.
To discuss SCTP association and explain different scenarios such as association establishment, data
transfer, association termination, and association abortion.
To compare and contrast the state transition diagram of SCTP with the corresponding diagram of
TCP.
To explain flow control, error control, and congestion control mechanism in SCTP and compare them
with the similar mechanisms in TCP.
Thank You

More Related Content

PDF
Overview of SCTP (Stream Control Transmission Protocol)
PPTX
Presentation on TCP/IP Model
PPTX
TCP- Transmission Control Protocol
PPTX
Unit 4-Transport Layer Protocols.pptx
PPT
tcp ip protocols.ppt
PPT
RTP.ppt
PPTX
Overview of SCTP (Stream Control Transmission Protocol)
Presentation on TCP/IP Model
TCP- Transmission Control Protocol
Unit 4-Transport Layer Protocols.pptx
tcp ip protocols.ppt
RTP.ppt

What's hot (20)

PPTX
Distance Vector & Link state Routing Algorithm
PPT
Data Link Layer
PPTX
Presentation on arp protocol
PPSX
Token ring
PPTX
Link state routing protocol
PPT
Ip multicast
PPTX
Transport layer protocols : TCP and UDP
PPT
Tcp Udp Icmp And The Transport Layer
PPTX
IP addressing seminar ppt
PDF
Introduction to TCP/IP
PPTX
Point to-point protocol (ppp)
PDF
Introduction to SCTP and it's benefits over TCP and UDP
PPTX
IPV6 ADDRESS
PPTX
Multicast routing
PPTX
Tcp IP Model
PPTX
Congestion control
PPTX
TCP/IP 3-way Handshake
PPT
Tcp ip
PPTX
Reference models in Networks: OSI & TCP/IP
Distance Vector & Link state Routing Algorithm
Data Link Layer
Presentation on arp protocol
Token ring
Link state routing protocol
Ip multicast
Transport layer protocols : TCP and UDP
Tcp Udp Icmp And The Transport Layer
IP addressing seminar ppt
Introduction to TCP/IP
Point to-point protocol (ppp)
Introduction to SCTP and it's benefits over TCP and UDP
IPV6 ADDRESS
Multicast routing
Tcp IP Model
Congestion control
TCP/IP 3-way Handshake
Tcp ip
Reference models in Networks: OSI & TCP/IP
Ad

Similar to Sctp (20)

PDF
4.7 SCTP.pptx_20241114_180501_0000000.pdf
PPTX
Stcn presentation
PPTX
Transport Layer in Computer Networks (TCP / UDP / SCTP)
PDF
Stream Control Transmission Protocol (SCTP) - Introduction
PDF
Overview of SCTP (Stream Control Transmission Protocol)
PPTX
TCP,UDP,SCTP computer networking-Final.pptx
PPT
udp , tcp ,sctp
DOCX
Assignment on data network
DOCX
Assignment on data network
PDF
Internet technology unit 4
PDF
Assignment2
PPT
PPT
Sctp tutorial
PPT
23 Process to_Process_Delivery_UDP_TCP_and_SCTP
PPT
PPTX
Transmission control protocol (TCP) Group 6 (1).pptx
PPTX
Unit 5.Transport Layer.pptx
PDF
transport-layer-forouzan.pdf
PDF
20CS2007 Computer Communication Networks
PPTX
Transport Layer
4.7 SCTP.pptx_20241114_180501_0000000.pdf
Stcn presentation
Transport Layer in Computer Networks (TCP / UDP / SCTP)
Stream Control Transmission Protocol (SCTP) - Introduction
Overview of SCTP (Stream Control Transmission Protocol)
TCP,UDP,SCTP computer networking-Final.pptx
udp , tcp ,sctp
Assignment on data network
Assignment on data network
Internet technology unit 4
Assignment2
Sctp tutorial
23 Process to_Process_Delivery_UDP_TCP_and_SCTP
Transmission control protocol (TCP) Group 6 (1).pptx
Unit 5.Transport Layer.pptx
transport-layer-forouzan.pdf
20CS2007 Computer Communication Networks
Transport Layer
Ad

Recently uploaded (20)

DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PPT
Mechanical Engineering MATERIALS Selection
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PPTX
bas. eng. economics group 4 presentation 1.pptx
PDF
composite construction of structures.pdf
PDF
PPT on Performance Review to get promotions
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PPTX
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
PDF
Digital Logic Computer Design lecture notes
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PPTX
Strings in CPP - Strings in C++ are sequences of characters used to store and...
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PPTX
Sustainable Sites - Green Building Construction
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
DOCX
573137875-Attendance-Management-System-original
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
Mechanical Engineering MATERIALS Selection
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
bas. eng. economics group 4 presentation 1.pptx
composite construction of structures.pdf
PPT on Performance Review to get promotions
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
Digital Logic Computer Design lecture notes
Model Code of Practice - Construction Work - 21102022 .pdf
Strings in CPP - Strings in C++ are sequences of characters used to store and...
Foundation to blockchain - A guide to Blockchain Tech
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
Sustainable Sites - Green Building Construction
CYBER-CRIMES AND SECURITY A guide to understanding
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
Embodied AI: Ushering in the Next Era of Intelligent Systems
573137875-Attendance-Management-System-original
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx

Sctp

  • 2. What is SCTP? SCTP (Stream Control Transmission Protocol) is a transport protocol. SCTP was specifically designed as a transport protocol for public telephony network signaling message transport. However, SCTP is generic and may supersede TCP in other applications as well. It is a reliable transport protocol for transporting stream traffic, can operate on top of unreliable connectionless networks, and offers acknowledged and nonduplicated transmission data on connectionless networks (datagrams).
  • 3. SCTP Services  Process-to-Process Communication.  Multiple Streams : SCTP allows multi stream service in each connection, which is called association in SCTP terminology. If one of the streams is blocked, the other streams can still deliver their data  Multi homing.  Full-Duplex Communication:Each SCTP then has a sending and receiving buffer, and packets are sent in both directions.  Connection-Oriented Service.
  • 4. Multi homing  The sending and receiving host can define multiple IP addresses in each end for an association.  In this fault-tolerant approach, when one path fails, another interface can be used for data delivery without interruption.  This fault-tolerant feature is very helpful when we are sending and receiving a real- time payload such as Internet telephony.
  • 5. SCTP Features  The protocol is error free. A retransmission scheme is applied to compensate for loss or corruption of the datagram, using checksums and sequence numbers.  It has ordered and unordered delivery modes.  Multihoming support where one or both endpoints of a connection can consist of more than one IP address. This enables transparent failover between redundant network paths.  SCTP has effective methods to avoid flooding congestion and masquerade attacks.  Path selection and monitoring functionality to select a primary data transmission path and test the connectivity of the transmission path.  Validation and acknowledgment mechanisms protect against flooding attacks and provide notification of duplicated or missing data chunks.
  • 6. SCTP Packet Format The SCTP header contains only a limited set of fields. More SCTP control information is contained in control chunks that are bundled with user data chunks into the SCTP packet payload. Verification tag : A 32-bit random value created during initialization to distinguish stale packets from a previous connection. Checksum : This 32-bit field contains a CRC-32 checksum.
  • 7. SCTP Chunk Structure Chunk type : An 8-bit value, used to identify the contents of the chunk value field. Chunk flags : Eight flag-bits whose define what flags a chunk may need. Chunk length : A 16-bit unsigned value specifying the total length of the chunk in bytes (excludes any padding) that includes chunk type, flags, length, and value fields.
  • 8. SCTP Connection – Four-way Handshake 1.The server must be prepared to accept an incoming association and is called a passive open. 2.The client issues an active open by calling connect or by sending a message, which implicitly opens the association. 3.The server acknowledges the client's INIT message with an INIT-ACK message. 4.The client echoes the server's state cookie with a COOKIE-ECHO message. 5. The server acknowledges that the cookie was correct and that the association was established with a COOKIE-ACK message. This message may also contain user data bundled within the same packet. The minimum number of packets required for this exchange is four; hence, this process is called SCTP's four-way handshake.
  • 9. SCTP Connection – Simple Data Transfer  Only DATA chunks consume tsns  DATA chunks are the only chunks that are acknowledged.  Acknowledgment defines the cumulative tsn  The TSN of the last data chunk received in order.
  • 10. SCTP Connection – Termination  Acknowledgment defines the cumulative TSN  The TSN of the last data chunk received in order.
  • 12. SCTP Flow Control Flow control in SCTP is similar to TCP. In SCTP, we need to handle two units of data, the byte and the chunk. The values of rwnd and cwnd are expressed in bytes; the values of TSN and acknowledgments are expressed in chunks. Current SCTP implementations still use a byte-oriented window for flow control.
  • 13. Flow Control, Receiver site 1. When the site receives a data chunk, it stores it at the end of the buffer (queue) and subtracts the size of the chunk from winSize. 2. When the process reads a chunk, it removes it from the queue and adds the size of the removed chunk to winSize (recycling). 3. When a receiver decides to send a SACK,it checks the value of lastAck. If it is less than cumTSN, it sends a SACK with a cumulative TSN number equal to the cumTSN.it also include the value of winSize size.
  • 14. Flow Control, Sender site 1. A chunk pointed to by curTSN can be sent if the size of the data is less than or equal to the quatity rwnd-in Transit. After sending the chunk, the value of curTSN is incremented by the size of the data in the transmitted chunk. 2. When a SACK is recived, the chunks with a TSN less than or equal to the cumulative TSN in the SACK are removed from the queue and discarded. The value of the Transit is reduced by the total size of the discarded chunks. Value of rwnd is updated with the value of the advertised window in the SACK.
  • 15. SCTP Error Control SCTP, like TCP, is a reliable transport-layer protocol. It uses a SACK chunk to report the state of the receiver buffer to the sender. Each implementation uses a different set of entities and timers for the receiver and sender sites.
  • 16. Error Control , Receiver Site The receiver stores all chunks that have arrived in its queue including the out-of-order ones. However, it leaves spaces for any missing chunks. It discards duplicate messages, but keeps track of them for reports to the sender.
  • 17. Error Control , Sender Site At the sender site, it needs two buffers (queues): a sending queue and a retransmission queue. We also use the three variables rwnd, inTransit, and curTSN as described in the previous section.
  • 19. Summary To introduce SCTP as a new transport-layer protocol. To discuss SCTP services and compare them with TCP.  To list and explain different packet types used in SCTP and discuss the purpose and of each field in each packet. To discuss SCTP association and explain different scenarios such as association establishment, data transfer, association termination, and association abortion. To compare and contrast the state transition diagram of SCTP with the corresponding diagram of TCP. To explain flow control, error control, and congestion control mechanism in SCTP and compare them with the similar mechanisms in TCP.