@ -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.
.Pp
The following options are available:
.Pp
.Bl-tag-width".It access.proxy"-compact
.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.
.Pp
.Itlisten.tcpAraddress
Specifies the address opentracker will listen on for TCP connections. Can be added more than once.
.Pp
.Itlisten.udpAraddress
Specifies the address opentracker will listen on for UDP connections. Can be added more than once.
.Pp
.Itlisten.udp.workersArthreads
Specifies how many threads will be spawned to handle UDP connections. Defaults to 4.
.Pp
.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.
.Pp
.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.
.Pp
.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.
.Pp
.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.
.Pp
.Itaccess.statsArip_address_or_network
Specifies the IP address or network in CIDR notation allowed to fetch stats from opentracker.
.Pp
.Itaccess.stats_pathArpath
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
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
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
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
Specifies the admin IP address for old-style (HTTP-based) asynchronous tracker syncing.
.Pp
.Ittracker.rootdirArpath
Specifies the directory opentracker will chroot/chdir to. All black/white list files must be located in this directory.
.Pp
.Ittracker.userArusername
Specifies the user opentracker will setuid to after binding to potentially privileged ports.
.Pp
.Ittracker.redirect_urlArURL
Specifies the URL opentracker will redirect to in response to a "GET / HTTP" request.
.El
.ShEXAMPLES
To specify the address opentracker will listen on for both TCP and UDP connections:
.Dllisten.tcp_udp0.0.0.0:6969
@ -76,11 +76,11 @@ To specify the address opentracker will listen on for TCP connections:
.Pp
To specify the address opentracker will listen on for UDP connections: