@ -14,59 +14,59 @@ configuration file specifies various options for configuring the behavior of the
Lines starting with '#' are comments and are ignored. Options are specified as 'keyword value' pairs.
Lines starting with '#' are comments and are ignored. Options are specified as 'keyword value' pairs.
.Pp
.Pp
The following options are available:
The following options are available:
.Pp
.Bl-tag-width".It access.proxy"-compact
.Bl-tag-width".It access.proxy"-compact
.Itlisten.tcp_udpAraddress
.Itlisten.tcp_udpAraddress
Specifies an address opentracker will listen on for both TCP and UDP connections. If none are specified, opentracker listens on 0.0.0.0:6969 by default. Can be added more than once.
Specifies an address opentracker will listen on for both TCP and UDP connections. If none are specified, opentracker listens on 0.0.0.0:6969 by default. Can be added more than once.
.Pp
.Itlisten.tcpAraddress
.Itlisten.tcpAraddress
Specifies the address opentracker will listen on for TCP connections. Can be added more than once.
Specifies the address opentracker will listen on for TCP connections. Can be added more than once.
.Pp
.Itlisten.udpAraddress
.Itlisten.udpAraddress
Specifies the address opentracker will listen on for UDP connections. Can be added more than once.
Specifies the address opentracker will listen on for UDP connections. Can be added more than once.
.Pp
.Itlisten.udp.workersArthreads
.Itlisten.udp.workersArthreads
Specifies how many threads will be spawned to handle UDP connections. Defaults to 4.
Specifies how many threads will be spawned to handle UDP connections. Defaults to 4.
.Pp
.Itaccess.whitelistArpath/to/whitelist
.Itaccess.whitelistArpath/to/whitelist
Specifies the path to the whitelist file containing all torrent hashes that opentracker will serve. Use this option if opentracker runs in a non-open mode.
Specifies the path to the whitelist file containing all torrent hashes that opentracker will serve. Use this option if opentracker runs in a non-open mode.
.Pp
.Itaccess.blacklistArpath/to/blacklist
.Itaccess.blacklistArpath/to/blacklist
Specifies the path to the blacklist file containing all torrent hashes that opentracker will not serve. Use this option if opentracker was compiled to allow blacklisting.
Specifies the path to the blacklist file containing all torrent hashes that opentracker will not serve. Use this option if opentracker was compiled to allow blacklisting.
.Pp
.Itaccess.fifo_addArpath/to/adder.fifo
.Itaccess.fifo_addArpath/to/adder.fifo
Specifies the path to the FIFO (named pipe) used for dynamic changesets to accesslists. Info hashes written to this FIFO will be added to the main accesslist file.
Specifies the path to the FIFO (named pipe) used for dynamic changesets to accesslists. Info hashes written to this FIFO will be added to the main accesslist file.
.Pp
.Itaccess.fifo_deleteArpath/to/deleter.fifo
.Itaccess.fifo_deleteArpath/to/deleter.fifo
Specifies the path to the FIFO (named pipe) used for dynamic changesets to accesslists. Info hashes written to this FIFO will be removed from the main accesslist file.
Specifies the path to the FIFO (named pipe) used for dynamic changesets to accesslists. Info hashes written to this FIFO will be removed from the main accesslist file.
.Pp
.Itaccess.statsArip_address_or_network
.Itaccess.statsArip_address_or_network
Specifies the IP address or network in CIDR notation allowed to fetch stats from opentracker.
Specifies the IP address or network in CIDR notation allowed to fetch stats from opentracker.
.Pp
.Itaccess.stats_pathArpath
.Itaccess.stats_pathArpath
Specifies the path to the stats location. You can configure opentracker to appear anywhere on your tracker. Defaults to /stats.
Specifies the path to the stats location. You can configure opentracker to appear anywhere on your tracker. Defaults to /stats.
.Pp
.Itaccess.proxyArip_address_or_network
.Itaccess.proxyArip_address_or_network
Specifies the IP address or network of the reverse proxies. Opentracker will take the X-Forwarded-For address instead of the source IP address. Can be added more than once.
Specifies the IP address or network of the reverse proxies. Opentracker will take the X-Forwarded-For address instead of the source IP address. Can be added more than once.
.Pp
.Itlivesync.cluster.listenArip_address:port
.Itlivesync.cluster.listenArip_address:port
Specifies the IP address and port opentracker will listen on for incoming live sync packets to keep a cluster of opentrackers synchronized.
Specifies the IP address and port opentracker will listen on for incoming live sync packets to keep a cluster of opentrackers synchronized.
.Pp
.Itlivesync.cluster.node_ipArip_address
.Itlivesync.cluster.node_ipArip_address
Specifies one trusted IP address for sync between trackers running in a cluster. Can be added more than once.
Specifies one trusted IP address for sync between trackers running in a cluster. Can be added more than once.
.Pp
.Itbatchsync.cluster.admin_ipArip_address
.Itbatchsync.cluster.admin_ipArip_address
Specifies the admin IP address for old-style (HTTP-based) asynchronous tracker syncing.
Specifies the admin IP address for old-style (HTTP-based) asynchronous tracker syncing.
.Pp
.Ittracker.rootdirArpath
.Ittracker.rootdirArpath
Specifies the directory opentracker will chroot/chdir to. All black/white list files must be located in this directory.
Specifies the directory opentracker will chroot/chdir to. All black/white list files must be located in this directory.
.Pp
.Ittracker.userArusername
.Ittracker.userArusername
Specifies the user opentracker will setuid to after binding to potentially privileged ports.
Specifies the user opentracker will setuid to after binding to potentially privileged ports.
.Pp
.Ittracker.redirect_urlArURL
.Ittracker.redirect_urlArURL
Specifies the URL opentracker will redirect to in response to a "GET / HTTP" request.
Specifies the URL opentracker will redirect to in response to a "GET / HTTP" request.
.El
.ShEXAMPLES
.ShEXAMPLES
To specify the address opentracker will listen on for both TCP and UDP connections:
To specify the address opentracker will listen on for both TCP and UDP connections:
.Dllisten.tcp_udp0.0.0.0:6969
.Dllisten.tcp_udp0.0.0.0:6969
@ -76,11 +76,11 @@ To specify the address opentracker will listen on for TCP connections:
.Pp
.Pp
To specify the address opentracker will listen on for UDP connections:
To specify the address opentracker will listen on for UDP connections: