]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Document unit of bandwidth related options in sample torrc.
authorPeter Palfrader <peter@palfrader.org>
Fri, 13 Apr 2012 18:25:36 +0000 (20:25 +0200)
committerRoger Dingledine <arma@torproject.org>
Fri, 13 Apr 2012 20:33:36 +0000 (16:33 -0400)
changes/bug5621 [new file with mode: 0644]
src/config/torrc.bridge.in
src/config/torrc.sample.in

diff --git a/changes/bug5621 b/changes/bug5621
new file mode 100644 (file)
index 0000000..1ffc604
--- /dev/null
@@ -0,0 +1,3 @@
+  o Minor enhancement:
+    - Document unit of bandwidth related options in sample torrc.
+      Fixes bug 5621.
index 927c7bbba24036d8b586bbc2340450b687bb8f79..b7b7e050ba0f98619f6405cff985a49d7d536d11 100644 (file)
@@ -96,6 +96,8 @@ Nickname Unnamed
 ## Define these to limit how much relayed traffic you will allow. Your
 ## own traffic is still unthrottled. Note that RelayBandwidthRate must
 ## be at least 20 KB.
+## Note that units for these config options are bytes per second, not bits
+## per second, and that prefixes are binary prefixes, i.e. 2^10, 2^20, etc.
 #RelayBandwidthRate 100 KB  # Throttle traffic to 100KB/s (800Kbps)
 #RelayBandwidthBurst 200 KB # But allow bursts up to 200KB/s (1600Kbps)
 RelayBandwidthBurst 10485760
index 17e3f0b2a4562933251ef84fcfdd14ea15f8bf95..258c1254600c4bd4c5922da4fec96fb020021226 100644 (file)
@@ -102,6 +102,8 @@ SocksListenAddress 127.0.0.1 # accept connections only from localhost
 ## Define these to limit how much relayed traffic you will allow. Your
 ## own traffic is still unthrottled. Note that RelayBandwidthRate must
 ## be at least 20 KB.
+## Note that units for these config options are bytes per second, not bits
+## per second, and that prefixes are binary prefixes, i.e. 2^10, 2^20, etc.
 #RelayBandwidthRate 100 KB  # Throttle traffic to 100KB/s (800Kbps)
 #RelayBandwidthBurst 200 KB # But allow bursts up to 200KB/s (1600Kbps)