1 TAC2000/2000.7 LABORATORY 117 Outline of the Hands-on Tutorial  SIP User-Agent Register Register Make calls Make calls  Fault-Finding Tools Observe.

Slides:



Advertisements
Similar presentations
SIP, Firewalls and NATs Oh My!. SIP Summit SIP, Firewalls and NATs, Oh My! Getting SIP Through Firewalls Firewalls Typically.
Advertisements

Fred P. Baker CCIE, CCIP(security), CCSA, MCSE+I, MCSE(2000)
1 TAC2000/ LABORATORY 117 Windows-based SIP UA  Microsoft Windows Messenger  X-Lite  NBEN UA.
Lync /11/2017 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
NETW-250 Troubleshooting Last Update Copyright Kenneth M. Chipps Ph.D. 1.
Security in VoIP Networks Juan C Pelaez Florida Atlantic University Security in VoIP Networks Juan C Pelaez Florida Atlantic University.
STUN Date: Speaker: Hui-Hsiung Chung 1.
January 23-26, 2007 Ft. Lauderdale, Florida An introduction to SIP Simon Millard Professional Services Manager Aculab.
1 SIP-based VoIP Lab. 2 Step 1: Connect Your PC to The Network Get your laptop connected to the campus WLAN. –Run ipconfig to show your own IP address.
Voice over IP and IP telephony Network convergence – Telephone and IT – PoE (Power over Ethernet) Mobility and Roaming Telco – Switched -> Packet (IP)
Session Initiation Protocol Winelfred G. Pasamba.
Session Initiation Protocol (SIP) By: Zhixin Chen.
A Generic Event Notification System Using XML and SIP Knarig Arabshian and Henning Schulzrinne Department of Computer Science Columbia University
Internet Telephony System implementation (SIP User Agent, MGCP Library and RTP Replicator) AT&T Research Lab Xiaotao Wu.
Packet Capture Using Ethereal. Definition for Sniffer: A program and/or device that monitors data traveling over a network. Sniffers can be used both.
FIREWALLS & NETWORK SECURITY with Intrusion Detection and VPNs, 2 nd ed. 6 Packet Filtering By Whitman, Mattord, & Austin© 2008 Course Technology.
Scott Hoffpauir BroadSoft, Inc. Vice President, Engineering OPENSIG October 15, 1999 The Enhanced Services Layer in a Distributed Packet Network.
VoIP Billing Solutions Company PortaSIP.
Starter for 10 Unit 7: Using Messenger Transform IT SFT07_messenger.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 10: Remote Access.
Wireshark Presented By: Hiral Chhaya, Anvita Priyam.
1 Lab 3 Transport Layer T.A. Youngjoo Han. 2 Transport Layer  Providing logical communication b/w application processes running on different hosts 
1 Ethereal.  Freeware sniffing tool.  Captures live network traffic.  The user interface separates it from other sniffers.
Packet Filtering. 2 Objectives Describe packets and packet filtering Explain the approaches to packet filtering Recommend specific filtering rules.
PC Maintenance: Preparing for A+ Certification Chapter 25: The Internet.
1 SIP-based VoIP Lab. 2 Step 1: Connect Your PC to The Network Get your laptop connected to the campus network (both WLAN or wireline will work). –Run.
NAT Traversal Speaker: Chin-Chang Chang Date:
Chapter 6: Packet Filtering
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Network Services Networking for Home and Small Businesses – Chapter.
1 Chapter 6: Proxy Server in Internet and Intranet Designs Designs That Include Proxy Server Essential Proxy Server Design Concepts Data Protection in.
A+ Guide to Managing and Maintaining Your PC Fifth Edition Chapter 19 PCs on the Internet.
Objectives Configure routing in Windows Server 2008 Configure Routing and Remote Access Services in Windows Server 2008 Network Address Translation 1.
1 Lab Introduction – software Voice over IP. 2 Lab Capability and Status  Software used in this course installed in Engineering labs including the lab.
1 Chapter Overview Using the New Connection Wizard to configure network and Internet connections Using the New Connection Wizard to configure outbound.
P2P VoIP Speaker : Ching Chen Chang Date: 2007/09/27.
Networking Functions of windows NT Sever
Windows 7 Firewall.
Call Control with SIP Brian Elliott, Director of Engineering, NMS.
1 Build a SIP of Environment Speaker: Yi-Ji Jheng Date:
Introduction to SIP Based ENUM IP Telephony Infrastructure 資策會 網路及通訊實驗室 Conference over IP Team 楊政遠 博士
Larry Amiot Northwestern University Internet2 Commons Site Coordinator Training September 27, 2004 Austin, Texas Introduction to.
1 SIP-based VoIP Lab. 2 Step 1: Connect Your PC to The Network Get your laptop connected to the campus WLAN. –Run ipconfig to show your own IP address.
1 TAC2000/ LABORATORY 117 Analyzing SIP Call Flows Dr. Quincy Wu National Chiao Tung University
Packet Filtering Chapter 4. Learning Objectives Understand packets and packet filtering Understand approaches to packet filtering Set specific filtering.
Presented By Team Netgeeks SIP Session Initiation Protocol.
© 2010 Cisco Systems, Inc. All rights reserved. 1 CREATE Re-Tooling Exploring Protocols with Wireshark March 12, 2011 CREATE CATC and Ohlone College.
Countermeasures of Spam over Internet Telephony in SIP.edu Campuses with MySQL and LDAP Support Speaker: Chang-Yu Wu Adviser: Dr. Quincy Wu School: National.
NETWORK HARDWARE AND SOFTWARE MR ROSS UNIT 3 IT APPLICATIONS.
Guide to TCP/IP, Third Edition Chapter 8: The Dynamic Host Configuration Protocol.
Simon Millard Professional Services Manager Aculab – booth 402 The State of SIP.
Security, NATs and Firewalls Ingate Systems. Basics of SIP Security.
Practice 4 – traffic filtering, traffic analysis
Sniffer, tcpdump, Ethereal, ntop
Network Analyzer :- Introduction to Wireshark. What is Wireshark ? Ethereal Formerly known as Ethereal GUINetwork Protocol Analyzer Wireshark is a GUI.
Monitoring Troubleshooting TCP/IP Chapter 3. Objectives for this Chapter Troubleshoot TCP/IP addressing Diagnose and resolve issues related to incorrect.
1 Microsoft Windows 2000 Network Infrastructure Administration Chapter 4 Monitoring Network Activity.
Module 10: Windows Firewall and Caching Fundamentals.
C O N N E C T I N G B U S I N E S S & T E C H N O L O G Y IMSLoader Demos Fabien Henry
COMP2322 Lab 1 Introduction to Wireshark Weichao Li Jan. 22, 2016.
The Session Initiation Protocol - SIP
Johan Delimon 26/04/2016 BE-COM E-COMMUNICATIONS EVENT THE INNER WORKINGS OF SKYPE FOR BUSINESS: NETWORKING.
Chapter 7: Using Network Clients The Complete Guide To Linux System Administration.
How to develop a VoIP softphone in C# by using OZEKI VoIP SIP SDK This presentation demonstrates the first steps concerning to how to develop a fully-functional.
Chapter Objectives In this chapter, you will learn:
COMP2322 Lab 1 Wireshark Steven Lee Jan. 25, 2017.
Traffic Analysis with Ethereal
Introduction to Packet Sniffing using Ethereal
NAT Traversal for VoIP Dr. Quincy Wu National Chi Nan University
Network Analyzer :- Introduction to Wireshark
Network Analyzer :- Introduction to Wireshark
Presentation transcript:

