The Road Not Taken: Re-thinking the Feasibility of Voice Calling Over Tor

Piyush Kumar Sharma 1 , Shashwat Chaudhary 2 , Nikhil Hassija 3 , Mukulika Maity 4 ,  and Sambuddho Chakravarty 5
  • 1 Indraprastha Institute of Information Technology (IIIT) Delhi, , India
  • 2 IIIT Delhi, , India
  • 3 IIIT Delhi, , India
  • 4 IIIT Delhi, , India
  • 5 IIIT Delhi, , India

Abstract

Anonymous VoIP calls over the Internet holds great significance for privacy-conscious users, whistle-blowers and political activists alike. Prior research deems popular anonymization systems like Tor unsuitable for providing the requisite performance guarantees that real-time applications like VoIP need. Their claims are backed by studies that may no longer be valid due to constant advancements in Tor. Moreover, we believe that these studies lacked the requisite diversity and comprehensiveness. Thus, conclusions from these studies, led them to propose novel and tailored solutions. However, no such system is available for immediate use. Additionally, operating such new systems would incur significant costs for recruiting users and volunteered relays, to provide the necessary anonymity guarantees.

It thus becomes an imperative that the exact performance of VoIP over Tor be quantified and analyzed, so that the potential performance bottlenecks can be amended. We thus conducted an extensive empirical study across various in-lab and real world scenarios to shed light on VoIP performance over Tor. In over half a million calls spanning 12 months, across seven countries and covering about 6650 Tor relays, we observed that Tor supports good voice quality (Perceptual Evaluation of Speech Quality (PESQ) >3 and one-way delay <400 ms) in more than 85% of cases. Further analysis indicates that in general for most Tor relays, the contentions due to cross-traffic were low enough to support VoIP calls, that are anyways transmitted at low rates (<120 Kbps). Our findings are supported by concordant measurements using iperf that show more than the adequate available bandwidth for most cases. Hence, unlike prior efforts, our research reveals that Tor is suitable for supporting anonymous VoIP calls.

