General FAQ's and tips
Question: How to start two trackers on the same server?
Answer: You must run different configuration files and different tables. Although it's recommended the use of different databases, you can use the same database and specify a different table prefix in one of the xbt_tracker.conf files. Don't forget to user different ports for each tracker (Thanks for major9 to remember this part)
Example:
Tracker 1: xbt_tracker
Tracker 2: xbt_tracker --conf_file xbt_tracker2.conf
Tracker 1 configuration file (xbt_tracker.conf) | |
1 |
mysql_host = localhost |
Tracker 2 configuration file (xbt_tracker2.conf) | |
1 |
mysql_host = localhost |
Question: What is this new torrent_pass_version that people are talking about?
Answer: In the past XBT Tracker was using one passkey per user and using it on all the torrents for that user. With the torrent_pass_version it's possible to specify a different torrent_pass for each torrent within the same user. Every time a user downloads a torrent, the tracker adds a new torrent_pass to the torrent file. Please see the example on how to use it.
Example:
1 |
$site_key = xbt_config.torrent_pass_private_key; // the value of torrent_pass_private_key that is stored in the xbt_config table |
The annouce_url that will be inside the torrent file will be something like:
http://trackerurl:trackerport/$passkey/announce
If you have more Tip's or questions feel free to "Contact Me".