1 TAC2000/ LABORATORY 117 Outline of the Hands-on Tutorial  SIP User-Agent Register Register Make calls Make calls  Fault-Finding Tools Observe the Packets of SIP Messages Observe the Packets of SIP Messages  SIP Registrar/Proxy Server Configuring SER (SIP Express Router) Configuring SER (SIP Express Router)  How do you know other SIP islands DNS SRV/ENUM/ISN DNS SRV/ENUM/ISN  How to authenticate users LDAP, RADIUS LDAP, RADIUS 

2 TAC2000/ LABORATORY 117 SIP UAs and SIP Message Analysis Quincy Wu National Chi Nan University

3 TAC2000/ LABORATORY 117 Exercise 1: SIP UA operations  Download & Install SIP UA  Download & Install Ethereal  Packet Analysis Using Ethereal SIP signaling flow SIP signaling flow RTP traffic RTP traffic SIP headers SIP headers SDP Contents SDP Contents Call Hold/Retrieve Call Hold/Retrieve

4 TAC2000/ LABORATORY 117 Windows-based SIP UA  Microsoft Windows Messenger  NBEN UA  X-Lite

5 TAC2000/ LABORATORY 117 SIP UA – Windows Messenger  By default, Windows XP installs Windows Messenger Version 4.7  There are two messengers from Microsoft MSN Messenger 6.2, 7.0 MSN Messenger 6.2, 7.0 Windows Messenger 4.7, 5.1 Windows Messenger 4.7, 5.1  Inside Windows Messenger - How it Communicates nol/winxppro/evaluate/insid01.mspx nol/winxppro/evaluate/insid01.mspx

