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













