SCTP - PowerPoint PPT Presentation

About This Presentation
Title:

SCTP

Description:

A (relatively) new general purpose transport protocol ... Message abstraction. Easier buffering and framing for receiving application. Multi-streaming ... – PowerPoint PPT presentation

Number of Views:80
Avg rating:3.0/5.0
Slides: 13
Provided by: johang
Category:
Tags: sctp | abstraction

less

Transcript and Presenter's Notes

Title: SCTP


1
SCTP Stream Control Transmission Protocol
2
What is SCTP?
  • A (relatively) new general purpose transport
    protocol
  • Main motivation TCP and UDP are inadequate for
    telephony signaling transport
  • Provides a reliable message-oriented transport
    service
  • a number of functions beneficial for telephony
    signaling

3
TCP Limitations
  • Enforces total ordering of data
  • May cause head-of-line blocking
  • Is byte-oriented, i.e. does not support framing
    of message boundaries
  • Has no support for multi-homing
  • Difficult to build link or path-level redundancy
  • Is vulnerable to denial of service attacks
  • Security is often a top priority for phone appl.

4
UDP Limitations
  • Provides unreliable transport service
  • Packets can be lost, duplicated or arrive
    out-of-order
  • Has no congestion control mechanism
  • Possible for the application to build its own
    mechanism for the above, but

5
Comparing SCTP to TCP - similarities
  • Both are connection-oriented, i.e. exchange
    messages at startup and closing down
  • Both provides reliability through
    retransmissions, using either timeouts or fast
    retransmit
  • Both provides for orderly delivery of data (but
    SCTP also allows for no or partial ordering)
  • Both use the same congestion control mechanism
  • Slow start, congestion avoidance (AIMD)

6
Comparing SCTP to TCP - differences
  • Startup procedure
  • Better protection against SYN flooding
  • Message abstraction
  • Easier buffering and framing for receiving
    application
  • Multi-streaming
  • Protection against head-of-line blocking
  • Multi-homing
  • Better robustness in the presence of network
    failure

7
Startup
8
Four-way handshake
  • Cookie mechanism to guard against SYN flooding
  • On receiving INIT chunk, server does not allocate
    memory for TCB
  • Instead sends cookie in INIT ACK for
    authentication
  • Data can be included in 3rd or 4th message

9
Multi-streaming
  • Streams allows multiple ordered flows of messages
    within a single association.
  • Messages are sent in their respective streams and
    if a message in one stream is lost, it will not
    hold up delivery of a message in the other
    streams
  • Prevents head of line blocking

10
Multi-streaming (contd)
  • Both ordered and un-ordered data can be sent
    within a stream.
  • For un-ordered data, delivery to the upper layer
    is immediate upon receipt.
  • For ordered data, delivery may be delayed due to
    reassembly from network reordering.
  • A stream is uni-directional
  • SCTP makes NO correlation between an inbound and
    outbound stream

11
Multi-homing
  • When a peer is multi-homed, a primary
    destination address is selected by the SCTP
    endpoint.
  • By default, all data is sent to this primary
    address.
  • When the primary address fails, the sender
    selects an alternate primary address until it is
    restored or the user changes the primary address.

12
Implementations
  • FreeBSD version 1.4
  • Linux 2.4/2.6
  • Sun Solaris 10
  • .
Write a Comment
User Comments (0)
About PowerShow.com