If the inline PDF is not rendering correctly, you can download the PDF file here.

  • [1] Tor bridges - bridgedb. https://bridges.torproject.org/.

  • [2] Tor metrics. https://metrics.torproject.org/.

  • [3] Users guide for PRISM Skype collection, August 2012. https://www.spiegel.de/media/media-35530.pdf.

  • [4] NSA uses powerful toolbox in effort to spy on global networks, December 2013. https://www.spiegel.de/international/world/\the-nsa-uses-powerful-toolbox-ineffort-to-spy-on-global-networks-\a-940969.html.

  • [5] Cangialosi, F., Levin, D., and Spring, N. Ting: Measuring and exploiting latencies between all tor nodes. In Proceedings of the 2015 Internet Measurement Conference (2015), ACM, pp. 289–302.

  • [6] Chaum, D. L. Untraceable electronic mail, return addresses, and digital pseudonyms. Communications of the ACM 24, 2 (1981), 84–90.

  • [7] Danezis, G., Diaz, C., Troncoso, C., and Laurie, B. Drac : An architecture for anonymous low-volume communications. In International Symposium on Privacy Enhancing Technologies Symposium (2010), Springer, pp. 202–219.

  • [8] Dingledine, R., Mathewson, N., and Syverson, P. Tor: The second-generation onion router. Tech. rep., Naval Research Lab Washington DC, 2004.

  • [9] Dingledine, R., and Murdoch, S. J. Performance improvements on tor or, why tor is slow and what we’re going to do about it. Online: http://www.torproject.org/press/presskit/2009-03-11-performance.pdf (2009).

  • [10] Gerhard Rieger. socat, April 2009. http://www.destunreach.org/socat/.

  • [11] The Guardian. NSA collecting phone records of millions of Verizon customers daily, june 2013. https://www.theguardian.com/world/2013/jun/06/nsa-phonerecords-verizon-court-order.

  • [12] Handley, M., Jacobson, V., and Perkins, C. Sdp: session description protocol. Tech. rep., 2006.

  • [13] Heuser, S., Reaves, B., Pendyala, P. K., Carter, H., Dmitrienko, A., Enck, W., Kiyavash, N., Sadeghi, A.-R., and Traynor, P. Phonion: Practical protection of metadata in telephony networks. Proceedings on Privacy Enhancing Technologies 2017, 1 (2017), 170–187.

  • [14] Ilias, I. S. H. C., and Ibrahim, M. S. Performance analysis of audio video codecs over wi-fi/wimax network. In Proceedings of the 8th International Conference on Ubiquitous Information Management and Communication (2014), pp. 1–5.

  • [15] ITU-T, I. Recommendation g. 114. One-Way Transmission Time, Standard G 114 (2003).

  • [16] ITU-T, R., and Recommend, I. G. 114. One-way transmission time 18 (2000).

  • [17] Jansen, R. Onionperf : A utility to track Tor and onion service performance. The Tor Project, May 2015. https://onionperf.torproject.org/onionperf.html.

  • [18] Jansen, R., and Hopper, N. Shadow: Running tor in a box for accurate and efficient experimentation. Proceedings of Network and Distributed Systems Security (NDSS) 2012.

  • [19] Jansen, R., Vaidya, T., and Sherr, M. Point break: a study of bandwidth denial-of-service attacks against tor. In 28th USENIX Security Symposium (USENIX Security 19) (2019), pp. 1823–1840.

  • [20] Johnson, A., Jansen, R., Hopper, N., Segal, A., and Syverson, P. Peerflow: Secure load balancing in tor. Proceedings on Privacy Enhancing Technologies 2017, 2 (2017), 74–94.

  • [21] Katsigiannis, S., Scovell, J., Ramzan, N., Janowski, L., Corriveau, P., Saad, M. A., and Van Wallendael, G. Interpreting mos scores, when can users see a difference? understanding user experience differences for photo quality. Quality and User Experience 3, 1 (2018), 6.

  • [22] Le Blond, S., Choffnes, D., Caldwell, W., Druschel, P., and Merritt, N. Herd: A scalable, traffic analysis resistant anonymity network for voip systems. In ACM SIGCOMM Computer Communication Review (2015), vol. 45, ACM, pp. 639–652.

  • [23] Lightspeed gaming LLC. Mumble, March 2009. https://www.mumble.com/.

  • [24] Mani, A., Wilson-Brown, T., Jansen, R., Johnson, A., and Sherr, M. Understanding tor usage with privacypreserving measurement. In Proceedings of the Internet Measurement Conference 2018 (2018), pp. 175–187.

  • [25] Microsoft. Skype, August 2003. https://skype.com/.

  • [26] The Mplayer Project. Mplayer, January 2000. http://www.mplayerhq.hu/design7/news.html.

  • [27] OpenVPN INC. OpenVPN, November 2006. https://www.openvpn.net/.

  • [28] Panchenko, A., Pimenidis, L., and Renner, J. Performance analysis of anonymous communication channels provided by tor. In 2008 Third International Conference on Availability, Reliability and Security (2008), IEEE, pp. 221–228.

  • [29] Perry, M. Torflow: Tor network analysis. Proc. 2nd Hot- PETs (2009), 1–14.

  • [30] Pfitzmann, A., Pfitzmann, B., and Waidner, M. Isdnmixes: Untraceable communication with very small bandwidth overhead. In Kommunikation in verteilten Systemen (1991), Springer, pp. 451–463.

  • [31] PJSIP. pjsua. https://www.pjsip.org/pjsua.htm.

  • [32] Pulseaudio. pactl, June 2011. https://linux.die.net/man/1/pactl.

  • [33] Rec, I. P. 830: Subjective performance assessment of digital telephone-band and wideband digital codecs. International Telecommunication Union, Geneva (Switzerland) (1996).

  • [34] Rec, I. P. 862.3: Application guide for objective quality measurement based on recommendations p. 862, p. 862.1 and p. 862.2. International Telecommunication Union, Geneva (2005).

  • [35] Rix, A. W., Beerends, J. G., Hollier, M. P., and Hekstra, A. P. Perceptual evaluation of speech quality (pesq)-a new method for speech quality assessment of telephone networks and codecs. In Acoustics, Speech, and Signal Processing, 2001. Proceedings.(ICASSP’01). 2001 IEEE International Conference on (2001), vol. 2, IEEE, pp. 749–752.

  • [36] Rizal, M. A Study of VoIP performance in anonymous network-The onion routing (Tor). PhD thesis.

  • [37] Rosenberg, J., Schulzrinne, H., Camarillo, G., Johnston, A., Peterson, J., Sparks, R., Handley, M., and Schooler, E. Sip: session initiation protocol. Tech. rep., 2002.

  • [38] Schatz, D., Rossberg, M., and Schaefer, G. Reducing call blocking rates for anonymous voice over ip communications. In Ultra Modern Telecommunications and Control Systems and Workshops (ICUMT), 2017 9th International Congress on (2017), IEEE, pp. 382–390.

  • [39] Schulzrinne, H., Casner, S., Frederick, R., and Jacobson, V. Rtp: A transport protocol for real-time applications. Tech. rep., 2003.

  • [40] SignalWire. Freeswitch, January 2006. https://freeswitch.com/.

  • [41] Snader, R., and Borisov, N. Eigenspeed: secure peer-to-peer bandwidth evaluation. In Proceedings of the 8th international conference on Peer-to-peer systems (2009), USENIX Association.

  • [42] Snader, R., and Borisov, N. Improving security and performance in the tor network through tunable path selection. IEEE Transactions on Dependable and Secure Computing 8, 5 (2010), 728–741.

  • [43] Telegram. libtgvoip, February 2017. https://github.com/grishka/libtgvoip.

  • [44] Telegram. pyrogram, January 2018. https://github.com/pyrogram/pyrogram.

  • [45] Telegram Messenger LLP. Telegram, August 2013. https://telegram.com/.

  • [46] Tor dev team. Torocks, December 2000. https://linux.die.net/man/8/torsocks.

  • [47] The Tor Project. Tor Bridges. https://2019.www.torproject.org/docs/bridges.html.en.

  • [48] The Tor Project. The Tor Metrics Project, January 2009. https://metrics.torproject.org/.

  • [49] The Tor Project. Chutney., February 2011. https://github.com/torproject/chutney.

  • [50] Tor Project. Stem, March 2013. https://stem.torproject.org/.

  • [51] Tor Project. Torfone, April 2013. http://torfone.org.

  • [52] The Tor Project. Simple Bandwidth Scanner., March 2018. https://github.com/torproject/sbws.

  • [53] Winter, P., Ensafi, R., Loesing, K., and Feamster, N. Identifying and characterizing sybils in the tor network. In 25th USENIX Security Symposium (USENIX Security 16) (2016), pp. 1169–1185.

OPEN ACCESS

Journal + Issues

Search