Quote:
Originally Posted by protocolprowler
1) I would like to understand the use case/purpose of torrent_pass vs torrent_pass_version in the xbt_user table. The ref. I found says torrent_pass is deprecated yet the XBT version I got from github appears to require it and torrent_pass_version. The ref also states something about the pass changing on each download, yet when I examine private sites using XBT my pass appears the same on all my downloads, plz explain?
|
xbt can work either with regular torrent passes or using the torrent pass version approach. It uses a key that is added to the xbt_config table the first time the server runs along with user id and info hash. The torrent_pass_version column is just an int that can be incremented if you want to reset all of a user's passes at once.
An example on svn:
https://github.com/OlafvdSpek/xbt/bl...ss_version.php
Using torrent pass version there is less impact if an announce URL gets leaked as they are per torrent. Potentially it would also use less memory on the tracker side, but this is unlikely to be a concern for most.