Location SIP Servers –RFC 3261

Slides:



Advertisements
Similar presentations
Enhancing international roaming performance : NAPTR Records in DNS
Advertisements

Transport Layer3-1 Transport Overview and UDP. Transport Layer3-2 Goals r Understand transport services m Multiplexing and Demultiplexing m Reliable data.
IPv6 – IPv4 Network Address, Port & Protocol Translation & Multithreaded DNS Gateway Navpreet Singh, Abhinav Singh, Udit Gupta, Vinay Bajpai, Toshu Malhotra.
Camarillo / Schulzrinne / Kantola November 26th, 2001 SIP over SCTP performance analysis
CCNA – Network Fundamentals
Lecture 7 Transport Layer
Module 8: Concepts of a Network Load Balancing Cluster
1 Internet Networking Spring 2004 Tutorial 13 LSNAT - Load Sharing NAT (RFC 2391)
Chapter 3: Transport Layer
Introduction to Transport Layer. Transport Layer: Motivation A B R1 R2 r Recall that NL is responsible for forwarding a packet from one HOST to another.
Transport Layer3-1 Transport Layer Our goals: r understand principles behind transport layer services: m multiplexing/demultipl exing m reliable data transfer.
Domain Name System: DNS
CPSC 441: DNS1 Instructor: Anirban Mahanti Office: ICT Class Location: ICT 121 Lectures: MWF 12:00 – 12:50 Notes derived.
3-1 Transport services and protocols r provide logical communication between app processes running on different hosts r transport protocols run in end.
8-1 Transport Layer Our goals: r understand principles behind transport layer services: m multiplexing/demultipl exing m reliable data transfer m flow.
1 Spring Semester 2007, Dept. of Computer Science, Technion Internet Networking recitation #12 LSNAT - Load Sharing NAT (RFC 2391)
TCP/IP Protocol Suite 1 Chapter 17 Upon completion you will be able to: Domain Name System: DNS Understand how the DNS is organized Know the domains in.
1 RFC 3486 Compressing the Session Initiation Protocol (SIP) 曾朝弘 電機系 系統組 碩士班一年級.
DNS.
Packet Filtering. 2 Objectives Describe packets and packet filtering Explain the approaches to packet filtering Recommend specific filtering rules.
Review: –What is AS? –What is the routing algorithm in BGP? –How does it work? –Where is “policy” reflected in BGP (policy based routing)? –Give examples.
NAT Traversal Speaker: Chin-Chang Chang Date:
Chapter 6: Packet Filtering
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.1 ISP Services Working at a Small-to-Medium Business or ISP – Chapter 7.
DNS: Domain Name System
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 7: Transport Layer Introduction to Networking.
Chapter 1: Introduction to Web Applications. This chapter gives an overview of the Internet, and where the World Wide Web fits in. It then outlines the.
TCP/IP Essentials A Lab-Based Approach Shivendra Panwar, Shiwen Mao Jeong-dong Ryoo, and Yihan Li Chapter 5 UDP and Its Applications.
ITIS 1210 Introduction to Web-Based Information Systems Chapter 23 How Web Host Servers Work.
Packet Filtering Chapter 4. Learning Objectives Understand packets and packet filtering Understand approaches to packet filtering Set specific filtering.
The Inter-network is a big network of networks.. The five-layer networking model for the internet.
Presented By Team Netgeeks SIP Session Initiation Protocol.
CS 3830 Day 13 Introduction 1-1. Announcements r Quiz 3: Wednesday, Oct 10 r Prog3 due Wednesday, Oct 10 Transport Layer 3-2.
DNS SRV and NAPTR Use for SPEERMINT - Tom Creighton, Gaurav Khandpur Comcast SPEERMINT Intermin Meeting Philadelphia Sept
Transport Layer 3-1 Chapter 3 Outline r 3.1 Transport-layer services r 3.2 Multiplexing and demultiplexing r 3.3 Connectionless transport: UDP.
Chapter 3: Transport Layer Our goals: r understand principles behind transport layer services: m multiplexing/demultipl exing m reliable data transfer.
March 2007IETF68 - SIP1 SIP URI Service Discovery using DNS-SD draft-lee-sip-dns-sd-uri-00 Henning Schulzrinne Jae Woo Lee Columbia University.
SIP working group IETF#70 Essential corrections Keith Drage.
Chapter 9: Transport Layer
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 18 Domain Name System (DNS)
Teacher:Quincy Wu Presented by: Ying-Neng Hseih
March 20th, 2001 SIP WG meeting 50th IETF SIP WG meeting Overlap signalling handling
Transport Layer3-1 Chapter 3: Transport Layer Our goals: r understand principles behind transport layer services: m multiplexing/demultipl exing m reliable.
Draft-carpenter-v6ops-label-balance-02 Brian Carpenter Sheng Jiang (Speaker) Willy Tarreau March 2012 IPv6 Flow Label for Server Load Balancing - update.
TCP/IP1 Address Resolution Protocol Internet uses IP address to recognize a computer. But IP address needs to be translated to physical address (NIC).
Ch 3. Transport Layer Myungchul Kim
SIP AAI a possibility for TF-EMC2 and TF-ECS cooperation
Chapter 7: Transport Layer
Introduction to Networks
Chapter 9: Transport Layer
Scaling Network Load Balancing Clusters
Chapter 3 outline 3.1 Transport-layer services
draft-ietf-simple-message-sessions-00 Ben Campbell
Network Load Balancing Functionality
Network Load Balancing
06- Transport Layer Transport Layer.
Working at a Small-to-Medium Business or ISP – Chapter 7
CS 1652 Jack Lange University of Pittsburgh
SIP URI Service Discovery using DNS-SD draft-lee-sip-dns-sd-uri-02
Working at a Small-to-Medium Business or ISP – Chapter 7
Working at a Small-to-Medium Business or ISP – Chapter 7
Transport Layer Our goals:
September 19th, 2013 CS1652 Jack Lange University of Pittsburgh
TCP/IP Networking An Example
Working at a Small-to-Medium Business or ISP – Chapter 7
IS 4506 Server Configuration (HTTP Server)
Domain Name System: DNS
Computer Networks Protocols
Chapter 3 Transport Layer
Transport Layer Our goals:
Presentation transcript:

