summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2024-04-18 18:03:58 +0200
committerDirk Engling <erdgeist@erdgeist.org>2024-04-18 18:03:58 +0200
commite5e1a54da342d556777467d7f63892a4ebb05dd3 (patch)
treec9b3f8f56fa07c05437a4f7cf853a6f930588f09
parentf010861f617037589166f7e3e47c0aac89ceff9c (diff)
further fixes to the man page
-rw-r--r--man4/opentracker.conf.414
-rw-r--r--opentracker.conf.sample2
2 files changed, 7 insertions, 9 deletions
diff --git a/man4/opentracker.conf.4 b/man4/opentracker.conf.4
index cdafd5d..4b68121 100644
--- a/man4/opentracker.conf.4
+++ b/man4/opentracker.conf.4
@@ -9,9 +9,7 @@
9.Sh DESCRIPTION 9.Sh DESCRIPTION
10The 10The
11.Nm 11.Nm
12configuration file specifies various options for configuring the behavior of the 12configuration file specifies various options for configuring the behavior of the opentracker program.
13.Nm
14program.
15.Pp 13.Pp
16Lines starting with '#' are comments and are ignored. Options are specified as 'keyword value' pairs. 14Lines starting with '#' are comments and are ignored. Options are specified as 'keyword value' pairs.
17.Pp 15.Pp
@@ -42,11 +40,11 @@ Specifies the path to the FIFO (named pipe) used for dynamic changesets to acces
42.It access.fifo_delete Ar path/to/deleter.fifo 40.It access.fifo_delete Ar path/to/deleter.fifo
43Specifies 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. 41Specifies 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.
44 42
45.It access.stats Ar ip_address 43.It access.stats Ar ip_address_or_network
46Specifies the IP address allowed to fetch stats from opentracker. 44Specifies the IP address or network in CIDR notation allowed to fetch stats from opentracker.
47 45
48.It access.stats_path Ar path 46.It access.stats_path Ar path
49Specifies the path to the stats location. You can configure opentracker to appear anywhere on your tracker. 47Specifies the path to the stats location. You can configure opentracker to appear anywhere on your tracker. Defaults to /stats.
50 48
51.It access.proxy Ar ip_address_or_network 49.It access.proxy Ar ip_address_or_network
52Specifies the IP address or network of the reverse proxies. Opentracker will take the X-Forwarded-For address instead of the source IP address. 50Specifies the IP address or network of the reverse proxies. Opentracker will take the X-Forwarded-For address instead of the source IP address.
@@ -64,7 +62,7 @@ Specifies the admin IP address for old-style (HTTP-based) asynchronous tracker s
64Specifies the directory opentracker will chroot/chdir to. All black/white list files must be located in this directory. 62Specifies the directory opentracker will chroot/chdir to. All black/white list files must be located in this directory.
65 63
66.It tracker.user Ar username 64.It tracker.user Ar username
67Specifies the user opentracker will setuid to. 65Specifies the user opentracker will setuid to after binding to potentially privileged ports.
68 66
69.It tracker.redirect_url Ar URL 67.It tracker.redirect_url Ar URL
70Specifies the URL opentracker will redirect to in response to a "GET / HTTP" request. 68Specifies the URL opentracker will redirect to in response to a "GET / HTTP" request.
@@ -84,5 +82,5 @@ To specify the address opentracker will listen on for UDP connections:
84 82
85.Sh AUTHOR 83.Sh AUTHOR
86.An Dirk Engling 84.An Dirk Engling
87.Aq erdgeist@erdgeist.org 85.Aq Mt erdgeist@erdgeist.org
88 86
diff --git a/opentracker.conf.sample b/opentracker.conf.sample
index a920a14..b1d2a03 100644
--- a/opentracker.conf.sample
+++ b/opentracker.conf.sample
@@ -83,7 +83,7 @@
83# IIb) 83# IIb)
84# If you do not want to grant anyone access to your stats, enable the 84# If you do not want to grant anyone access to your stats, enable the
85# WANT_RESTRICT_STATS option in Makefile and bless the ip addresses 85# WANT_RESTRICT_STATS option in Makefile and bless the ip addresses
86# allowed to fetch stats here. 86# or network allowed to fetch stats here.
87# 87#
88# access.stats 192.168.0.23 88# access.stats 192.168.0.23
89# 89#