user_image

Rob G. Jansen, PhD

Computer Scientist, Researcher, and Principal Investigator
U.S. Naval Research Laboratory, Washington, DC, USA

Publication Details

  1. Citation

    Rob Jansen, John Geddes, Chris Wacek, Micah Sherr, and Paul Syverson:
    Never Been KIST: Tor’s Congestion Management Blossoms with Kernel-Informed Socket Transport. USENIX Security Symposium, 2014. See associated journal paper and case study report.

    Author Links

    Venue Links

    Transitions

    Our work includes improvements that were merged into Shadow v1.9.2
    Our work influenced deployed changes to Tor’s queuing system

    Abstract

    Tor’s growing popularity and user diversity has resulted in network performance problems that are not well understood. A large body of work has attempted to solve these problems without a complete understanding of where congestion occurs in Tor. In this paper, we first study congestion in Tor at individual relays as well as along the entire end-to-end Tor path and find that congestion occurs almost exclusively in egress kernel socket buffers. We then analyze Tor’s socket interactions and discover two major issues affecting congestion: Tor writes sockets sequentially, and Tor writes as much as possible to each socket. We thus design, implement, and test KIST: a new socket management algorithm that uses real-time kernel information to dynamically compute the amount to write to each socket while considering all writable circuits when scheduling new cells. We find that, in the medians, KIST reduces circuit congestion by over 30 percent, reduces network latency by 18 percent, and increases network throughput by nearly 10 percent. We analyze the security of KIST and find an acceptable performance and security trade-off, as it does not significantly affect the outcome of well-known latency and throughput attacks. While our focus is Tor, our techniques and observations should help analyze and improve overlay and application performance, both for security applications and in general.

    Bibtex

    @inproceedings{kist-sec2014,
      title = {Never Been KIST: Tor's Congestion Management Blossoms with Kernel-Informed Socket Transport},
      author = {Jansen, Rob and Geddes, John and Wacek, Chris and Sherr, Micah and Syverson, Paul},
      booktitle = {USENIX Security Symposium},
      year = {2014},
    }