Stream Control Transmission Protocol SCTP
Stream Control Transmission Protocol SCTP
Stream Control Transmission Protocol SCTP
Protocol (SCTP)
Ch23
Ameera Almasoud
Ameera Almasoud
SCTP Services
Process-to-Process Communication.
Multiple Streams.
Multihoming.
Full-Duplex Communication.
Connection-Oriented Service.
Reliable Service.
Ameera Almasoud
SCTP Services
Process-to-Process Communication
space.
SCTP Services
Multiple Streams
Ameera Almasoud
SCTP Services
Multiple Streams
connection.
which is called association in SCTP
terminology.
SCTP is mainly used to transfer real-time data
(multimedia).
If one of the streams is blocked, the other
streams can still deliver their data ( fault
tolerance).
Ameera Almasoud
SCTP Services
Multihoming
Ameera Almasoud
SCTP Services
Multihoming
streams.
Ameera Almasoud
SCTP Services
Full-Duplex Communication
Ameera Almasoud
SCTP Services
Connection-Oriented Service
Ameera Almasoud
10
SCTP Services
Reliable Service
Ameera Almasoud
11
SCTP Features
Transmission Sequence Number
Stream Identifier
Stream Sequence Number
Packets
Acknowledgment Number
Flow Control
Error Control
Congestion Control
Ameera Almasoud
12
SCTP Features
Transmission Sequence Number
TSN.
similar to sequence number in TCP.
TSN is 32 bit long.
Initialized with a random number between 0
and 232-1.
Ameera Almasoud
13
SCTP Features
Stream Identifier
association.
Each stream in SCTP needs to be identified by
using a stream identifier (SI).
Each data chunk must carry the SI in its
header so that when it arrives at the
destination, it can be properly placed in its
stream.
Ameera Almasoud
14
SCTP Features
Stream Sequence Number
Ameera Almasoud
15
SCTP Features
Packets
chunks.
Several control chunks and data chunks can
be packed together in a packet.
A packet in SCTP plays the same role as a
segment in TCP.
Ameera Almasoud
16
Ameera Almasoud
17
SCTP Features
Packets
18
SCTP Features
Packets
Ameera Almasoud
19
SCTP Features
Packets
association
SI defines the stream.
SSN defines the chunk in a stream.
Ameera Almasoud
20
SCTP Features
Acknowledgment Number
oriented.
acknowledgment numbers are used to
acknowledge only data chunks.
control chunks are acknowledged by other
control chunks if necessary.
Ex: INIT control chunk in acknowledge by
Ameera Almasoud
21
SCTP Features
Flow Control
Ameera Almasoud
22
SCTP Features
Error Control
reliability.
TSN numbers and acknowledgment numbers
are used for error control.
Ameera Almasoud
23
SCTP Features
Congestion Control
Ameera Almasoud
24
Packet Format
25
Packet Format
General Header
Ameera Almasoud
26
Packet Format
Chunks
Ameera Almasoud
27
Packet Format
Chunks
Ameera Almasoud
28
An SCTP Association
A connection in SCTP is called an association.
Three phases are required to establish an
association
An association is simply a connection that
supports multihoming.
The three phases are:
Association Establishment
Data Transfer
Association Termination
Ameera Almasoud
29
An SCTP Association
Association Establishment
Ameera Almasoud
30
Ameera Almasoud
31
An SCTP Association
Association Establishment
Ameera Almasoud
32
An SCTP Association
Cookie
generate a cookie.
The cookie is sent with the second packet to
the address received in the first packet.
There are two potential situations:
If the sender of the first packet is an attacker:
1.
Ameera Almasoud
33
An SCTP Association
Cookie
2.
34
Data Transfer
A message received from a process becomes a
Ameera Almasoud
35
Data Transfer
Simple data transfer
Ameera Almasoud
36
Data Transfer
Multihoming Data Transfer
Ameera Almasoud
37
Data Transfer
Multistream Delivery
Ameera Almasoud
38
Data Transfer
Fragmentation
39
Association
Termination
40
Flow control
Receiver Site
Ameera Almasoud
41
Flow control
sender site
Ameera Almasoud
42
Ameera Almasoud
43
Error control
receiver site
Ameera Almasoud
44
Error control
sender site
Ameera Almasoud
45
Error control
Retransmission
chunks.
Ameera Almasoud
46