Location SIP Servers –RFC 3261 2006. 5. 24 유비쿼터스 네트워크 연구센터 이 영 석(youngsuk@dcn.ssu.ac.kr)

Contents Introduction Problem of DNS is Needed to Solve DNS Records for SIP Client Usage Server Usage Conclusion

Introduction(1) Location Server in SIP

Introduction(2) Location Server in SIP

Introduction(3) Location and Presence

Introduction(4) SIP Basic Flow

Introduction(5) SIP Basic Flow - Failed

Introduction(6) Load balancing

Problem of DNS is Needed to Solve Determine the available address tuple for SIP server of the next hop Client : Resolve address tuple of the next hop Server : If the primary response has failed Provide a scalability and high availability Scale up through clustering Priority and Weights

Contents Introduction Problem of DNS is Needed to Solve DNS Records for SIP Client Usage Server Usage Conclusion

DNS Records for SIP(1) DNS lookup procedure for SIP

DNS Records for SIP(2) – NAPTR Record(RFC 2915) Format sip:yhkim@dcn.com  NAPTR query for dcn.com  NAPTR records are returned Rules If SIPS URI, MUST select only “SIPS+D2T” If SIP URI, select “SIPS+D2T” or “SIP+D2D” Flag value Replacement Result Select the Transport Protocol Indexing the SRV Record class type order pref flags service regexp replacement IN NAPTR 70 50 “s” “ftp+I2R” “ ” _ftp._tcp.dcn.com 80 “SIPS+D2T” _sips._tcp.dcn.com 90 “SIP+D2T” _sip._tcp.dcn.com 100 “SIP+D2U” _sip._udp.dcn.com 110 “http+I2R” _http._tcp.dcn.com

DNS Records for SIP(3) – SRV Record(RFC 2782) Format SRV query for _sip._tcp.dcn.com  SRV records are returned Result Determine the port of SIP server Provide the Load Balancing Mechanism and Fault Tolerance functions for SIP Server(Proxy Server) class type priority weight port Target (A record) IN SRV 2 10 5060 server3.dcn.com 1 5063 server2.dcn.com

DNS Records for SIP(4) – SRV Record(RFC 2782) SRV Record Load Balancing & Fault Tolerant Mechanism Example Sort Multiple SRV Record based on RFC 2782 The same Priority Arrange in any order, except weight 0 The Running-sum Random number(nRandom) Next Target select (nRandom <= R-sum) Remove the selected RR Until there are no unordered SRV RRs. Repeat for each Priority Address record lookup for the Target in the order class type priority weight port Target (A record) R-Sum IN SRV 2 10 5060 sip3.dcn.com 1 5063 sip2.dcn.com 11 20 5064 sip5.dcn.com 31 100 5061 sip6.dcn.com 131 _sip._tcp.dcn.com

