[Libtorrent-devel] announce list and passkeys
cmc at stegosaur.us
Thu Dec 7 07:30:02 UTC 2006
I just received a torrent file that rtorrent 0.6.4 couldn't use
it. It looked like this (output from tornado's
announce url..: http://www.xxxx.com/announce.php?passkey=1410663e62dfdd37970e7387aa2e72e1
domain name and passkey changed from real, of course.
rtorrent made a tracker list consisting of:
And those didn't work because the tracker wants a passkey.
It didn't use the value from "announce url" at all, and it
didn't propagate the "?passkey=1410663e62dfdd37970e7387aa2e72e1"
to the two trackers in the announce-list, and therefore was
given an error from the tracker. Other clients seem to be using
this torrent file fine. I used tornado's btreannounce.py program
to change the torrent to have the announce url but no announce-list
and then it worked with rtorrent as you'd expect.
I don't know if it *should* use the arguments from the announce
url with other entries in the "announce-list" or not, or if it
should include the "announce url" in the list of trackers as well
as the two from the "announce-list", but either one of those
things would have let this torrent work unaltered. My best guess
from the help output of btreannounce is that rtorrent is doing
the right thing by ignoring the "announce" when the
"announce-list" is present, and also I don't think it is safe or
good to take the http arguments from the announce url and add
them to the urls from the announce-list.
Possibly it would be within spec to fall back to the announce
value when all values from the announce-list fail to work?
Charles Clark | cmc at stegosaur.us
More information about the Libtorrent-devel