File README.txt of Package xbt-tracker

Configuration

The tracker reads it's configuration from the file xbt_tracker.conf and the SQL
table xbt_config. There is no need to insert default values into this table.

[[[
# name                  default value
announce_interval       1800
anonymous_connect       1
anonymous_announce      1
anonymous_scrape        1
auto_register           1
clean_up_interval       60
daemon                  1
debug                   0
full_scrape             1
gzip_announce           1
gzip_debug              1
gzip_scrape             1
listen_check            0
listen_ipa              *
listen_port             2710
log_access              0
log_announce            0
log_scrape              0
offline_message
pid_file                xbt_tracker.pid
read_config_interval    60
read_db_interval        60
redirect_url
scrape_interval         0
table_announce_log      xbt_announce_log
table_files             xbt_files
table_files_updates     xbt_files_updates
table_files_users       xbt_files_users
table_scrape_log        xbt_scrape_log
table_users             xbt_users
write_db_interval       60
]]]


 Auto Register
===============

If auto_register is on, the tracker will track any torrent. If it's off, the
tracker will only track torrents (identified by info_hash) that are in the
xbt_files table.

[[[
-- insert a new torrent:
insert into xbt_files (info_hash, mtime, ctime) values ('<info_hash>', unix_timestamp(), unix_timestamp());

-- delete an torrent:
insert update xbt_files set flags = 1 where info_hash = '<info_hash>';
}}}


 Anonymous Announce
====================

If anonymous_announce is on, the tracker will serve any user. If it's off, the
tracker will only serve users (identified by torrent_pass) that are in the
xbt_users table.

The torrent_pass field in xbt_users contains the 32 char torrent_pass. The
announce URL contains the same torrent_pass: /<torrent_pass>/announce
openSUSE Build Service is sponsored by