DNS Records for SIP(5) – A Record Format A query for server2.dcn.com  A Record are returned server2.dcn.com  IN A 220.149.49.78 Result Determine only IP Address for SIP Server Regardless of Service (FTP, SIP, HTTP), target resolution is one

Contents Introduction Problem of DNS is Needed to Solve DNS Records for SIP Client Usage Server Usage Conclusion

Client Usage(1) Procedure NAPTR Record SRV Record A Record Select TARGET Select a Transport Protocol Determine Port and IP Address sip(s):yhkim@host[:port][;transport=xxx] via:SIP/2.0/xxx host[:port][received=host];branch=…… Case by case, DNS Lookup Step by step, DNS Lookup Numeric IP Address Port Transport Protocol DCN Query Yes / Not Using DNS No A Record Lookup SRV Record Lookup NAPTR Record Lookup NAPTR Record SRV Record A Record

Client Usage(2) If the TARGET is a Numeric IP Address Transport If transport protocol is designated in TARGET, the transport protocol is used If not, UDP for SIP URI and TCP for SIPS URI is Default Port If port is designated in TARGET, the port is used 5060 for UDP or TCP, 5061 for TLS is default port IP Address Use the Numeric IP Address designated in TARGET Numeric IP Address Port Transport Protocol DCN Query Yes / Not Using DNS No A Record Lookup SRV Record Lookup NAPTR Record Lookup

Client Usage(3) If a port is provided, but the TARGET is not Numeric IP Address Transport If Transport protocol is designated in TARGET, the transport protocol is used If not, UDP for SIP URI and TCP for SIPS URI is Default Port Use the port designated in TARGET IP Address A record lookup or AAAA record(IPv6) with hostname designated in TARGET Numeric IP Address Port Transport Protocol DCN Query Yes / Not Using DNS No A Record Lookup SRV Record Lookup NAPTR Record Lookup

Client Usage(4) If no Transport protocol and port, not Numeric IP Address Transport If Transport protocol is designated in TARGET  pass 1 Attempt to NAPTR Query  pass 2 If NAPTR record is failed, SRV Record Lookup  pass 3 (_sips._tcp.dcn.com, _sip._tcp(_udp).dcn.com) If SRV Record Lookup is failed, SIP URI(UDP) and SIPS URI(TCP) is Default  pass 4 Numeric IP Address Port Transport Protocol DCN Query Yes / Not Using DNS No A Record Lookup SRV Record Lookup NAPTR Record Lookup

Client Usage(4) IP Address Case pass 1: SRV Record Lookup  A Record Lookup Case pass 2: Selected NAPTR Record  SRV Record  A Record Lookup Case pass 3: Selected SRV Record  A Record Lookup Case pass 4: TARGET host  A Record Lookup Port If SRV Record Lookup is successful, use the port designated in SRV Record If not, 5060 for UDP or TCP, 5061 for TLS is default port Numeric IP Address Port Transport Protocol DCN Query Yes / Not Using DNS No A Record Lookup SRV Record Lookup NAPTR Record Lookup

Client Usage(5) - Consideration for stateless proxies Stateless Proxy: Not keep up transaction state Problem 1 Possible that retransmission go to a different server every time  Solution - Not adopt SRV Record Sorting algorithm of RFC 2782 - using any algorithm to be sorted by the same order every time (example : alphabets) Problem 2 Not contacted to the first server successfully, send to the next server, retransmit go to different server if the failed first server recovers between retransmissions  Solution - If the first server is not contacted successfully, should act as a stateful proxy.

Contents Introduction Problem of DNS is Needed to Solve DNS Records for SIP Client Usage Server Usage Conclusion

Server Usage Response Mechanism TCP : Sent over the connection the request arrived on UDP : the source IP Address, the port contained in the Via header Problem Response fails “fails”: Any closure of the transport connection or fatal error from the transport layer  Solution - examines the value of the sent-by construction in the topmost Via header - A Record Lookup or SRV Record Lookup - It is possible that response sent to a different client - If only Client Group share transaction state, this model is worthy

Conclusion Determine the available transport protocol, port, IP Address for SIP server of the next hop through DNS lookup Provide the load balancing mechanism and fault tolerance functions for SIP server(proxy server) through DNS lookup Requirement UA and Proxy server should have the ability to lookup DNS and analyze DNS RRs Administrator should have the ability To load balancing of SIP Servers through control of DNS Server Record To manage Back-up Server