Browse Source

raise bandwidthrate/bandwidthburst to a new "infinite"

addresses bug 6605.
Roger Dingledine 13 years ago
parent
commit
e1e34ee4e4
3 changed files with 11 additions and 4 deletions
  1. 7 0
      changes/bug6605
  2. 2 2
      doc/tor.1.txt
  3. 2 2
      src/or/config.c

+ 7 - 0
changes/bug6605

@@ -0,0 +1,7 @@
+  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).
+

+ 2 - 2
doc/tor.1.txt

@@ -129,11 +129,11 @@ GENERAL OPTIONS
     the specified number of bytes per second, and the average outgoing
     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
     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,
     public network, this needs to be _at the very least_ 30 KB (that is,
-    30720 bytes). (Default: 5 MB)
+    30720 bytes). (Default: 1 GB)
 
 
 **BandwidthBurst** __N__ **bytes**|**KB**|**MB**|**GB**::
 **BandwidthBurst** __N__ **bytes**|**KB**|**MB**|**GB**::
     Limit the maximum token bucket size (also known as the burst) to the given
     Limit the maximum token bucket size (also known as the burst) to the given
-    number of bytes in each direction. (Default: 10 MB)
+    number of bytes in each direction. (Default: 1 GB)
 
 
 **MaxAdvertisedBandwidth** __N__ **bytes**|**KB**|**MB**|**GB**::
 **MaxAdvertisedBandwidth** __N__ **bytes**|**KB**|**MB**|**GB**::
     If set, we will not advertise more than this amount of bandwidth for our
     If set, we will not advertise more than this amount of bandwidth for our

+ 2 - 2
src/or/config.c

@@ -209,8 +209,8 @@ static config_var_t _option_vars[] = {
   V(AutomapHostsOnResolve,       BOOL,     "0"),
   V(AutomapHostsOnResolve,       BOOL,     "0"),
   V(AutomapHostsSuffixes,        CSV,      ".onion,.exit"),
   V(AutomapHostsSuffixes,        CSV,      ".onion,.exit"),
   V(AvoidDiskWrites,             BOOL,     "0"),
   V(AvoidDiskWrites,             BOOL,     "0"),
-  V(BandwidthBurst,              MEMUNIT,  "10 MB"),
-  V(BandwidthRate,               MEMUNIT,  "5 MB"),
+  V(BandwidthBurst,              MEMUNIT,  "1 GB"),
+  V(BandwidthRate,               MEMUNIT,  "1 GB"),
   V(BridgeAuthoritativeDir,      BOOL,     "0"),
   V(BridgeAuthoritativeDir,      BOOL,     "0"),
   VAR("Bridge",                  LINELIST, Bridges,    NULL),
   VAR("Bridge",                  LINELIST, Bridges,    NULL),
   V(BridgePassword,              STRING,   NULL),
   V(BridgePassword,              STRING,   NULL),