Commit a5903b73 authored by Nick Mathewson's avatar Nick Mathewson 🤹
Browse files

Document accounting


svn:r2721
parent 6f6f37b8
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
@@ -242,6 +242,20 @@ successfully, no subsequent rules are considered. You can specify that no
redirection is to be performed on a given set of addresses by using the
special target string "pass", which prevents subsequent rules from being
considered.
.TP
\fBAccountingMaxKB \fR\fInum\fP
Never send or receive more than \fInum\fP kilobytes in a given
accounting period (currently, only months are supported).  When the
number of kilobytes is exhausted, Tor will hibernate until some time
in the next accounting period.  If you have bandwidth cost issues,
using this option is preferable to setting a low bandwidth, since it
provides users with a collection of fast servers that are up some of
the time, which is more useful than a set of slow servers that are
always "available".
.TP
\fBMonthlyAccountingStart \fR\fIday\fP
Always start the accounting period on the provided day of the month,
which must be between 1 and 28.  (Defaults to 1.)

.SH DIRECTORY SERVER OPTIONS
.PP
+1 −1
Original line number Diff line number Diff line
@@ -126,7 +126,7 @@ static config_var_t config_vars[] = {
  OBSOLETE("LinkPadding"),
  VAR("MaxConn",             UINT,     MaxConn,              "1024"),
  VAR("MaxOnionsPending",    UINT,     MaxOnionsPending,     "100"),
  VAR("MonthlyAccountingStart",UINT,   AccountingStart,      "0"),
  VAR("MonthlyAccountingStart",UINT,   AccountingStart,      "1"),
  VAR("AccountingMaxKB",     UINT,     AccountingMaxKB,      "0"),
  VAR("Nickname",            STRING,   Nickname,             NULL),
  VAR("NewCircuitPeriod",    UINT,     NewCircuitPeriod,     "30"),