Ticket #1188 (new enhancement)

Opened 5 years ago

Last modified 3 years ago

local peer discovery

Reported by: michael bishop <clever@nbnet.nb.ca> Owned by: rakshasa
Priority: normal Component: rtorrent
Version: Severity: normal
Keywords: Cc:

Description

here is the format that utorrent uses when advertising its torrent port and infohash's to all systems on the LAN
by listening for these packets rtorrent can posibly gain local peers on the lan which would have much better bandwidth relative to the avg peer and save having to send data thru the web connection if 2 systems on a lan happen to be running the same torrent

<&alus> http://rafb.net/p/NyZdkq73.html
..
<&alus> er, I should specify, those lines have \r\n style delimiters, and end with two, just like HTTP
<&alus> when you get a packet like that, you can just assemble a peer address from the source and port in the header, then connect
<&alus> TTL is up to you the broadcaster
..
< clever_> alus: so it sends one of those out for every torrent its running?
<&alus> clever_: yes, at start, and every 5 minutes

Change History

comment:1 Changed 4 years ago by anonymous

you should add this =]

comment:2 Changed 4 years ago by anonymous

I think so

comment:3 Changed 4 years ago by blacklion@gmail.com

File with protocol dissection is missing already! :(

Note: See TracTickets for help on using tickets.