SIPv6 Analyzer Whai-En Chen Research Assistant Professor Dept. of Computer Science and Information Engineering National Chiao Tung University wechen@mail.nctu.edu.tw 1
Outline Introduction Install and Uninstall Procedures Quick Start- User Guide Filtering Rules SIPv6 Analyzer Demo Capturing Packets SIP Functions: SIP Viewer and Flowcharts RTP Function: RTP Spy (Playback) Conclusions Future Works 2
Introduction SIP IPv6 易 SIPv6 Analyzer call leg 理 SIP 令 SIP 令流 RTP 串流 Jitter Buffer 利 (yhsung@csie.nctu.edu.tw) 2003 2004 IPv6 Appli-Contest 3
A General Protocol Analyzer- Ethereal Packet List Protocol Parser Hex Dump 4
SIPv6 Analyzer SIP 令 流 流量 RTP 5
Ethernet2 Header ARP ICMPv4 IPv4 ICMPv6 IPv6 IPv6 Options IP(v4/v6)-in-IP(v4/v6) Tunnel Teredo TCP UDP HTTP FTP DNS SIP SDP RTCP RTP SIP 令流 RTP 串流 流量 精靈 路 6
Download the SIPv6 Analyzer 7
Install the SIPv6 Analyzer 8
Install the WinPcap 9
Finish Installation 10
Uninstall Procedure 11
Menu and Speed Buttons (1) 12
Menu and Speed Buttons (2) Remote Capture(a) Local Capture (b) Open Offline Packet (c) Close Form (d) Quit (e) 離 SIPv6 Analyzer (1) Remote Capture (2) Local Capture (3) Open Offline Packet (4) Close Form (5) 切 (6) (7) 切 列 (8) 切 列 13
Analysis Project (1) 14
Analysis Project (2) (1) / (2) 來 (3) / Capture filter Display filter (4) Capture filter Display filter (5) / Packet Viewer (6) / SIP Viewer (7) / RTP Spy (8) / Statistics Frame List (9) 都 列 來 Detail Frame Information (10) Hex Information (11) 六 15
SIP Viewer (1) 16
SIP Viewer (2) Dialog(Call-leg) List (1) SIP 理 Dialog (call leg) Call-ID 欄 SIP Call- ID Caller 欄 ( ) SIP From Callee 欄 ( ) SIP To SIP Packet List (2) Dialog SIP 17
RTP Spy (1) 18
RTP Spy (2) Session List (1) 來 RTP 理 料 Session 欄 SSRC 欄 RTP SSRC (Synchronization Source) Media Type 欄 RTP Packet Count 欄 Session RTP 數 Length 欄 行 Media Instance (2) 滑 Session List 料 列 RTP 串流 Media Description 欄 RTP 串流 Status 欄 RTP 串流 狀 / / Packet Count 欄 RTP 串流 數 Length 欄 RTP 串流 Play Control Panel (3) 來 RTP 串流 19
Statistic (1) 20
Statistic (2) Host Traffic (1) 路流量列 IP Address 欄 IP Host Address 欄 料連 Ethernet MAC (Media Access Control) Bytes 欄 數 Packets 欄 數 Packet Distribution (2) IPv4/IPv6/otheres Flow Statistics (3) 路流量 率 21
Set Filtering Rules Set Capture Filter Set Display Filter 22
Filtering Rules SIPv6 Analyzer provides two Filters: Capture Filter and Display Filter. The filter rule is the same as the tcpdump. Some useful examples: host 140.113.1.1 (capture the packet from and to 140.113.1.1) dst140.113.1.1 / src 140.113.1.1 (to/from 140.113.1.1) net205.153.60.0 mask 255.255.255.0 (for a subnet) udp port 5060 (for SIP; port 9000 for RTP) host 140.113.1.1 and udp port 5060 ip6(for IPv6 packets) 23
SIPv6 Analyzer Demo 24
Demo Environment SIP RTP 25
Operation (1) 26
Operation (2) 27
SIP Viewer: SIP Messages 28
SIP Flowcharts 29
RTP Spy: RTP Playback 30
Conclusions SIPv6 Analyzer provides several functions (e.g., SIP Viewer and RTP Spy) for the users who attempt to debug the SIP VoIP network or the SIP devices. SIPv6 Analyzer can be downloaded in the web page (i.e. http://www.csie.nctu.edu.tw/~yhsung/sipv6_analyzer) Users can fills the registration form and will be informed when the SIPv6 Analyzer is upgraded. Users can contact Dr. Chen (wechen@mail.nctu.edu.tw) for any further research or cooperation possibility. Users can contact Mr. Sung (yhsung@csie.nctu.edu.tw) for the comments or bugs of SIPv6 Analyzer. 31
Future Works SIP message comparison Video playback for RTP packets G.723, G.729 and GSM codec translation Stable packet generator Script input interface Test patent for SIP applications IPv6 test tool Fast sort data structure and algorithm for RTP Spy Automatic jitter buffer adjustment algorithm 32
References RFC 3261. SIP: Session Initiation Protocol. J. Rosenberg, H. Schulzrinne, G. Camarillo, A. Johnston, J. Peterson, R. Sparks, M. Handley, E. Schooler. June 2002 RFC 3550. RTP: A Transport Protocol for Real-Time Applications. H. Schulzrinne, S. Casner, R. Frederick, V. Jacobson. July 2003 RFC 2327. SDP: Session Description Protocol. M. Handley, V. Jacobson. April 1998 RFC 2460. IPv6: Internet Protocol, Version 6 Specification. S. Deering, R. Hinden. December 1998 Ethereal. http://www.ethereal.com Windump. http://windump.polito.it/ Winpcap. http://winpcap.polito.it/ 33
Q A 34