Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
1 Introduction...............................................................................................................................................2 2 Test Bed....................................................................................................................................................3 2.1 lksctp project......................................................................................................................................3 2.2 Dissipate Library................................................................................................................................4 3 SCTP as Transport for SIP: tests ..............................................................................................................5 3.1 Performance of Sip Call Setup using SCTP ......................................................................................5 3.1.1 Advantages over UDP .................................................................................................................5 3.1.2 Advantages over TCP .................................................................................................................6 3.1.3 SIP over SCTP ............................................................................................................................8 3.2 Interaction of a Sip transaction between various protocols .............................................................10 3.3 Open Issues ......................................................................................................................................12 6 SCTP as Signaling Transport Protocols..................................................................................................13 7 The implementation ................................................................................................................................14 8 Installation instructions...........................................................................................................................17 9 User Interface..........................................................................................................................................19 10 Test User Interface ................................................................................................................................24 11 References .............................................................................................................................................26
1 Introduction
With this work we want to obtain experimental results showing SCTPs real benefits. We will compare SCTP with already existing transport protocol and will analyze which real gains SCTP brings. At present there arent SIP implementation use SCTP as transport. So we have developed a new SIP c lient that can to run over all type of transport protocol: UDP, TCP, SCTP.
2 Test Bed
Hardware Only two computers form the Test Bed: One is a desktop : Pentium IV, 260 MB ram, and two 3com Ethernet card 10/100 The other is a portable: Pentium III, 260 MB ram, and one PCMCIA Ethernet card 10 Mb The two computers are connected in net and in Internet through a Digicom Switch10/100 O.S. and Softwares Linux Red Hat 7.3 distribution, with KDE as graphic desktop. Kernel 2.5.67 with lksctp project dissipate library KPhone
6 Secondi
SYN SYN ACK INVITE
To do
1:500 (INVITE)
1:500(sessione 1:INVITE) 500:1000 (sessione 2:INVITE) ack 1 1,5 secondi 1:500(sessione 1:INVITE) ack 500
PROXY SERVER
INVITE of session combine to stream 3 Is delivered at ULP nevertheless the loss INVITE in stream 2
PROXY-SERVER
INVITE TSN=5, Stream Id=0 Unordered INVITE TSN=6, Stream Id=0 Unordered
PROXY SERVER
PROXY SERVER
UDP
SCTP
UDP
INVITE
180 RINGING
INVITE
INVITE
BYE
BYE 200 Ok
BYE 200 Ok
BYE 200 Ok
200 Ok
200 OK
200 OK
ACK
These are all situations of messages loss in the UDP link. Besides, its necessary considering that SIP retransmissions can happen also without the loss of messages, but simply for expiring of timeout. In every case there are SIP on UDP retransmissions uselessly propagate also on the SCTP link, not completely removing the problem of the congestion in these links. Then we suppose that a better solution is the use of SCTP in every link. We want test the difference between the first scenario and the following.
User Agent
PROXY
PROXY
User Agent
SCTP
SCTP
SCTP
7 The implementation
IP level
outqueue
Recvmsg
ULP_queue
inqueue
LK SCTP
user
dissipate
User interface
SipCall
(3) (4) (2)
(1)
SipTransaction
SipClient
(5) UDPMessage Socket SCTPMessage Socket (6) TCPMessage Socket SIP layer Transport layer
SipCall
(5) (6) (3) (4)
SipTransaction
SipClient
(7) UDPMessage Socket (2) TCPMessage Socket SIP layer Transport layer
8 Installation instructions
Linux Red Hat 7.3 distribution Kernel 2.5.67 - you can download the kernel [here] - you have patch the kernel 2.5.67 with 2.5.67 - lksctp-2_5_67-0_6_9.patch that includes sctp specific changes that didn't go into 2.5.67 [ here] - you have configure your kernel, you can download my .config file [here] Does it compile, but not load? If so, you likely need new modutils for kernel 2.5 module-init-tools0.9.11a.tar [here] For the installation read below or README file in the package. 1) you have to install in /sbin: ./configure --prefix=/ make moveold (if installing for the first time). "make moveold" renames the old insmod, modprobe, rmmod and lsmod to insmod.old, modprobe.old, rmmod.old and lsmod.old, and the matching manpages. 2) Now, build it: make make install 3) If running for the first time, you might want to convert your old modules.conf to modprobe.conf: ./generate-modprobe.conf /etc/modprobe.conf 4) You will need to run "depmod" for your new kernel, eg: depmod 2.5.50 6) If you want to hack on the source: aclocal && automake --add-missing --copy && autoconf lksctp tools tar ball includes user level sctp library and test programs for sctp users and developers lksctp-tools-2_5_67-0_6_9.tgz [here]
SIP/SCTP tar [here] new If you want receive the source code, please send me an email.
9 User Interface
11 References
Draft and RFC [1] J. Rosemberg, H. Schulzrinne, and G. Camarillo, "The Stream Control Transmission Protocol as a Transport for the Session Initiation Protocol. draft-ietf-sip-sctp-03.txt Rosemberg, H. Schulzrinne, et al. SIP: Session initiation protocol. Request for Comments 3261 R. Stewart, Q. Xie, K. Morneault, C. Sharp, H. Schwarzbauer, T. Taylor, I. Rytina, M. Kalla, L. Zhang and V. Paxsons. Stream control transmission protocol. Request for Comments 2960, Internet Engineering Task Force, October 2000 R. Stewart, L. Ong, I. Arias-Rodriguez, and K. Poon, Stream Control Transmission Protocol (SCTP) Implementer's Guide draft-ietf-tsvwg-sctpimpguide-08.txt R. Stewart, Q. Xie, L. Yarroll, J. Wood, K. Poon, K. Fujita, Sockets API Extensions for Stream Control Transmission Protocol (SCTP) draft-ietf-tsvwg-sctpsocket-06.txt
[3]
[4]
[5]
[6]
Articles & Presentation [7] [8] [9] [10] [11] Intro article by Daisy Chang and Jon Grimm (IBM)
http://www-124.ibm.com/linux/presentations/lwce2002/Chats/SCTP/SCTP-LWE.pdf
La Monte H.P. Yarroll, Karl Knutson, "Linux Kernel SCTP : The Third Transport
http://lwn.net/2001/features/OLS/pdf/pdf/sctp.pdf
G. Camarillo, H. Schulzrinne, R. Kantola, "A transport protocol for SIP" G. Camarillo, H. Schulzrinne, R. Kantola, "Signalling transport protocols" Loreto S., De Marco G., Longo M, De Vito D., 2003 "SCTP as a transport for SIP: a Case Study" http://www.iiis.org/sci2003