6 TAC2000/ LABORATORY 117 Step 1: Configure

7 TAC2000/ LABORATORY 117 Step 2: REGISTER

8 TAC2000/ LABORATORY 117 Step 3: Make A Call

9 TAC2000/ LABORATORY 117 Step 4: Ringing

10 TAC2000/ LABORATORY 117 Step 5: Conversation

11 TAC2000/ LABORATORY 117 Step 6: Answer A Call

12 TAC2000/ LABORATORY 117 SIP UA – NBEN UA  NBEN UA is a SIP User Agent which provides easy interface for IP telephony.  This software was developed as a tool for VoIP tutorials in Taiwan.  You can type the digits and make phone calls directly, without typing the complete SIP URI ( )  It supports features like Hold/Retrieve, Redial, Speed Dial, Transfer.

13 TAC2000/ LABORATORY 117 Features  NBEN UA runs on Windows 2000/XP/2003.  Both signaling and media data are transported on UDP. SIP: port 5060 SIP: port 5060 RTP: port 9000 RTP: port 9000  Supported audio codec: G.711 (64Kbps) G.711 (64Kbps) G.729 (8Kbps) G.729 (8Kbps) G (6.3Kbps) G (6.3Kbps)

14 TAC2000/ LABORATORY 117 Download NBEN SIP UA  Download link & Installation guide can be found at  Phone numbers are assigned in a separate configuration file.  Try to call each other and see the signaling of SIP.  Each SIP UA is required to possess a public IP address. A patch is available to traverse NAT by utilizing STUN. A patch is available to traverse NAT by utilizing STUN.

15 TAC2000/ LABORATORY 117 SIP UA - X-Lite  X-Lite - The Best Free Softphone  A FREE premium SIP softphone with many PBX-like features.  Open standards-based design (SIP) allows for maximum network interoperation and integration.  Download from

16 TAC2000/ LABORATORY 117 Features  Touch-tones [DTMF]  3 Lines, Multiple Proxies  Line Hold  Inbound Call 'Ignore'  Inbound Call 'Go to Voic '  Dial/ Redial/Hangup  Caller ID [SIP ID]  Call Timer  Mute  Microphone & Speakers Levels  Microphone & Speakers Meters  Recent Calls Dialed  Recent Calls Received  Speed Dial  G.711u+a/iLBC/GSM codecs  NAT/Firewall support  Specify NAT IP to be written in SIP messages  Supports Windows 98SE/NT4/ME/2000/XP

17 TAC2000/ LABORATORY 117 Step 1: Configuration

18 TAC2000/ LABORATORY 117 Step 2: Make/Receive Calls  Automatically send a REGISTER request to registrar when the program starts up.  Dial digits, and domain realm will be appended automatically.

19 TAC2000/ LABORATORY 117 Packets Capturing & Analyzing

20 TAC2000/ LABORATORY 117 Fault-Finding Tools  Ethereal GUI on Windows XP/Linux/FreeBSD GUI on Windows XP/Linux/FreeBSD  Tcpdump/tEthereal/ngrep Plaintext on Linux/FreeBSD Plaintext on Linux/FreeBSD  SIPSAK “Traceroute” of SIP “Traceroute” of SIP

