720 likes | 820 Views
Secure Decentralized Swarm Discovery in Tribler. Jelle Roozenburg. M.Sc. thesis presentation 17th November 2006 Parallel and Distributed Systems Group. Contents. Peer-to-peer File Sharing Swarm Discovery Little Bird Protocol Evaluation Conclusions and Recommendations.
E N D
Secure Decentralized Swarm Discovery in Tribler Jelle Roozenburg M.Sc. thesis presentation 17th November 2006 Parallel and Distributed Systems Group
Contents • Peer-to-peer File Sharing • Swarm Discovery • Little Bird Protocol • Evaluation • Conclusions and Recommendations
1. Peer-to-peer File Sharing Peer-to-peer | Swarm discovery | Little bird protocol | Evaluation | Conclusions
Peer-to-peer File Sharing Peer-to-peer | Swarm discovery | Little bird protocol | Evaluation | Conclusions
Client-Server Peer-to-peer | Swarm discovery | Little bird protocol | Evaluation | Conclusions
Client-Server Peer-to-peer | Swarm discovery | Little bird protocol | Evaluation | Conclusions
Client-Server • Not scalable • Not reliable Peer-to-peer | Swarm discovery | Little bird protocol | Evaluation | Conclusions
Peer-to-peer Peer-to-peer | Swarm discovery | Little bird protocol | Evaluation | Conclusions
BitTorrent Peer-to-peer | Swarm discovery | Little bird protocol | Evaluation | Conclusions
BitTorrent Peer-to-peer | Swarm discovery | Little bird protocol | Evaluation | Conclusions
BitTorrent Peer-to-peer | Swarm discovery | Little bird protocol | Evaluation | Conclusions
BitTorrent Peer-to-peer | Swarm discovery | Little bird protocol | Evaluation | Conclusions
BitTorrent Peer-to-peer | Swarm discovery | Little bird protocol | Evaluation | Conclusions
BitTorrent Peer-to-peer | Swarm discovery | Little bird protocol | Evaluation | Conclusions
BitTorrent • Scalable • Reliable Peer-to-peer | Swarm discovery | Little bird protocol | Evaluation | Conclusions
Tribler: Social-based BitTorrent • Social network • Streaming media Peer-to-peer | Swarm discovery | Little bird protocol | Evaluation | Conclusions
Wouter’s favorites Jan-Peter’s favorites Mozart.mp3 Mozart.mp3 Zwartboek.avi Beethoven.mp3 Simpsons.avi Bach.mp3 BuddyCast Recommendation • Exchange preference lists • Recommend Beethoven.mp3 to Jan-Peter • Used later in my protocol Similar taste Peer-to-peer | Swarm discovery | Little bird protocol | Evaluation | Conclusions
2. Swarm Discovery Peer-to-peer | Swarm discovery | Little bird protocol | Evaluation | Conclusions
Mozart.mp3 BitTorrent Swarm Swarm Peer-to-peer | Swarm discovery | Little bird protocol | Evaluation | Conclusions
Mozart.mp3 Zwartboek.avi Simpsons.avi Bach.mp3 Beethoven.mp3 BitTorrent Swarm Peer-to-peer | Swarm discovery | Little bird protocol | Evaluation | Conclusions
Swarm Discovery How to find the peers in a particular swarm? ? Peer-to-peer | Swarm discovery | Little bird protocol | Evaluation | Conclusions
Swarm Discovery Without swarm discovery, no download ! ? Peer-to-peer | Swarm discovery | Little bird protocol | Evaluation | Conclusions
Central Tracker Peer-to-peer | Swarm discovery | Little bird protocol | Evaluation | Conclusions
Central Tracker Peer-to-peer | Swarm discovery | Little bird protocol | Evaluation | Conclusions
Central Tracker • Not scalable • Not reliable Peer-to-peer | Swarm discovery | Little bird protocol | Evaluation | Conclusions
Mozart.mp3 Zwartboek.avi Simpsons.avi Distributed Hash Table Peer-to-peer | Swarm discovery | Little bird protocol | Evaluation | Conclusions
5 11 23 99 Mozart.mp3 21 21 21 21 Distributed Hash Table Mozart.mp3 members Peer-to-peer | Swarm discovery | Little bird protocol | Evaluation | Conclusions
5 11 23 99 21 21 Distributed Hash Table • Problems: • No relation: content responsible peer • No incentives to cooperate • No load balancing • No security Mozart.mp3 members Peer-to-peer | Swarm discovery | Little bird protocol | Evaluation | Conclusions
Design Requirements • Requirements for our swarm discovery: • Effective: high swarm coverage • Scalable • Incentives to cooperate • Secure against misuse Peer-to-peer | Swarm discovery | Little bird protocol | Evaluation | Conclusions
4. Little Bird Protocol Gossip:A little bird told me… Peer-to-peer | Swarm discovery | Little bird protocol | Evaluation | Conclusions
? Little Bird Protocol • Two steps: • Bootstrapping: find initial peers • Discover rest of swarm: gossip Peer-to-peer | Swarm discovery | Little bird protocol | Evaluation | Conclusions
Request Peerlist Swarm ID Already known peers Requester peer Responder peer New peer1 New peer2 New peer3 … Communication Peer-to-peer | Swarm discovery | Little bird protocol | Evaluation | Conclusions
Wouter’s favorites Jan-Peter’s favorites Mozart.mp3 Mozart.mp3 Zwartboek.avi Beethoven.mp3 Simpsons.avi Bach.mp3 Bootstrapping • Find initial peer(s) in the swarm Mozart.mp3 Both peers are/were recently active in swarm of Mozart.mp3 Peer-to-peer | Swarm discovery | Little bird protocol | Evaluation | Conclusions
Bootstrapping • After leaving swarm: cache swarm information • Measurements: double availability ? request Swarm database peerlist Peer addresses Peer-to-peer | Swarm discovery | Little bird protocol | Evaluation | Conclusions
! Gossip • Scalable • Robust Peer-to-peer | Swarm discovery | Little bird protocol | Evaluation | Conclusions
! ! ! Gossip Peer-to-peer | Swarm discovery | Little bird protocol | Evaluation | Conclusions
! ! ! ! ! ! ! ! Gossip Peer-to-peer | Swarm discovery | Little bird protocol | Evaluation | Conclusions
! ! ! ! ! ! ! ! ! ! ! Gossip Peer-to-peer | Swarm discovery | Little bird protocol | Evaluation | Conclusions
! ! ! request request request request request request request Gossipping Protocol • Additional security No forwarding • Load balancing Peer-to-peer | Swarm discovery | Little bird protocol | Evaluation | Conclusions
Little Bird Contribution • Distinguish good from bad peers High contribution Low contribution Peer-to-peer | Swarm discovery | Little bird protocol | Evaluation | Conclusions
Peerlist Peer1 Peer2 ? Kb/s request reply Contribution Indicators • Connectivity • Bartering activity • Swarm discovery activity • Swarm discovery quality Contribution Peer-to-peer | Swarm discovery | Little bird protocol | Evaluation | Conclusions
Incentives • Contribution creates incentives for • BitTorrent High upload many connects • Little bird Give good peerlists many connects Peer-to-peer | Swarm discovery | Little bird protocol | Evaluation | Conclusions
Wouter Peerlist Wouter Jan-Peter Mark Security • Check before you tell : only forward existing peers • Contribution: Attackers score lower • Fewer requests, bartering, not forwarded Peerlist Wouter Peer-to-peer | Swarm discovery | Little bird protocol | Evaluation | Conclusions
5. Evaluation Peer-to-peer | Swarm discovery | Little bird protocol | Evaluation | Conclusions
Evaluation • Bootstrapping • General performance • Swarm coverage: part of swarm peer knows • Bandwidth • Attack resilience Peer-to-peer | Swarm discovery | Little bird protocol | Evaluation | Conclusions
trackerless Bootstrap Evaluation • Decentralized publishing and swarm discovery • Small scale experiment • Publish • Join • Download • Successful Little bird+BuddyCast Peer-to-peer | Swarm discovery | Little bird protocol | Evaluation | Conclusions
DAS-2 Supercomputer Node 1 Node 2 Node 3 … Realistic Emulation on DAS-2 Tribler Tribler Tribler Tribler Tribler Tribler Tribler Tribler Tribler Tribler • CROWDED • Swarm >300 Tribler applications Peer-to-peer | Swarm discovery | Little bird protocol | Evaluation | Conclusions
Swarm Coverage Peer-to-peer | Swarm discovery | Little bird protocol | Evaluation | Conclusions
Swarm Coverage Individual Peer Peer-to-peer | Swarm discovery | Little bird protocol | Evaluation | Conclusions
Swarm Coverage Individual Peer Peer-to-peer | Swarm discovery | Little bird protocol | Evaluation | Conclusions