iLab2 Introduction to SIP Daniel Raumer raumer@net.in.tum.de - - PowerPoint PPT Presentation

ilab2 introduction to sip
SMART_READER_LITE
LIVE PREVIEW

iLab2 Introduction to SIP Daniel Raumer raumer@net.in.tum.de - - PowerPoint PPT Presentation

Lehrstuhl Netzarchitekturen und Netzdienste Institut fr Informatik Technische Universitt Mnchen iLab2 Introduction to SIP Daniel Raumer raumer@net.in.tum.de Agenda SIP - What? SIP - How? Repetition Security iLab2


slide-1
SLIDE 1

Lehrstuhl Netzarchitekturen und Netzdienste

Institut für Informatik Technische Universität München

iLab2 – Introduction to SIP

Daniel Raumer raumer@net.in.tum.de

slide-2
SLIDE 2

iLab2 – Introduction to the Multicast and SIP – Daniel Raumer– 2012-11-08

2

Agenda

 SIP - What?  SIP - How?  Repetition Security

slide-3
SLIDE 3

iLab2 – Introduction to the Multicast and SIP – Daniel Raumer– 2012-11-08

3

SIP – What?

 RFC 2543 – Session Initiation Protocol  Definition: “SIP – An application layer signalling protocol that defines

initiation modification and termination of interactive, multimedia communication sessions between users!“

 Current RFC 3261  Today used for

  • VoIP (mainly)
  • Instant Messaging (MSN)
  • Messaging systems often use SIMPLE  Simplified version of SIP
  • Online Games
  • Signalling Protocol for Next Generation Networks
  • All IP Networks (IP Multimedia Subsystem - IMS)
slide-4
SLIDE 4

iLab2 – Introduction to the Multicast and SIP – Daniel Raumer– 2012-11-08

4

SIP – What?

 RFC 2543 – Session Initiation Protocol  Definition: “SIP – An application layer signalling protocol that defines

initiation modification and termination of interactive, multimedia communication sessions between users!“

 Current RFC 3261

1996: First technology concept drafts 1999: RFC 2543 2000: SIP became signaling protocol in the 3GPP and element in IMS 2002: official IETF Standard …increase of application & a lot of extensions

slide-5
SLIDE 5

iLab2 – Introduction to the Multicast and SIP – Daniel Raumer– 2012-11-08

5

The Protocol

 Application Layer Protocol

  • Signaling Protocol for IP Networks opposed to PSTN SS7

 Text based – Similarities to HTTP

  • Uses similar status codes
  • 200  OK
  • 3xx  Moved
  • 4xx  Errors

 RFC 3261 defines the Framework

  • Header fields
  • Protocol
  • What to do when
  • Which messages are sent at which point of the session
  • Additional RFCs complement this basic framework
  • Privacy (RFC 3323)
  • Compression (RFC 3320)
  • Body Content, Media Description…

Application SIP, (RTP,…) Transport UDP TCP Internet IP (IPv4, IPv6) Network Access Ethernet …

slide-6
SLIDE 6

iLab2 – Introduction to the Multicast and SIP – Daniel Raumer– 2012-11-08

6

What does it do?

 Session Initiation  Localization of users

  • Using SIP URIs: ilab2@net.in.tum.de

 Presence indication  Negotiation of Parameters

  • Codecs to be used, Security Parameters

 Setup of the session

  • Media targets

 Management and maintenance of the session

  • Forwarding or cancelation of a session
  • Invite, re-Invites, …
slide-7
SLIDE 7

iLab2 – Introduction to the Multicast and SIP – Daniel Raumer– 2012-11-08

7

What it does NOT

 SIP is not a ready-for-use application

  • It is not Instant messaging, VoIP, or Video on demand.

 SIP does not transport media

  • but does work with Session Description Protocol (SDP)

 SIP does not provide QoS

  • but can work with Resource Reservation Protocol (RSVP) and Real-Time

Transport Protocol (RTP)

 SIP does not provide Authentication

  • but works with RADIUS and LDAP

 “SIP needs alphabet soup to stay healthy!”

slide-8
SLIDE 8

iLab2 – Introduction to the Multicast and SIP – Daniel Raumer– 2012-11-08

8

SIP Based VoIP Call

sip:bob@someplace Protocol / Negotiation Call Protocol / End Call

RTP Session

slide-9
SLIDE 9

iLab2 – Introduction to the Multicast and SIP – Daniel Raumer– 2012-11-08

9

Reinvitation

Sorry Bob is not here – Try mobile sip:bob@someplace sip:bobmobile@someplace

slide-10
SLIDE 10

iLab2 – Introduction to the Multicast and SIP – Daniel Raumer– 2012-11-08

10

SIP Based VoIP Call

Jamai.ca Furni.er

slide-11
SLIDE 11

iLab2 – Introduction to the Multicast and SIP – Daniel Raumer– 2012-11-08

11

Repetition Security

 Security Objectives:

  • Integrity,
  • Authenticity,
  • Confidentiality,
  • Availability,
  • Accountability

 Some attack types (not distinct)

  • Replay Attack
  • Relay Attack
  • Monitoring/Snooping
  • (Identity-)Spoofing
  • DoS (e.g. BYE message injecting)
slide-12
SLIDE 12

iLab2 – Introduction to the Multicast and SIP – Daniel Raumer– 2012-11-08

12

SIP Security “Alphabet Soup”

 SRTP (Secure Real-Time Transport Protocol) RFC 3711  SDES (Session Description Protocol Security Descriptions) RFC 4568

  • Key exchange for RTP – but requires a secure channel (TLS or S/MIME)

 ZRTP (Zimmermann Real-Time Transport Protocol) RFC 6189

  • Diffie-Hellman for the RTP
  • Man in the middle?

 …but SIPS is usually realized over TLS hop by hop

slide-13
SLIDE 13

iLab2 – Introduction to the Multicast and SIP – Daniel Raumer– 2012-11-08

13

Content of the Lab

 Much short lab  So fun  Such less coding

WOW

slide-14
SLIDE 14

iLab2 – Introduction to the Multicast and SIP – Daniel Raumer– 2012-11-08

14

The End