By using this website, you agree to the use of cookies as described in our Privacy Policy.

Configuration Options

The XBT Tracker has two different areas for configuration: the xbt_tracker.conf and the xbt_config table (in xbt database). Please see it's options:

 

xbt_tracker.conf

The xbt_tracker.conf is always read when XBT starts. Usually you can find it on the same directory where the xbt_tracker binary/executable is. The layout is the following:

1
2
3
4
5
mysql_host = localhost
mysql_user = xbt_tracker
mysql_password = xbt_tracker
mysql_database = xbt_tracker
mysql_table_prefix = xbt_

 

mysql_host - The host where the XBT database is. This is a required configuration option.

mysql_user - The user with privileges to read/write to the XBT database. This is a required configuration option.

mysql_password - The password for the user above.This is a required configuration option.

mysql_database - The database name for XBT.This is a required configuration option.

mysql_table_prefix - The table prefix for the XBT database. This is an optional value and usually you don't need it. The default value in case of omission is 'xbt_'

 


xbt_config table

Below you will find all the possible configurable options and it's default values in the xbt_config table.

 
NameDescriptionDefault value
auto_register If enabled it will allow torrents to auto register on the tracker 0 (disabled)
anonymous_announce If enabled it will allow anyone (anonymous) to announce on the tracker 0 (disabled)
anonymous_scrape If enabled it will allow anyone (anonymous) to scrape on the tracker 0 (disabled)
daemon If enabled the server will run as a daemon (in the background) 1 (enabled)
debug If enabled the server will also run in debug mode (go to http://tracker:port/debug to see debug messages) 0 (disabled)
full_scrape If enabled the server will serve a full scrape to the client 0 (disabled)
gzip_scrape If enabled the server will gzip (compress) the scrape page 1 (enabled)
log_access If enabled the server will create a file with all the accesses to the server. The file will be named (xbt_tracker_raw.log) 0 (disabled)
log_announce If enabled the server will log all announces into the announce table (xbt_announce_log) 0 (disabled)
log_scrape If enabled the server will log all announces into the scrape table (xbt_scrape_log) 0 (disabled)
announce_interval The default announce interval (in seconds) that will be inside the torrent file 1800 [value in seconds]
clean_up_interval The default interval (in seconds) to clean the torrents that were flagged to delete 60 [value in seconds]
read_config_interval The default interval (in seconds) in which the XBT binary will re-read it's configuration (from the xbt_tracker.conf file) 60 [value in seconds]
read_db_interval The default interval (in seconds) in which the XBT binary will re-read it's configuration (from the xbt_config table) 60 [value in seconds]
scrape_interval The default interval (in seconds) in which a new scrape is allowed 0 (no minimum time between new scrapes)
write_db_interval The default value (in seconds) in which the XBT binary will update his database 15 [value in seconds]
column_files_completed The default value for the 'completed' field in the xbt_files_users table completed
column_files_fid The default value for the 'fid' field in the xbt_files_users table tid
column_files_leechers The default value for the 'leechers' field in the xbt_files_users table leechers
column_files_seeders The default value for the 'seeders' field in the xbt_files_users table seeders
column_users_uid The default value for the 'uid' field in the xbt_files_users and xbt_users table uid
offline_message The offline message that will appear on the client program Empty. If specifying a message the tracker will be offine
pid_file The file in which the tracker will store his pid (process id) Empty
query_log The filename in which the XBT binary log all the queries made Empty
redirect_url The URL to where the client is redirected if he/she tries to access the tracker URL via a normal browser Empty
table_announce_log The default value for the announce_log table xbt_table_prefix (in xbt_tracker.conf) + announce_log
table_files The default value for the torrents table xbt_table_prefix (in xbt_tracker.conf) + torrents
table_files_users The default value for the peers table xbt_table_prefix (in xbt_tracker.conf) + peers
table_scrape_log The default value for the scrape_log table xbt_table_prefix (in xbt_tracker.conf) + scrape_log
table_users The default value for the users table xbt_table_prefix (in xbt_tracker.conf) + users
torrent_pass_private_key The default torrent pass private key A 27 character random string
listen_ipa The IP address for the XBT Tracker Empty. It will run on all available IP's
listen_port  The port in which XBT Tracker will run 2710 (TCP and UDP)