21 TAC2000/ LABORATORY 117 Ethereal – What Is It?  Every network manager at some time or other needs a tool that can capture packets off the network and analyze them.  In the past, such tools were either very expensive, proprietary, or both.  With the advent of Ethereal, all that has changed.  "A rose by any other name would smell as sweet." - William Shakespeare

22 TAC2000/ LABORATORY 117 Features of Ethereal  Available for UNIX and Windows.  Capture and display packets from any interface on a UNIX system.  Display packets captured under a number of other capture programs: tcpdump tcpdump Network Associates Sniffer and Sniffer Pro Network Associates Sniffer and Sniffer Pro NetXray NetXray Microsoft Network Monitor Microsoft Network Monitor  Filter packets on many criteria.  Colorize packet display based on filters  Allow people to add new protocols to Ethereal.

23 TAC2000/ LABORATORY 117 Where to Get Ethereal  Official site:  Local mirror:

24 TAC2000/ LABORATORY 117 Install Ethereal under Windows  Install WinPcap 3.1. WinPcap is an architecture for packet capture and network analysis for the Win32 platforms. WinPcap is an architecture for packet capture and network analysis for the Win32 platforms. It includes It includes  a kernel-level packet filter,  a low-level dynamic link library (packet.dll), and  a high-level and system-independent library (wpcap.dll, based on libpcap version 0.6.2)  Install Ethereal

25 TAC2000/ LABORATORY 117 Starting Ethereal

26 TAC2000/ LABORATORY 117 Capturing packets with Ethereal

27 TAC2000/ LABORATORY 117 The Capture Preferences dialog box

28 TAC2000/ LABORATORY 117 Stop after you have collected enough packets

29 TAC2000/ LABORATORY 117 File – Save As

30 TAC2000/ LABORATORY 117 Show Packet in New Window

31 TAC2000/ LABORATORY 117 Capture Filters

32 TAC2000/ LABORATORY 117 Filtering While Capturing

33 TAC2000/ LABORATORY 117 Syntax of the tcpdump capture filter language  [not] primitive [and|or [not] primitive...] tcp port 23 and host tcp port 23 and host tcp port 23 and not host tcp port 23 and not host  tcpdump filter language is explained in the man page.

34 TAC2000/ LABORATORY 117 Capturing SIP signaling (filter: udp port 5060)

35 TAC2000/ LABORATORY 117 SIP Call Establishment  It is simple, which contains a number of interim responses.

36 TAC2000/ LABORATORY 117 Basic Call Flow

37 TAC2000/ LABORATORY 117

38 TAC2000/ LABORATORY 117

39 TAC2000/ LABORATORY 117

40 TAC2000/ LABORATORY 117 REGISTER

41 TAC2000/ LABORATORY OK

42 TAC2000/ LABORATORY 117 INVITE

43 TAC2000/ LABORATORY 117 SDP in INVITE

44 TAC2000/ LABORATORY OK

45 TAC2000/ LABORATORY 117 SDP in 200 OK

46 TAC2000/ LABORATORY 117 ACK

47 TAC2000/ LABORATORY 117 Capturing the packets of Media Data

48 TAC2000/ LABORATORY 117 RTP Traffic (udp port 9000)  What’s wrong?

49 TAC2000/ LABORATORY 117 Tools – Decode As RTP

50 TAC2000/ LABORATORY 117 Display Filter

51 TAC2000/ LABORATORY 117 Display – Colorize Display

52 TAC2000/ LABORATORY 117 Emphasize the packets you are interested in

53 TAC2000/ LABORATORY 117 Hold/Unhold of NBEN UA

54 TAC2000/ LABORATORY 117 Hold

55 TAC2000/ LABORATORY 117 Retrieve

56 TAC2000/ LABORATORY 117 Summary  We demonstrate the functions of Windows Messenger and NBEN UA, which are two SIP User Agents with friendly user interface.  We demonstrate the functions of Ethereal, which is a powerful tool for packets capturing & analyzing: Capture Filters Capture Filters Colorized Packets Colorized Packets  Practice using this tool to capture SIP signaling in the following call flows REGISTER – 200 OK REGISTER – 200 OK INVITE – 200 OK - ACK INVITE – 200 OK - ACK BYE – 200 OK BYE – 200 OK Hold/Retrieve Hold/Retrieve