|
The available arguments for the Python tracker (bttrack.py) are:
- --port <arg>
-
port to listen on. (defaults to 80)
- --dfile <arg>
-
file to store recent downloader info in (this is a REQUIRED parameter)
- --bind <arg>
-
ip to bind to locally (defaults to '')
- --socket_timeout <arg>
-
timeout for closing connections (defaults to 15)
- --save_dfile_interval <arg>
-
seconds between saving dfile (defaults to 300)
- --timeout_downloaders_interval <arg>
-
seconds between expiring downloaders (defaults to 2700)
- --reannounce_interval <arg>
-
seconds downloaders should wait between reannouncements (defaults to 1800)
- --response_size <arg>
-
number of peers to send in an info message (defaults to 50)
- --timeout_check_interval <arg>
-
time to wait between checking if any connections have timed out (defaults to 5)
- --nat_check <arg>
-
whether to check back and ban downloaders behind NAT (defaults to 1)
- --min_time_between_log_flushes <arg>
-
minimum time it must have been since the last flush to do another one (defaults to 3.0)
- --allowed_dir <arg>
-
only allow downloads for .torrents in this dir (defaults to '')
- --parse_allowed_interval <arg>
-
minutes between reloading of allowed_dir (defaults to 15)
- --show_names <arg>
-
whether to display names from allowed dir (defaults to 1)
- --favicon <arg>
-
file containing x-icon data to return when browser requests favicon.ico (defaults to '')
- --only_local_override_ip <arg>
-
ignore the ip GET parameter from machines which aren't on local network IPs (defaults to 1)
- --logfile <arg>
-
file to write the tracker logs, use - for stdout (default) (defaults to '')
- --allow_get <arg>
-
use with allowed_dir; adds a /file?hash={hash} url that allows users to download the torrent file (defaults to
0)
- --keep_dead <arg>
-
keep dead torrents after they expire (so they still show up on your /scrape and web page) (defaults to 0)
- --max_give <arg>
-
maximum number of peers to give with any one request (defaults to 200)
|