Jump to content

BitTorrent tracker

From Wikipedia, the free encyclopedia

ABitTorrent trackeris a special type ofserverthat assists in the communication betweenpeersusing theBitTorrent protocol.

Inpeer-to-peer file sharing,a software client on an end-user PC requests a file, and portions of the requested file residing on peer machines are sent to the client, and then reassembled into a full copy of the requested file. The "tracker" server keeps track of where file copies reside on peer machines, which ones are available at time of the client request, and helps coordinate efficient transmission and reassembly of the copied file. Clients that have already begun downloading a file communicate with the tracker periodically to negotiate faster file transfer with new peers, and provide network performance statistics; however, after the initial peer-to-peer file download is started, peer-to-peer communication can continue without the connection to a tracker.

Modern BitTorrent clients may implement adistributed hash tableand thepeer exchangeprotocol to discover peers without trackers; however, trackers are still often included with torrents to improve the speed of peer discovery.[1]

Public vs private trackers[edit]

Public trackers[edit]

Public or open trackers can be used by anyone by adding the tracker address to an existing torrent, or they can be used by any newly created torrent, likeOpenBitTorrent.The Pirate Bayoperated one of the most popular public trackers until disabling it in 2009 due to legal trouble, and thereafter offered onlymagnet links.

Private trackers[edit]

Aprivate trackeris a BitTorrent tracker that restricts use by requiring users to register with the site. The method for controlling registration used among many private trackers is aninvitation system,in which active and contributing members are given the ability to grant a new user permission to register at the site, or a new user goes through an interview process.[2]

Legal issues[edit]

Legal uses[edit]

There are several circumstances under which it is legal to distribute copyrighted material or parts thereof.

  • Free distribution. Copyright holders may choose to allow free distribution of their works. Dedicated copyright licenses—usable by anyone who wants to upload their own material—are available for that purpose. Such licenses are often used in situations with large numbers of copyright holders, like in online communities. For example, theCreative Commonslicense family forfree cultural worksin text, audio, video or image format; or software licenses forFree Software/Open-source softwarelike theBSD Licenseand others.Wikipediaitself can be distributed via BitTorrent for the same reason.
  • Public domain. Works that are in thepublic domainand therefore not (or no longer) subject to copyright law can also be legally distributed. For instance,Project Gutenbergregularly collects and publishes classical cultural works after their copyright has expired (which depends on the country in which the work was previously published).
  • Fair use. Some countries also havefair useprovisions in copyright law, which allow people the right to access and use certain classes of copyrighted material without breach of the law.

There are also experiments that legally sell content that is distributed over BitTorrent using a "secure" tracker system.

Improving torrent reliability[edit]

Trackers are the primary reason for a damaged BitTorrent "swarm". (Other reasons are mostly related to damaged or hacked clients uploading corrupt data.) The reliability of trackers has been improved through two main innovations in the BitTorrent protocol.

Multi-tracker torrents[edit]

Multi-tracker torrents contain multiple trackers in a single torrent file. This provides redundancy in the case that one tracker fails, the other trackers can continue to maintain the swarm for the torrent. One disadvantage to this is that it becomes possible to have multiple unconnected swarms for a single torrent where some users can connect to one specific tracker while being unable to connect to another. This can create a disjoint set which can impede the efficiency of a torrent to transfer the files it describes. Additional extensions such asPeer exchangeandDHTmitigate this effect by rapidly merging otherwise disjoint graphs of peers.

Trackerless torrents[edit]

Vuze(formerly Azureus) was the first BitTorrent client to implement such a system through thedistributed hash table(DHT) method. An alternative and incompatible DHT system, known as Mainline DHT, was developed simultaneously and later adopted by the BitTorrent (Mainline), μTorrent, Transmission, rTorrent, KTorrent, BitComet, and Deluge clients.

Current versions of the official BitTorrent client,μTorrent,BitComet,Transmissionand BitSpirit all share compatibility withMainline DHT.Both DHT implementations are based onKademlia.As of version 3.0.5.0, Vuze also supports Mainline DHT in addition to its own distributed database through use of an optional application pluginMainlineDHT Plugin.This potentially allows the Vuze client to reach a bigger swarm.

Most BitTorrentclientsalso usePeer exchange(PeX) to gather peers in addition to trackers and DHT. Peer exchange checks with known peers to see if they know of any other peers. With the 3.0.5.0 release of Vuze, all major BitTorrent clients now have compatible peer exchange.

IPv6 support[edit]

One of the options for thisHTTPbased tracker protocol is the "compact" flag. This flag, as defined in BEP 23,[3]specifies that the tracker can compact the response by encodingIPv4addresses as a set of 4 bytes (32 bits). IPv6addresses, though, are 128 bits long, and as such, the "compact" would break IPv6 support. To handle that situation clients and trackers must either avoid using compact announces over IPv6 or implement BEP 07[4]

Software[edit]

opentrackerfrom Dirk Engling powered one of the biggest BitTorrent trackers,The Pirate Baytracker.

qBittorrentis an open source BitTorrent client with a built-in tracker support.

BitToriousis an open source, commercially supported tracker with integrated web-based management portal.

See also[edit]

References[edit]

  1. ^Di, Wu; Dhungel, Prithula; Hei, Xiaojun; Zhang, Chao; Ross, Keith."Understanding Peer Exchange in BitTorrent Systems - New York University"(PDF).Retrieved22 December2022.
  2. ^Jones, Ben (15 January 2008)."Trading BitTorrent Tracker Invites, Commodity or Curse?".TorrentFreak.Archivedfrom the original on 19 June 2013.Retrieved23 October2010.
  3. ^Harrison, David."Tracker Returns Compact Peer Lists".Archivedfrom the original on 2010-02-11.Retrieved2017-02-28.
  4. ^Hazel, Greg; Norberg."IPv6 Tracker Extension".Archivedfrom the original on 2017-05-15.Retrieved2017-02-28.