Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Understanding the Bittorrent Protocol

I am looking for some books, tutorial sites .

I want to understand how Bittorrent protocol works and later to implement my own tracker .

I don't have a big knowledge in network protocols so I am looking for a newbie stuff .

Have seen following posts but they didn't helped me with my issue :

A BitTorrent client completely written in C#?

Implementing Bittorrent Protocol

Looking for some good books/resources on understanding Bittorrent?

Thanks for help .

like image 951
Night Walker Avatar asked Dec 24 '09 10:12

Night Walker


People also ask

How does BitTorrent protocol work?

BitTorrent is a peer-to-peer protocol, which means that the computers in a BitTorrent “swarm” (a group of computers downloading and uploading the same torrent) transfer data between each other without the need for a central server. Traditionally, a computer joins a BitTorrent swarm by loading a .

Is BitTorrent a protocol?

BitTorrent is an internet transfer protocol. Much like http (hypertext transfer protocol) and ftp (file transfer protocol), BitTorrent is a way to download files from the internet. However, unlike http and ftp, BitTorrent is a distributed transfer protocol.

Which blockchain is BitTorrent based on?

While BitTorrent's file transactions are facilitated by its software, the network relies on the Tron blockchain to maintain a record of all BTT transactions.

What companies use BitTorrent protocol?

BitTorrent provides 2 products, bit torrent software and Utorrent which provides users to efficiently share, download, and transfer large files over the internet. Many companies, e.g. Facebook, Twitter, Wikipedia, and Blizzard, leverage the BitTorrent protocol.


2 Answers

The BitTorrent specification is quite easy reading (relatively speaking):

http://www.bittorrent.org/beps/bep_0003.html

The wikipedia page is also surprisingly comprehensive:

http://en.wikipedia.org/wiki/BitTorrent_%28protocol%29

like image 199
skaffman Avatar answered Oct 04 '22 12:10

skaffman


BitTornado has a tracker implementation and it's written in Python, which is easy to read. It's nice to start from something working and then you can try to understand the code based on the protocol. BitTornado is based on original version that Bram Cohen implemented. Tracker is implemented in BitTornado.BT1.track.py

like image 31
goododd Avatar answered Oct 04 '22 11:10

goododd