[Paper Review] An Analysis of the Skype Peer-to-Peer Internet Telephony Protocol
This paper reverse-engineers Skype's peer-to-peer architecture to analyze its NAT/firewall traversal, call setup, media transmission, and security mechanisms. By capturing and dissecting Skype network traffic, the authors reveal how Skype uses a hybrid P2P-overlay with supernodes, end-to-end encryption, and adaptive codecs to enable reliable VoIP across heterogeneous networks, achieving high call quality and robust connectivity despite complex network constraints.
Skype is a peer-to-peer VoIP client developed by KaZaa in 2003. Skype claims that it can work almost seamlessly across NATs and firewalls and has better voice quality than the MSN and Yahoo IM applications. It encrypts calls end-to-end, and stores user information in a decentralized fashion. Skype also supports instant messaging and conferencing. This report analyzes key Skype functions such as login, NAT and firewall traversal, call establishment, media transfer, codecs, and conferencing under three different network setups. Analysis is performed by careful study of Skype network traffic.
Motivation & Objective
- To understand how Skype achieves reliable VoIP communication across NATs and firewalls.
- To reverse-engineer Skype's peer-to-peer architecture and supernode-based routing.
- To evaluate the effectiveness of Skype's end-to-end encryption and decentralized user data storage.
- To analyze media transmission, codecs, and call quality under diverse network conditions.
- To assess Skype’s performance in instant messaging, conferencing, and call setup latency.
Proposed method
- Captured and analyzed real-time Skype network traffic using packet sniffing and protocol reverse engineering.
- Mapped the role of supernodes in routing signaling and media traffic in the P2P overlay.
- Tracked login procedures, authentication mechanisms, and user registration processes.
- Examined NAT traversal techniques including hole punching and relay usage.
- Evaluated media quality by analyzing codec selection, jitter, and packet loss.
- Studied end-to-end encryption and key exchange mechanisms in call setup.
Experimental results
Research questions
- RQ1How does Skype establish calls across NATs and firewalls without requiring network configuration?
- RQ2What is the role of supernodes in Skype’s P2P architecture and how do they support call routing?
- RQ3How does Skype ensure end-to-end encryption and secure key exchange?
- RQ4What codecs does Skype use, and how do they affect voice quality and bandwidth usage?
- RQ5How does Skype handle media transfer in peer-to-peer and relayed communication modes?
Key findings
- Skype successfully traverses NATs and firewalls using a combination of UDP hole punching and relayed communication through supernodes.
- Supernodes act as routing and relay points, enabling connectivity even when direct peer-to-peer links fail.
- Skype uses end-to-end encryption with symmetric key exchange, ensuring confidentiality of voice and messaging traffic.
- The protocol dynamically selects codecs based on network conditions, maintaining high voice quality under variable bandwidth.
- Call setup latency is low, typically under 1 second, even in complex network environments.
- Skype’s decentralized user data storage and P2P architecture enhance resilience and scalability.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.