SCTP: An innovative transport layer protocol for the web (Position - - PowerPoint PPT Presentation

sctp an innovative transport layer protocol for the web
SMART_READER_LITE
LIVE PREVIEW

SCTP: An innovative transport layer protocol for the web (Position - - PowerPoint PPT Presentation

SCTP: An innovative transport layer protocol for the web (Position paper) P. Natarajan, J. Iyengar, P. Amer, & R. Stewart 1 HTTP over TCP Transmission Control Protocol (TCP) has been the default transport for HTTP. HTTP/TCP


slide-1
SLIDE 1

1

SCTP: An innovative transport layer protocol for the web

(Position paper)

  • P. Natarajan, J. Iyengar, P. Amer,

& R. Stewart

slide-2
SLIDE 2

2

HTTP over TCP

  • Transmission Control Protocol (TCP) has

been the default transport for HTTP.

  • HTTP/TCP Concerns

– Head-of-line (HOL) blocking – Vulnerability to network failures – Vulnerability to SYN DoS attacks

slide-3
SLIDE 3

3

delivered to application

  • bjects in send buffer

1 3 4 5 6 loss 1 1 1 2 2 3 3 4 4 5 5 6 6 2 2 2 3 4 5 6

HOL blocking in TCP

HOL BLOCK !

retransmission receive buffer

Web server Web client TCP Connection

slide-4
SLIDE 4

4

delivered to application

  • bjects in send buffer

1 3 4 5 6 1 1 2 3 4 5 6 2 2 3 4 5 6

SCTP multistreaming avoid HOL blocking

retransmission receive buffer

Web server Web client SCTP Association

Stream 1 Stream 2 Stream 3 Stream 4 Stream 5 Stream 6

loss 1 2 4 6 3 5 2

Stream 1

slide-5
SLIDE 5

5

TCP work-around to mitigate HOL blocking

  • How?

– Multiple persistent TCP connections to transfer independent web objects

  • Problems

– Possible HOL blocking within one TCP connection – No shared sequence space => Less robust to loss detection and recovery – Increased load on web server – Increased connection establishment latency during SYN losses. – Aggressive behavior during congestion

slide-6
SLIDE 6

6

TCP: Network fault-(In)tolerance

  • ISP

ISP ISP

  • Web server

Web client ISP

Internet

slide-7
SLIDE 7

7

SCTP: Transport layer multihoming

  • ISP

ISP ISP

  • Web server

Web client ISP

Internet SCTP Association: ({A1, A2}, {B1, B2}) SCTP Failure Detection & Failover

slide-8
SLIDE 8

8

TCP SYN Flooding Attack

128.3.4.5 TCP web server Flooded!! Spoofed SYNs 221.3.5.10

192.10.2.8

SYN 190.13.4.1 SYN 228.3.14.5 TCB SYN 130.2.4.15 TCB TCB

Internet

Process SYN

slide-9
SLIDE 9

9

SCTP Association setup avoids SYN flooding attack

128.3.4.5 SCTP web server Spoofed INITs 221.3.5.10

192.10.2.8

INIT 190.13.4.1 INIT 228.3.14.5 INIT 130.2.4.15

Internet

Process INIT

slide-10
SLIDE 10

10

SCTP: Four-way Association setup

INIT–ACK (StateCookie)

INIT

COOKIE–ECHO

( S t a t e C

  • k

i e ) ; D A T A

DATA COOKIE–ACK; SACKs

NO TCB TCB

slide-11
SLIDE 11

11

HTTP/SCTP streams: Design

HTTP Client SCTP

SCTP Association

HTTP Server SCTP

Stream ID: m “HTTP REQ” Stream ID: m “HTTP REQ”

Stream m

Write (to stream m) Read

“HTTP REQUEST”

  • n stream m

“HTTP RESPONSE”

Write ( to stream m) Stream ID: m “HTTP RESP”

Stream m

Stream ID: m “HTTP RESP” Stream ID: m “HTTP RESP” Read

“HTTP RESPONSE” “HTTP REQUEST”

Stream ID: m “HTTP REQ”

slide-12
SLIDE 12

12

HTTP/SCTP Implementation

  • Apache 2.0.55
  • Firefox 1.6a
slide-13
SLIDE 13

13

It Works !

time HTTP over SCTP (multistreaming)

  • time
  • HTTP over TCP
slide-14
SLIDE 14

14

Other SCTP features

  • Preservation of Message Boundaries
  • Partial Reliability Extension (PR-SCTP)

– Timed reliability: Attempt for reliable transmission only within a time period. – Example: Online game client use PR-SCTP to transmit player’s

  • coordinates. Old coordinates discarded when newer ones

available.

  • Unordered data delivery

– 1 SCTP association to transmit both ordered and unordered data – Vs. UDP: Unordered data transmitted reliably.

  • SCTP shim layer

– Between application and transport layer. – No code change to app. Transparently converts app’s TCP calls to corresponding SCTP calls.

slide-15
SLIDE 15

15

Current status

  • ??

8/06 Vancouver 14 7/04 U of Muenster (Germany) 11 6/03 U of Delaware 20 9/02 U of Essen (Germany) 6 2/02 San Jose (Connectathon) 19 4/01 Sophia Antipolis 22 10/00 Research Triangle Park 12 6/00 Munich

  • Home: IETF TSVWG

(Transport Services Working Group)

– IETF recognizes broader scope – Proposed Standard - RFC2960

  • Supported by industry:

– Participation in Inerops: ADAX - Cisco - HP/Compaq - Data Connection - DataKinetics - Ericsson - Hughes Software - IBM - Motorola - Netbricks - Nokia - Open SS7 - Performance Technologies - RadiSys - Siemens - Artesan - Sun Microsystems - Telesoft Technologies - Toshiba - Ulticom – Wipro – Implementations: AIX, FreeBSD, NetBSD, DragonFly BSD, Linux, QNX, Solaris, True64, IOS (Cisco Routers), Mac OS, Windows (user space), more…

slide-16
SLIDE 16

16

References - RFCs

  • RFC 2960 – Stream Control Transmission Protocol
  • RFC 3257 – SCTP Applicability Statement
  • RFC 3286 – An introduction to SCTP
  • RFC 3309 – SCTP Checksum Change
  • RFC 3436 – Transport Layer Security over SCTP
  • RFC 3554 – On the Use of SCTP with IPsec
  • RFC 3758 – SCTP Partial Reliability Extension
  • RFC 4460 – SCTP Specification Errata and Issues
slide-17
SLIDE 17

17

References – Internet Drafts

  • SCTP (BIS)

– draft-ietf-tsvwg-2960bis-01.txt

  • Sockets API Extensions for SCTP

– draft-ietf-tsvwg-sctpsocket-12.txt

  • SCTP Dynamic Address Reconfiguration (Add-IP)

– draft-ietf-tsvwg-addip-sctp-14.txt

  • SCTP Packet Drop Reporting (Pkt-Drop)

– draft-stewart-sctp-pktdrprep-04.txt

  • Authenticated Chunks for SCTP (Auth)

– draft-tuexen-sctp-auth-chunk-02.txt

slide-18
SLIDE 18

18

References - Books

  • Stream Control Transmission Protocol (SCTP); A

Reference Guide, Randall R. Stewart, Qiaobing Xie, Addison Wesley, 2002, ISBN 0-201-72186-4

  • UNIX Network Programming; The Sockets Networking API,
  • Vol. 1, 3rd ed, W. Richard Stevens, Bill Fenner, Andrew M.

Rudoff, Addison-Wesley, 2004, ISBN 0-13-141155-1

– chapter 2: The Transport Layer: TCP, UDP, and SCTP – chapter 9: Elementary SCTP Sockets – chapter 10: SCTP Client/Server Example – chapter 23: Advanced SCTP Sockets

  • TCP/IP Protocol Suite, 3rd ed, Behrouz A. Forouzan.

McGraw Hill, 2006, ISBN 0-07-296772-2

– chapter 13: SCTP

slide-19
SLIDE 19

19

References - Papers

  • Caro Jr. et al, “SCTP: A Proposed Standard for Robust

Internet Data Transport”, IEEE Computer 36(11), 11/03

  • Stewart & Amer, Internet Society Brief 17
  • Univ of Delaware Protocol Engineering Lab (PEL)
slide-20
SLIDE 20

20

References – Online

  • http://www.sctp.org

– Also reachable with HTTP over SCTP!

  • http://www.ietf.org/html.charters/tsvwg-charter.html

– All current work on SCTP is done in the IETF TSVWG

  • sctp-impl on mailer.cisco.com

– Note for Cisco audience: this is an external list

slide-21
SLIDE 21

21

Questions