logo       

new tracker parameters: msg#00176

network.bit-torrent.general

Subject: new tracker parameters

I just added some new parameters to the tracker protocol.

Downloaders can now send a 'numwant' parameter, which is the number of
peers they want. Currently it's only used for a downloader to say 0 when
they already have enough.

New parameter 'tracker id' sent back from tracker and 'trackerid' sent to
tracker. This is for trackers which are worried about losing their state
information. It's echoed back if sent.

Downloaders now accept a 'min internval' parameter, which is an optional
advisory piece of information for how often they should rerequest if they
don't have enough peers. I don't advise using this yet through, for some
rather complicated reasons.

New parameters 'last' and 'num peers' are sent back from the tracker, and
'last' is also a parameter back to the tracker. These are both
integers. The purpose of 'last' is so that the tracker can report to the
downloader what the last update number on the peer list was if there was a
small enough number of peers that the downloader got everything, and the
downloader can report that back so the tracker only sends back new
stuff. This should cut down a lot on tracker bandwidth usage.

'num peers' is the number of non-natted peers available, not including the
one connecting in. It's sent back so that the downloader can check if the
number of peers returned is too out of kilter and stop sending in 'last'
temporarily, in case old connections to peers which are still up somehow
got killed.

'last' and 'num peers' aren't supported by trackers yet. I've decided to
push off implementing them until after the new release, to avoid
destabilizing things for the time being.

New parameters will probably be added later as part of making seeders be
more intelligent about picking what files to seed, but that's all for now.

-Bram


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get 128 Bit SSL Encryption!
http://us.click.yahoo.com/xaxhjB/hdqFAA/xGHJAA/dkFolB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
BitTorrent-unsubscribe@xxxxxxxxxxxxxxx



Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/





<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise