Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Tor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sergi
Tor
Commits
a5903b73
Commit
a5903b73
authored
20 years ago
by
Nick Mathewson
Browse files
Options
Downloads
Patches
Plain Diff
Document accounting
svn:r2721
parent
6f6f37b8
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc/tor.1.in
+14
-0
14 additions, 0 deletions
doc/tor.1.in
src/or/config.c
+1
-1
1 addition, 1 deletion
src/or/config.c
with
15 additions
and
1 deletion
doc/tor.1.in
+
14
−
0
View file @
a5903b73
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
src/or/config.c
+
1
−
1
View file @
a5903b73
...
...
@@ -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"
),
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment