Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Mike Perry
Tor
Commits
e1e34ee4
Commit
e1e34ee4
authored
Sep 10, 2012
by
Roger Dingledine
Browse files
raise bandwidthrate/bandwidthburst to a new "infinite"
addresses bug 6605.
parent
f6639d56
Changes
3
Hide whitespace changes
Inline
Side-by-side
changes/bug6605
0 → 100644
View file @
e1e34ee4
o Major bugfixes:
- Raise the default BandwidthRate/BandwidthBurst values from 1MB/5MB
to 1GB/1GB. The previous defaults were intended to be "basically
infinite", but it turns out they're now limiting our 100mbit+
relays and bridges. Fixes bug 6605; bugfix on 0.2.0.10-alpha (the
last time we raised it).
doc/tor.1.txt
View file @
e1e34ee4
...
...
@@ -129,11 +129,11 @@ GENERAL OPTIONS
the specified number of bytes per second, and the average outgoing
bandwidth usage to that same value. If you want to run a relay in the
public network, this needs to be _at the very least_ 30 KB (that is,
30720 bytes). (Default:
5 M
B)
30720 bytes). (Default:
1 G
B)
**BandwidthBurst** __N__ **bytes**|**KB**|**MB**|**GB**::
Limit the maximum token bucket size (also known as the burst) to the given
number of bytes in each direction. (Default: 1
0 M
B)
number of bytes in each direction. (Default: 1
G
B)
**MaxAdvertisedBandwidth** __N__ **bytes**|**KB**|**MB**|**GB**::
If set, we will not advertise more than this amount of bandwidth for our
...
...
src/or/config.c
View file @
e1e34ee4
...
...
@@ -209,8 +209,8 @@ static config_var_t _option_vars[] = {
V
(
AutomapHostsOnResolve
,
BOOL
,
"0"
),
V
(
AutomapHostsSuffixes
,
CSV
,
".onion,.exit"
),
V
(
AvoidDiskWrites
,
BOOL
,
"0"
),
V
(
BandwidthBurst
,
MEMUNIT
,
"1
0 M
B"
),
V
(
BandwidthRate
,
MEMUNIT
,
"
5 M
B"
),
V
(
BandwidthBurst
,
MEMUNIT
,
"1
G
B"
),
V
(
BandwidthRate
,
MEMUNIT
,
"
1 G
B"
),
V
(
BridgeAuthoritativeDir
,
BOOL
,
"0"
),
VAR
(
"Bridge"
,
LINELIST
,
Bridges
,
NULL
),
V
(
BridgePassword
,
STRING
,
NULL
),
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment