Louif Posted October 30, 2009 Report Posted October 30, 2009 Is there any documentation about "Local Peer Discovery" that would allow inter-client interoperability ?
schnurlos Posted October 30, 2009 Report Posted October 30, 2009 http://download.utorrent.com/utorrent-help.zip and search for LPD:LPD (Local Peer Discovery) A method by which µTorrent attempts to discover new peers local relative to your computer's network. Local Peer Discovery makes use of IP multicast.And some googling:http://www.superjason.com/archive/2007/08/14/local-peer-discovery-best-new-utorrent-feature.aspxhttp://www.bittorrent.com/btusers/guides/bittorrent-user-manual/appendix-bittorrent-mainline-interface/preferences/bittorrent#Basic_BitTorrent_Features.Enable_Local_Peer_DiscoveryAnd why should that feature be interchangeable?It just indicates peers within you network by IP or ISP.
Ultima Posted October 30, 2009 Report Posted October 30, 2009 ... Louif isn't asking what LPD is -- he's asking for implementation details on LPD so that other clients can also implement it.@Louif: There are no public specs that I know of.
arvid Posted October 30, 2009 Report Posted October 30, 2009 in short: join the multicast group 239.192.152.143:6771 and listen for SSDP messages. Every 5 minutes, announce yourself to the multicast group by sending this message:snprintf(msg, 200, "BT-SEARCH * HTTP/1.1\r\n" "Host: 239.192.152.143:6771\r\n" "Port: %d\r\n" "Infohash: %s\r\n" "\r\n\r\n", listen_port, ih_hex);listen port is the port you accept incoming bittorrent connections on, ih_hex is the info hash of the torrent hex encoded.more details:http://libtorrent.svn.sourceforge.net/viewvc/libtorrent/trunk/src/lsd.cpp?revision=3919&view=markupIf you'd like to write a BEP for this (to be published on bittorrent.org), please send it to editor@bittorrent.org and I can put it up.
Louif Posted October 31, 2009 Author Report Posted October 31, 2009 Thanks, this is very interesting information. I think I will be submitting a BEP, but I still need some time to think about this.
jch Posted November 2, 2009 Report Posted November 2, 2009 Interesting -- so you're using a protocol that's not BEP-26.
Firon Posted November 3, 2009 Report Posted November 3, 2009 I don't believe anyone ever implemented BEP26.
Ultima Posted November 3, 2009 Report Posted November 3, 2009 Not necessarily an excuse, but to be fair...--- 2007-04-05: Version 1.7 (build 1065)- Feature: Local Peer DiscoveryCreated: 10-May-2008
SawyerIII Posted November 28, 2009 Report Posted November 28, 2009 So if LPD is a IPV4 multicast system, are there plans to use a IPV6 multicast system for "Global Peer Discovery"?
bugmenot2 Posted January 6, 2015 Report Posted January 6, 2015 libtorrent uses ff15::efc0:988f for IPv6 and 239.192.152.143 for IPv4. The port is 6771. See src/lsd.cpp.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.