diff --git a/doc/tor.1.in b/doc/tor.1.in index 45afcdff80..8617f0c0fd 100644 --- a/doc/tor.1.in +++ b/doc/tor.1.in @@ -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 diff --git a/src/or/config.c b/src/or/config.c index ddda3e52db..b9d55a4805 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -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"),