[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] [tor/master] Include AccountingMax in torrc.sample
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date: Thu, 16 Jul 2009 14:02:07 -0400
Subject: Include AccountingMax in torrc.sample
Commit: 82795eebb75e2c60b9a294a27100c3f19021dde5
"There's room for one more till the end of creation." -- _Sandman_
(Based on patch from David [edeca]. Closes bug 1036.)
---
src/config/torrc.sample.in | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/src/config/torrc.sample.in b/src/config/torrc.sample.in
index d0b1ee1..9250d1e 100644
--- a/src/config/torrc.sample.in
+++ b/src/config/torrc.sample.in
@@ -99,6 +99,19 @@ SocksListenAddress 127.0.0.1 # accept connections only from localhost
#RelayBandwidthRate 100 KBytes # Throttle traffic to 100KB/s (800Kbps)
#RelayBandwidthBurst 200 KBytes # But allow bursts up to 200KB/s (1600Kbps)
+## Use these to restrict the maximum traffic per day, week, or month.
+## Note that this threshold applies to sent _and_ to received bytes,
+## not to their sum: Setting "1 GB" may allow up to 2 GB total before
+## hibernating.
+##
+## Set a maximum of 1 gigabyte per period.
+#AccountingMax 1 GB
+## Each period starts daily at midnight (AccountingMax is per day)
+#AccountingStart day 00:00
+## Each period starts on the 3rd of the month at 15:00 (AccountingMax
+## is per month)
+#AccountingStart month 3 15:00
+
## Contact info to be published in the directory, so we can contact you
## if your relay is misconfigured or something else goes wrong. Google
## indexes this, so spammers might also collect it.
--
1.5.6.5