BitTorrent
File:BitTorrent.Logo.png BitTorrent Logo | |
Developer(s) | Bram Cohen |
---|---|
Stable release | |
Operating system | Cross-platform |
Type | peer to peer |
License | BitTorrent open source License |
Website | www.bittorrent.com |
BitTorrent is a peer-to-peer (P2P) file distribution tool written by programmer Bram Cohen and debuted at CodeCon 2002. The reference implementation is written in Python and is released under the BitTorrent Open Source License (a modified version of the Jabber Open Source License), as of version 4.0. The name "BitTorrent" refers to the distribution protocol, the original client application, and the .torrent
file type.
With BitTorrent, files are broken into smaller fragments, typically a quarter of a megabyte each. As the fragments are distributed to the peers in a random order, they can be reassembled on a requesting machine. Each peer takes advantage of the best connections to the missing pieces while providing an upload connection to the pieces it already has. This scheme has proven particularly adept in trading large files such as videos and software source code. In conventional downloading, high demand leads to bottlenecks as demand surges for bandwidth from the host server. With BitTorrent, high demand can actually speed throughput as more bandwidth and additional “seeds” of the completed file become available to the group. Cohen claims that for very popular files, BitTorrent can support about a thousand times as many downloads as HTTP.
Sharing files

To share a file using BitTorrent, a user creates a .torrent
file, a small "pointer" file that contains:
- the filename, size, and the hash of each block in the file (which allows users to make sure they are downloading the real thing)
- the address of a "tracker" server (which is discussed below)
- and some other data.
The torrent file can then be distributed to other users, often via email or placed on a website. The BitTorrent client is then started as a "seed node", allowing other users to connect and commence downloading. When other users finish downloading the entire file, they can optionally "reseed" it--becoming an additional source for the file. One outcome of this approach is that if all seeds are taken offline, the file may no longer be available for download, even if the torrent file is possessed. However, even if there are no seeds, as long as there is at least one distributed copy of the file everyone can eventually get the complete file.
Downloading with BitTorrent is straightforward. Each person who wants to download the file first downloads the torrent and opens it in the BitTorrent client software. The torrent file tells the client the address of the tracker, which, in turn, maintains a log of which users are downloading the file and where the file and its fragments reside. For each available source, the client considers which blocks of the file are available and then requests the rarest block it does not yet have. This makes it more likely that peers will have blocks to exchange. As soon as the client finishes importing a block, it hashes it to make sure that the block matches what the torrent file said it should be. Then it begins looking for someone to upload the block to.
BitTorrent gives the best download performance to the people who upload the most, a property known as "leech resistance", since it discourages "leeches" from trying to download the file without uploading it to anyone. (Although, confusingly, when used in opposition to "seeds" or "seeders" as in "S/L ratio" (meaning "seed/leech ratio"), "leecher" only means someone who hasn't downloaded the full file yet.)
Though BitTorrent is a good protocol for a broadband user, it is less effective for dial up connections, where disconnections are common.
BitTorrent Basics
torrent
A torrent can mean either a .torrent meta data file or all files described by it, depending on context.
.torrent file
The .torrent file contains meta data about shared files. It contains names of files, their sizes and check sums of all blocks in the torrent. It also holds the address of a tracker that hosts the torrent.
peer
A peer is one instance of a BitTorrent client running on a computer on the Internet that you connect to and transfer data. Usually a peer does not have the complete file, but only parts of it.
seed
A seed is a peer that has a complete copy of the torrent and still offers it for upload. The more seeds there are, the better the chances are for completion of the file.
leech
A leech is a peer that does not have a complete copy of the torrent yet. When downloading is complete, it may stay around and seed the file as a seed so that others can complete their download. The term leech is also used for peers that have very poor upload/download ratios or leave the swarm immediately after their downloads are complete. (See Etiquette.) The leeches usually contribute a majority of the bandwidth in a swarm.
swarm
Together, all peers sharing a torrent are called a swarm. Six leeches and one seed makes a swarm of seven.
tracker
A tracker is a broker service that mediates contacts between peers. The tracker is not directly involved in the data transfer and does not have a copy of the file.
Comparison to other file sharing systems
The method used by BitTorrent to distribute files parallels to a large extent the one used by the eDonkey2000 network, but nodes in eDonkey's file sharing network usually share and download a much larger number of files, making the bandwidth available to each transfer much smaller. BitTorrent transfers are typically very fast, because all nodes in a group concentrate on transferring a single file or collection of files. While the original eDonkey2000 client provided little "leech resistance", most new clients have some sort of system to encourage uploaders. eMule, for example, has a credits system whereby a client stores the amount of data it has uploaded and downloaded from every client and gives clients that have not uploaded to it a higher priority in the queue. However, the nature of the eDonkey2000 concept means download speeds tend to be much more variable, although the number of available files is far greater.
A similar method to BitTorrent was the Participation Level introduced in KaZaA in 2002. The Participation Level would increase when you upload and decrease when you download. Then when you upload a file to someone else the person with the highest Participation Level gets it first, then they upload it on to the person with the next highest Participation Level, and so on. This can be visualised as a pyramid, with the people who have the most upload bandwidth available at the top and people with less bandwidth on progressively lower levels. This is the most efficient way to distribute a file to a large number of users: it is probable that even the people at the bottom of the pyramid will get the file faster than if the file was served by a non-P2P method. Unfortunately, the system adopted by KaZaA is considered by some to be flawed as it relies on the client accurately reporting their Participation Level and therefore it is easy to cheat with the many "unofficial" clients.
Legal issues
See main articles, occasions in which computer software was used to infringe copyright.
BitTorrent, like any other computer tool capable of copying files, can be used to copy files without the permission of the copyright holder. Indeed, some might say that BitTorrent has become famous for its ability to do just that.
Copyright enforcement
In December 2004, the Finnish police raided a major BitTorrent site. [1]. The court handling will take place later this year.
Suprnova, one of the most popular BitTorrent sites, closed in December 2004, supposedly due to the pressure felt by the founder and administrator of the site. LokiTorrent, arguably the biggest torrent source after the demise of Suprnova, closed down soon after. Allegedly, after threats from the MPAA, Webber, webmaster of the site, agreed to pay a fine and supply the MPAA with logs (the IP addresses of visitors).
Interestingly, Webber (known as "lowkee"), in the weeks following his reception of the subpoena, had begun a fundraising campaign to pay lawyers fees in a legal battle against the MPAA. In news reports, Webber said he would stand up to protect the rights of file sharers, which he did not. Webber raised approximately $45,000 (USD) through a PayPal-based donation system. It is unclear how much of that money went to the MPAA. Following the agreement, the MPAA changed the LokiTorrent website to display a message intended to intimidate filesharers. Webber did not comment on this change.
Legal defenses
There are two major differences between BitTorrent and many other peer-to-peer file-trading systems, which advocates suggest make it less useful to copyright violators. First, BitTorrent does not offer a search facility to find files by name. A user must find the initial torrent file by other means, such as a Web search. Second, BitTorrent makes no attempt to conceal the host ultimately responsible for a given file's availability: a person who wishes to make a file available must run a tracker on a specific host or hosts and distribute the tracker address(es) in the .torrent file. While it is possible to simply operate a tracker on a server that is located where the copyright holder cannot take legal action, this feature of the protocol does imply some degree of accountability that other protocols lack. It is far easier to request that the server's internet service provider shut the site down than it is to find and identify every user sharing a file on a traditional peer-to-peer network.
Legal uses for BitTorrent
BitTorrent can be used by software developers who want to ease the bandwidth strain on their servers. If a developer offers a large file for download, the bandwidth limit of their server may be exceeded if a large number of people download the file. By offering the file via BitTorrent, they transfer much of the bandwidth burden to downloaders of the file. For example, the demo of the flight sim X-Plane is offered via BitTorrent, as well as the World of Warcraft beta and its patches. Another such example is PlaneShift, a free open-source MMORPG, which uses BitTorrent for its primary method of distribution. The fan-film Star Wars: Revelations is distributing two DVD images as well as the film by itself via BitTorrent. The NetBSD operating system version 1.6.2 and later as well as most major Linux distributions use BitTorrent as an alternative way of distributing ISO images of their releases.
Following the success of the BitTorrent protocol, Bram Cohen, its creator, was hired in 2004 by Valve Software to develop a means of distributing patches and other content for online video games, proving that there are some less controversial reasons for the development of this technology. While many legal files, including Linux distributions, are available on other networks such as eDonkey2000 and Gnutella these are placed there by users and not generally part of the official distribution mechanism. So far, BitTorrent seems to be the most popular P2P protocol adopted officially for legal uses.
Etiquette
Because BitTorrent relies on the upstream bandwidth of its users — and the more users, the more aggregate bandwidth is available for sharing the files — it is considered good etiquette to leave one's BitTorrent client open after downloading has completed so that others may continue to gain from the file that has been distributed.
It is not clear, however, how long one should leave their client open after downloading has finished. Many clients report the byte traffic upstream as well as down, so the user can see how much they have contributed back to the network. Some clients also report the "share ratio", a number relating the amount of data uploaded to the amount downloaded. It is generally considered good form to at least share back the equivalent amount of traffic as the original file size.
It is worth noting that the requirement of a "1.00" share ratio (uploading as much data as you have downloaded) is rather hotly contested given its relative impossibility to achieve for every person. On any given torrent, the best possible outcome is the original seeder with an infinite ratio (having only uploaded data and never downloaded any data), a number of peers with 1.00 ratios (having downloaded the file, uploaded just as much data, and then promptly logged off), and two users with a .50 ratio (the last two having each downloaded a separate half of the file and then shared their half with the other). This is highly unlikely to be achieved due to the very small chance of the last two peers downloading completely opposite halves and finishing just as the last seeder logged off and the fact that not all people will upload the same amount of data they downloaded as some will upload less and others will upload more. Additionally, this means that those who give back more data than they downloaded are hurting everyone else and since most torrents rely on users uploading more than they have downloaded to counteract users who logged off too early discouraging them from uploading is usually a bad idea. Ultimately, a perfect torrent would leave two end users with only a .50 ratio for the torrent, which means every user would have to provide new content at least equal to the portion of data they did not get to upload in the last torrent to maintain an overall ratio of 1.00.
While a 1.00 ratio per torrent is not feasible as a rule for all users who download that file, it is more of a guideline to encourage the average upstream of a given network. One network, for example, only allows access to torrents for the first 24-48 hours to people who have an overall ratio of 1.00.
The amount of time the client is left open may be more important than the amount of traffic contributed, since new users attempting to download a file will first need to find peers hosting the file.
Many advanced trackers now track stats such as how many seeders and downloaders were on a torrent at the time of a user's disconnect as many consider this information more important than just the user's ratio of downloaded/uploaded.
New developments
The BitTorrent protocol is still under development and therefore may still acquire new features and other enhancements such as improved efficiency.
In May 2005, on the same day the elitetorrents.org, a tracker website, was shut down, Bram Cohen eliminated the need for Web site hosting of centralized servers known as "trackers" in the latest beta version of BitTorrent. It is now possible to have a torrent up in minutes, with a file, a website, and no understanding of how it works. In addition, Cohen launched a new service on BitTorrent's website, which helps you find files - both legal and illegal.
Cohen explained that the tracker removal feature is part of his ongoing effort to make publishing files online "painless and disruptively cheap." The move is only one of several designed to remove BitTorrent's dependence on centralized trackers.
This change is said to cause some trouble in the legal efforts to shut down illegal file sharing. However, Tarun Sawney, BSA Asia antipiracy director, said BitTorrent files could still be identified, since with or without the tracker sites, someone still hosts the infringing files (Renai LeMay, "BitTorrent enemies face new hurdle", Cnet News.com (May 20, 2005), at: http://news.com.com/BitTorrent+enemies+face+new+hurdle/2100-1032_3-5715093.html) (The Guardian, "May the source be with you", (June 2, 2005), at: http://www.guardian.co.uk/online/story/0,3605,1496722,00.html).
Alternative approaches
The BitTorrent protocol provides no way to index torrent files. As a result, a comparatively small number of websites have hosted the large majority of copyright infringing torrents, rendering those sites especially vulnerable to lawsuits. In response, some developers have sought ways to make publishing of files more anonymous while still retaining BitTorrent's speed advantage. The Shareaza client, for example, provides three alternatives to BitTorrent: eDonkey2000, Gnutella, and Shareaza's native network, Gnutella2. BitTorrent also inspired the privately held company InmateMediaGroup: eXeem. It is backed by Andrej Preston, the administrator of the now defunct Suprnova BitTorrent website. eXeem is supposed to decentralize BitTorrent and eliminate the need for web-based trackers (easy targets for the RIAA or the MPAA). Unlike BitTorrent (the protocol and the official client), eXeem is closed-source and owned by a corporation. Distributed trackers is also one of the goals for Azureus 2.3.0.2 and BitTorrent 4.1.2. Another interesting idea that has surfaced recently in Azureus is virtual torrent. This idea is based on the distributed tracker approach and is used to describe some web resource. Right now, it is used for instant messaging. It is implemented using a special messaging protocol and requires an appropriate plugin.
BitTorrent search / Trackerless
A new BitTorrent online search was recently implemented (Betanews article). One can search content provided by BT. A new beta "trackerless" client was also released. This eliminates the need for a tracker.
Web seeding (unofficial feature)
One recently implemented feature of BitTorrent is web seeding. The advantage of this feature is that a site may distribute a torrent for a particular file or batch of files and make those files available for download from that same web server application; this can simplify seeding and load balancing greatly once support for this feature is implemented in the various BitTorrent clients. In theory, this would make using BitTorrent almost as easy for a web publisher as simply creating a direct download while allowing some of the upload bandwidth demands to be placed upon the downloaders (who normally use only a very small portion of their upload bandwidth capacity). This feature is an unofficial one, created by the author of a specific third-party client.
Broadcatching
Another proposed feature combines RSS and BitTorrent to create a content delivery system dubbed broadcatching. Since a Steve Gillmor column for Ziff-Davis in December 2003, the discussion has spread quickly among many bloggers (Techdirt, Ernest Miller, and former Tech TV host Chris Pirillo, for example). In an interview, Scott Raymond explained:
- "I want RSS feeds of BitTorrent files. A script would periodically check the feed for new items, and use them to start the download. Then, I could find a trusted publisher of an Alias RSS feed, and 'subscribe' to all new episodes of the show, which would then start downloading automatically — like the 'season pass' feature of the TiVo."
While potential illegal uses abound as is the case with any new distribution method, this idea lends itself to a great number of ideas that could turn traditional distribution models on their heads, giving smaller operations a new opportunity for content distribution. Similar to Linspire, the system leans on the cost-saving benefit of BitTorrent, where expenses are virtually non-existent; each downloader of a file participates in a portion of the distribution.
RSS feeds layered on top keep track of the content, and because BitTorrent does cryptographic hashing of all data, subscribers to the feed can be sure they're getting what they think they're getting, whether that winds up being the latest Sopranos episode, or the latest Sveasoft firmware upgrade. (Naturally, however, ensuring that the same data reaches all nodes neglects the possibility that the original, source file may be corrupted or incorrectly labeled.)
BitTorrent clients and applications, which support the protocol
Despite ample discussion, the first practical applications of this idea have only surfaced recently.
- Programmer Andrew Grumet has announced the release of a beta version of an RSS and BitTorrent integration tool for Radio Userland's news aggregator [2].
- TV RSS is another solution.
- SwarmTV yet another BitTorrent + XML television system.
- Undercurrents, a UK based video activist group is working on an offline TV service using RSS and BitTorrent. It can be seen at beyondTV.
- Thinkingest is providing commercial broadcatching and pro-bono consulting for community projects, such as OurMedia [3].
- Anime fansub communities often use BitTorrent for their releases, and the most popular announce sites like animesuki, Tokyo Toshokan, and downloadanime.org have RSS feeds.
- X Hollywood aggregates RSS feeds from BitTorrent websites.
And also,
- Azureus also has an RSS feedreader plug-in that can be used in conjunction with the sites mentioned above.
- Blog Torrent offers a simplified BitTorrent tracker to enable bloggers and non-technical users to run a tracker off their site with the added functionality of letting visitors download a file even if they do not have a BitTorrent client installed by automatically installing a client and the desired file. (GrepLaw interviews makers of Blog Torrent.)
- WritTorrent offers a blog posting plugin for Azureus, as well as RSS feeds for the built-in Azureus tracker.
- TvM is another BT/RSS feedreader for Windows designed to be as simple as possible.
- WinMobile Torrent is the first BitTorrent Client for Windows Mobile PocketPC.
Podcasting is starting to integrate BitTorrent to help podcasters deal with the download demands of their MP3 "radio" programs. Specifically, iPodder supports BitTorrent for the RSS 2.0 enclosures that power podcasting.
See also
External links
- InfoAnarchy site
- BitTorrent News & Information BitTorrent information and news on Zeropaid, BitTorrent Clients
- Guide To BitTorrent- Primer on MP3 Newswire
- Evil Timmy's BitTorrent FAQ
- BitTorrent News
- Magoo's Guide to BitTorrent
Torrent sites and trackers
(Many of these sites temporarily go down due to bandwidth limitations, legal issues or technical difficulties. Most are run by volunteer staff and most return within a day.)
General collections
- BitTorrent.com: A search engine created by Bram Cohen, with a simple interface similar to, bitoogle or Google
- myBittorrent.com Huge BT-community site with 100,000 torrents.
- FullDLs
- Seedler.org: A multi-lingual torrent site with great amounts of torrents.
- bitoogle.com: The original bittorrent search engine. Supports multi-lingual torrent searches.
- TorrentSpy.com
- TorrentPortal.com
- Mininova.org: SuprNova alternative.
- Kedora TV: Directory of videos using RSS feeds.
- TorrentMine.com: Torrent Search Engine
- Unofficial RSS feeds
- speedtorrent.dl.am: German torrent site.
- Yotoshi.comBittorrent search engine
- isoHunt.com: IRC and BitTorrent search engine and P2P releases system.
- X Hollywood: Index and news of BitTorrent sites.
- TorrentReactor.net: Large search engine.
- Prodigem: Creative Commons licensed BitTorrent hosting service.
- Pirate Bay: Swedish-hosted BitTorrent tracker website. Lots of entertaining legal threats.
- TorrentBox.com
- Novatina
- Bittracker.net: Free Bittorrent Tracker. Requires registration to upload but not to download (Multilingual).
- Torrent Typhoon: Torrent Typhoon is a BT search engine that searches all major torrent sites at once. Accesses over 320,000 torrents.
Forums
- Digital Update
- Filesoup
- Sladinki007.net
- Speedtorrent-Board.net
- Torrent Forums
- Torrentmind.com
- Torrentmind
- Zeropaid.com
Registration sites
- Conviniforums: Universal BitTorrent information and file reviews.
- Torrentbytes: Formerly known as Torrentbits.
- FileMp3: Dedicated to MP3s.
- Oink's Pink Palace: Dedicated to music.
- Demonoid
Specific content
- f.scarywater.net: For sites rendered inaccessable due to the Slashdot effect.
- autopatcher.scarywater.net: BitTorrent files for AutoPatcher.
- http://www.homecomputermagazine.com/torrents.htm: BitTorrent files for the free PC magazine
- Anime:
- AnimeYume.org: Also has non-English releases.
- AnimeSuki: Keeps track of almost all anime torrents (unlicensed and strictly English-language fansubs only).
- Frozen-Layer Network: Spanish Anime distribution page
- a.scarywater.net
- BoxTorrents
- Tokyo Toshokan: A BitTorrent library for Japanese media.
- Computer games:
- Filerush.com
- Nwgat.Net
- 3dgamers.com: Torrents for large game demos.
- GNU/Linux:
- SolidZ.com: Linux torrents and various other open source applications.
- Linux torrents: Distro torrents
- ShareGroundz.info: Legal Linux ISOs, games, and applications.
- Nwgat.Net: Linux torrents.
- Martial Arts:
- newmag.org: Martial arts torrents.
- Music:
- jamendo.Com: Full, high-quality albums from all genres.
- onemoresolo.net: Live recordings of trade-friendly artists in lossless file formats, created after Easytree was shut down.
- easytree.org: Live recordings of trade-friendly artists in lossless file formats.
- etree.org: Trade-friendly live recordings in lossless formats.
- LegalTorrents: Wide selection of acoustic, electronic, and experimental music as well as the Wired Magazine Creative Commons CD.
- Must-Suck Torrents: Videos of music performances.
- NetBSD:
- NetBSD BitTorrents: Official torrents of NetBSD release ISO images.
- Politics:
- Torrentocracy: 2004 US Presidential Election torrents.
- ChomskyTorrents.org: Filesharing resource for videos of Noam Chomsky's talks.
- outragedmoderates.org: Torrents of government documents, with a focus on US foreign policy.
- Television shows:
- XTVi Various TV Show torrents
- #digitaldistractions: Various shows, with a focus on educational material
- Whose Torrents Are They Anyway?: Whose Line is it Anyway? episodes
- South Park torrents
- Robotolabs [rl] - Simpsons BitTorrent website
Eclectic trackers and portals
- throughput.de: A search engine for all types of torrents.
- TowerSeek.org: Advanced crawler-based search engine for torrents.
- Torrents.to: Torrent search engine for music, movies, TV, and other content as well as the latest BitTorrent clients.
- The Pirate Bay: Created by piratbyrån, they document all legal threats received.
- WebTorrent: A PHP frontend for BitTorrent, serving as a centralised BitTorrent download server.
- PartyBits
- LMTLinks/LickMyTaint: Torrent listing as well as a helpful forum.
- TheBeehive: List of active trackers.
- Defiant.ws: Fast torrent site search engine.
- TorrentFlux: A PHP frontend that uses Bit Tornado.
In the news
- News BitTorrent: Daily internet news about BitTorrent
- NYT: File Sharing's New Face (should work without registration)
- Wired: The BitTorrent Effect
- NPR: File-Sharing Tool Grows in Popularity
- BBC News: How Doctor Who spread on the net
- AfterDawn: MPAA sues six TV BitTorrent sites
Technical help and discussion
- Filesoup -> Technical Discussions
- Basic BitTorrent FAQ at AfterDawn
- Youceff P2P Community: Technical help for BitTorrent users but also covers other P2P networks. For example, Common Bittorrent Error Messages: Explained.
- Brian's BitTorrent FAQ and Guide
- Tracker Errors: Tracker errors explained.
- Unofficial, but more complete documentation of BitTorrent
- Lengthy tutorial on the usage of BitTorrent (unofficial)
- Luna Tech Tutorials: Full image and description guides on how to create torrents with various torrent creators and upload torrents to a tracker.
- AfterDawn's P2P guides: Guides for ABC, BitTornado, BitComet, Azureus and G3 Torrent
- Controlling Bittorrent using a Linux firewall: Using Linux to control bittorrent traffic - to apply QoS policies, log or block the protocol.
- modtang's BitTorrent guides: Visual guides on how to use various BitTorrent clients.
- BitTorrent on TPG, using BitTorrent on TPG, an Internet Service Provider
- Unofficial TPG Guides, TPG Bittorrent Guide
Technical analyses
- Animation of BitTorrent in action (MNG format, not supported by all browsers.)
- The BitTorrent P2P file-sharing system, Johan Pouwelse, 18th December, Register - A detailed study of the BitTorrent network
Legal
- LokiTorrent Complaint (PDF)
- Settlement Against LokiTorrent Owner (PDF)
- MPAA's attack on Television (PDF)
- Programmer Andrew Grumet has announced the release of a beta version of an RSS and BitTorrent integration tool for Radio Userland's news aggregator [4].
- TV RSS is another solution.
- SwarmTV yet another BitTorrent + XML television system.
- Undercurrents, a UK based video activist group are working on an offline TV service using RSS and BitTorrent. It can be seen at beyondTV.
- Thinkingest is providing commercial broadcatching and pro-bono consulting for community projects, such as OurMedia [5].
- Anime fansub communities often use Bittorrent for their releases, and the most popular announce sites like animesuki, Tokyo Toshokan, and downloadanime.org have RSS feeds.
- X Hollywood aggregates RSS feeds from BitTorrent web sites.
And also,
- Azureus also has an RSS feedreader plug-in which can be used in conjunction with the sites mentioned above.
- Blog Torrent offers a simplified BitTorrent tracker to enable bloggers and non-technical users to run a tracker off their site with the added functionality of letting visitors download a file even if they do not have a BitTorrent client installed by automatically installing a client and the desired file. (GrepLaw interviews makers of Blog Torrent.)
- WritTorrent offers a blog posting plugin for Azureus, as well as RSS feeds for the built-in Azureus tracker.
- TvM is another BT/RSS feedreader for Windows designed to be as simple as possible.