Misplaced Pages

Local Peer Discovery

Article snapshot taken from[REDACTED] with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
This article relies excessively on references to primary sources. Please improve this article by adding secondary or tertiary sources.
Find sources: "Local Peer Discovery" – news · newspapers · books · scholar · JSTOR (December 2009) (Learn how and when to remove this message)

The Local Peer Discovery protocol, specified as BEP-14, is an extension to the BitTorrent file-distribution system. It is designed to support the discovery of local BitTorrent peers, aiming to minimize the traffic through the Internet service provider's (ISP) channel and maximize use of higher-bandwidth local area networks (LANs).

Local Peer Discovery is implemented with HTTP-like messages on User Datagram Protocol (UDP) multicast group 239.192.152.143:6771 (IPv4) or ff15::efc0:988f (IPv6) which are administratively scoped multicast addresses. It's similar to Simple Service Discovery Protocol but sends BT-SEARCH instead of M-SEARCH:

BT-SEARCH * HTTP/1.1\r\n
Host: <host>\r\n
Port: <port>\r\n
Infohash: <ihash>\r\n
cookie: <cookie (optional)>\r\n
\r\n
\r\n


Since implementation is simple, Local Peer Discovery is implemented in several clients (μTorrent, BitTorrent/Mainline, MonoTorrent, libtorrent and its derivatives, Transmission, aria2). An alternative multicast peer discovery protocol based on ZeroConf is published as BEP 26 Zeroconf Peer Advertising and Discovery, but is not widely adopted since it is considered too complex in comparison.

References

  1. ^ "BitTorrent Enhancement Proposal 14: Local Service Discovery". BitTorrent.org. 29 October 2015. Retrieved 17 September 2019.
  2. "Protocol Design Discussion » Local Peer Discovery Documentation". 2009-10-30. Retrieved 2009-12-12.
  3. "Announcements » μTorrent 1.7 Release Candidate 6". 2007-06-28. Archived from the original on 2012-03-08. Retrieved 2009-12-12.
  4. "BitTorrent User Manual". Archived from the original on 2009-12-27. Retrieved 2009-12-12.
  5. "MonoTorrent 0.80". Retrieved 2010-05-05.
  6. "libtorrent manual: features". Retrieved 2009-12-12.
  7. "Release Notes: Transmission 2.00". GitHub. 2010-06-15. Retrieved 2020-05-23.
  8. "Aria2 Manual: OPTIONS". Retrieved 2015-09-14.
  9. "Transmission Bug Tracker: ZeroConf Peer Advertising and Discovery". Retrieved 2016-10-26.
BitTorrent
Companies
People
Technology
Clients
(comparison,
usage share)
Tracker software
(comparison)
Search engines
(comparison)
Defunct sites
(comparison)
Related topics


Stub icon

This computer networking article is a stub. You can help Misplaced Pages by expanding it.

Categories:
Local Peer Discovery Add topic