BitTorrent Basics

Astro <astro@spaceboyz.net>

Datenspuren 2012

2012-10-14

Agenda

Geschichte

Zur Bedeutung, eigentliche Motivation, deshalb damit beschäftigen

BitTorrent Still Dominates Global Internet Traffic

A new Internet traffic trends report released by the Canadian broadband management company Sandvine reveals that global P2P traffic is expanding, with BitTorrent as the key player!. In North America, more than half of all upstream! traffic (53.3%) on an average day can be attributed to P2P. The report further signals some really interesting regional differences in P2P use, such as the dominance of Ares in Latin America.

http://torrentfreak.com/bittorrent-still-dominates-global-internet-traffic-101026/

Werbung

Wie funktioniert das eigentlich?

Daten bleiben unten, Gegensatz zu HTTP/Fileserver/Sharehoster

Unmittelbare Kommunikation, deshalb IP-Addressen sichtbar

Skalierbarkeit

Initial Seeder: Torrent tot sobald ein Stück bei keinem Peer ist

Ratio > 2

Bencoding

d8:announce39:http://tracker.publicbt.com:80/announce13:announce-listll39:http://tracker.publicbt.com:80/announceel45:http://tracker.openbittorrent.com:80/announceel38:udp://tracker.publicbt.com:80/announceel44:udp://tracker.openbittorrent.com:80/announceel42:http://tracker.torrentbay.to:6969/announceel39:http://tracker.torrent.to:2710/announceel35:http://tracker.zond.org:80/announceel36:http://exodus.desync.com:80/announceel37:http://fr33dom.h33t.com:3310/announceel35:udp://tracker.1337x.org:80/announceel31:http://cpleft.com:2710/announceel43:http://tracker.torrentbox.com:2710/announceee7:comment50:SXSW 2012 Showcasing Artists (Unofficial) - Part 113:creation datei1329452716ee
  

.torrent Metainfo Files

Trackers

Tracker Request

Client an Server:

Statistiken fälschbar

Key

Tracker Response

Server an Client:

DDoS Potential

UDP Trackers

TCP besser throttlebar, aber UDP lohnt bei Verkehr mit vielen

PEX: Peer Exchange

Tracker trotzdem benötigt wegen 1. Peer

DHT: Distributed Hash Table

Tracker Exchange

Peer IDs

Wire Protocol: Handshake

Für DDoS gegen HTTP

Wire Protocol: Messages

http://en.wikipedia.org/wiki/BitTorrent

uTP: µTorrent Protocol

http://blog.bittorrent.com/2009/11/02/visualizing-%C2%B5tp/

Magnet Links

magnet:?xt=urn:btih:41e5a43777cc554ce9b17f0731558ecdb198a418
&dn=pentaradio-rapnroll-2009-09-22&tr=udp%3A%2F%2Ftracker.op
enbittorrent.com%3A80&tr=udp%3A%2F%2Ftracker.publicbt.com%3A
80&tr=udp%3A%2F%2Ftracker.istole.it%3A6969&tr=udp%3A%2F%2Ftr
acker.ccc.de%3A80

BitTorrent Protocol Encryption

Direkte Erreichbarkeit bei P2P

Nach Start sind nur erreichbare Peers nützliche Peers

Später nicht-erreichbare Peers incoming, wenn selbst erreichbar

Erreichbar sein heißt...

Internet-Traffic über VPN-Provider

Zusicherung der Anbieter, sicher durch Ausland

Anonyme Bezahlung?

Internet-Traffic über VPN-Provider

Wait, what?

Lieber nur Torrent-Traffic, Isolation bspw. über Virtualisierung

Resümee