Performance Analysis of Open Source Solutions Using Wireshark Jai Koolwal, Sumalya Pal
Total Page:16
File Type:pdf, Size:1020Kb
>Final Report 1 Performance analysis of open source solutions using Wireshark Jai Koolwal, Sumalya Pal Electrical and Computer Science Engineering University Of Florida of the soft phones analyzed was mostly available on their websites[10][11][12] : A. Empathy: Abstract— The goal of this project is to form a detailed analysis of Multi This is an instant messaging client which supports text, voice, video, file point video, audio, text and collaboration software like the Ekiga , Empathy, transfers, and inter-application communication over various IM protocols. Twinkle & BigBlueButton and to complete a survey, comparing them on Empathy also provides a collection of re-usable Graphical User Interface widgets issues like robustness in call quality, video quality , for this purpose we shall for developing instant messaging clients for the GNOME desktop. It is written as make use of the WIRESHARK tool (packet sniffer for Linux) and building extension to the Telepathy framework, for connecting to different instant on the data collected we shall have a better comparative understanding messaging networks with a unified user interface. about the performance of these software in different open source environments like UBUNTU 9.10 – JAUNTY BUILD Karmic Koala & Open B. Ekiga : Suse 11.2. Ekiga is truly one of the most wonderful soft phones available in the market today. It supports the SIP as well as the H323 protocol. It was a part of the UBUNTU package but now has been replaced by EMPATHY. KeyWords- Bigbluebutton, Cent OS, Ekiga, Empathy, Fedora, Twinkle, C. BigBlueButton : Ubuntu, Wireshark. The BigBlueButton is a versatile open source project that is built over fourteen open source components to create an integrated web conferencing system that runs on mac, unix or pc computers. Some of the features of this softphone are web cam management, presentation in which any user can upload PDF presentation, office document and keep everyone in sync with their current I. INTRODUCTION page, zoom, pan, and see the presenters mouse pointer. BigBlueButton voice conferencing supports voice over IP (VOIP) conferencing out-of-the-box. n modern times when there is financial turmoil, the industries are looking for D. Twinkle – I Twinkle makes use of both, the SIP as well as RTP protocol, for audio and ways to grade down the costs in view of sustaining their profits. One way to cut video streaming calls respectively. It is a soft phone that works equally well in Windows and Gnome. RTP streams are sometimes encrypted for better security. down their cost is cheap or rather cost less alternatives for hard line telephones. Hence Soft phones has gained enormous popularity. Using Soft Phones the industries can set up telephony systems that will help them curb down their call E.Wireshark costs. Also in recent times with the advent of free open source SIP platforms like Wireshark is the packet sniffer tool that was used for carrying out the detailed Asterisk, Kamailo, and Freeswitch; the world of VOIP and SIP phones have analysis of all these open source solutions. It helps us to provide different metrics become a major player in the world of free telephony. to judge the performance of a VOIP call like jitter, BW etc. Also it tells us the Now as SIP phone are gaining popularity more and more, the technicians are kind of protocol which is currently being employed by the soft phone. It can discovering new problems associated with this technology. While using SIP basically analyze each and every packet being exchanged. phone services whether for home use or business purpose in a one to one or conference mode one often comes across problems like lost calls, bad call quality, other line seems to be engaged while it is actually not & also jump III.THE PROCESS calls(calls to wrong telephone number) . There have been multiple softwares First we start the wireshark protocol analyzer and start the packet capture produced for deciphering such problems in SIP telephony. These softwares mechanism as shown in Fig 1. mainly deal with analyzing the incoming and outgoing calls through the router that are using the SIP protocol or the RTP or UDP protocols. After the analyses of these protocols are done the problem is pinpointed and can be dealt with effectively. Two of the most acknowledged software in this field are TCP Dump and Wireshark. While TCP Dump can only run on UNIX platforms, Wireshark can be run on any platform. In this project we are using Wireshark on Ubuntu Karmic Koala platform for analyzing SIP protocol for various soft phones used by industries as well as individuals in modern times. II. SCHEME OF THE PROJECT In this project we will be analyzing the different SIP/VOIP solutions using Wireshark that are available in the market and then give a detailed report on the QoS (quality of service) as a comparison for all these solutions. The information >Final Report 2 Fig 1. The wireshark capture window Then we start the Soft phone and dialed a toll free number (we dialed 001-800- 457-7777, the toll free number of Toshiba service center). As soon as the number Fig 3. Graph showing the Forward Jitter and the Reverse jitter in Empathy. is dialed we could see wireshark capturing the RTP (Real time protocol) packets. After about three to four minutes, we stopped the capturing process and started The graph in figure 3 shows the forward jitter in the call. Note that no green analyzing the packets in offline mode. spikes can be seen in the graph. Green spikes represent the reverse jitter. Since there was no answer from our side , there were no reverse jitter experienced. IV.RESULTS Hence there are no green spikes. A. Empathy The table in figure 2 gives us the detailed account of the SIP call made from Empathy. We can see that the jitter accounted for stable and is quite acceptable. Fig. 2 Table showing jitter, BW, skew during an EMPATHY VOIP CALL Packet Sequence Time Delta Jitter(ms) Skew( IP stamp (ms) ms) BW (Kbps ) 623 4477 448600 0 0 0 1.6 625 4478 448760 19.83 0.01 0.17 3.2 627 4479 448920 19.96 0.01 0.21 4.8 629 4480 449080 20 0.01 0.21 6.4 632 4481 449240 20.5 0.04 -0.28 8 633 4482 449400 19.79 0.05 -0.08 9.6 Fig4. The analyzed call spikes in Empathy. Figure 4 here represents the Call graph. Here only one channel seems to have the spikes. This is because only the operator on the other side of the phone talked. B. Twinkle We executed Twinkle SIP phone on the Open Suse 11.2 platform. The overall performance of the product was satisfactory. However the forward and the reverse jitter encountered were more than what we expected. The call clarity was perfect. Figure 5 shows the CALL FLOW of the entire process. >Final Report 3 Fig 5: The flow graph of the process Packet Sequen Time Delta Jitter(m Skew IP BW ce stamp (ms) s) (ms) (Kbps) 33 52496 37528723 0 0 0 0.58 92 36 52497 37528552 28.17 0.51 -8.17 1.17 39 52498 37528712 48.48 1.82 - 1.75 29.65 40 52499 37528872 8.33 2.44 - 2.34 17.98 43 52500 37528730 42.13 3.67 - 2.92 32 40.11 44 52501 37528731 0.17 4.68 - 3.5 92 20.28 46 52502 37528733 21.43 4.48 - 4.09 52 21.71 Fig 6: Table showing the jitter, BW and other packet flow related data for Twinkle Fig 7 Shows the wireshark packet capture window. Figure 6 shows the data related with the entire operation of the product. The relative average Jitter encountered was 11.08 ms. This was quite high as compared to other opensource soft phones like that of Empathy. However in totality this product functioned satisfactorily. C.Ekiga Ekiga was installed on UBUNTU 9.10 – JAUNTY BUILD – and just like in the previous cases we started wireshark prior to the initiation of the VOIP call. Once the call was in progress we collected the following data – Fig 8 – I/O Graph during the INITIATION of the VOIP CALL >Final Report 4 Packet Sequen Time stamp Delta Jitter(m Skew IP BW ce (ms) s) (ms) (Kbps) 607 25716 41369328 33.19 893.51 4389 153.09 31.75 608 25717 41453412 36.51 893.78 4398 159.5 29.5 609 25718 41537496 38.07 893.93 4407 159.74 25.69 610 25719 41621580 45.33 893.62 4416 159.04 14.62 611 25720 41705664 37.24 893.83 4425 159.87 11.66 612 25721 41789748 47.09 893.41 4433 158.99 98.81 613 25722 41873832 35.97 893.72 4442 165.84 97.12 Fig 11 – Table with jitter, BW, skew for the voip call on EKIGA. The obviously visible fact about the above table is the almost constant jitter. Since we know that Jitter is a variation of delay and hence a constant jitter will not hamper the performance of a voip call and here we see that EKIGA has almost constant jitter throughout the duration of the call , which is just one of the reasons why the call quality was excellent. E.BigBlueButton We first built a server for BigBlueButton on Ubuntu 9.04 – Jaunty Build. The steps that we followed for building the server – (all the steps were done in the terminal of Ubuntu 9.04) : 1. First we need to Check the internet connection Fig 9 – I/O graph well after ESTABLISHMENT of the VOIP CALL Command-> ping www.yahoo.com Then we checked the internet port connections Since the VOIP call was being established hence, we see in figure 9, very few Command -> ifconfig –a packets in the beginning causing a dip to almost zero packets per unit time, the reason being that ARP was mapping the IP address 192.168.113.2 to the MAC It showed the following on our terminal: address of the machine 00:50:56:f9:15:47 once this was completed it gradually settled down to a constant rate with the UDP successfully resolving source and listlab@list:~$ ifconfig -a destination ports.