[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor-cloud/master] The original private bridge config should work



commit ab5c37044730c285065958da41412990b5e9ab4b
Author: Runa A. Sandvik <runa.sandvik@xxxxxxxxx>
Date:   Tue Feb 28 20:25:34 2012 +0000

    The original private bridge config should work
---
 ec2-prep.sh |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/ec2-prep.sh b/ec2-prep.sh
index b6c5be4..84249f0 100644
--- a/ec2-prep.sh
+++ b/ec2-prep.sh
@@ -268,6 +268,9 @@ echo "Configuring Tor as a $CONFIG";
 cat << EOF > $CONFIG_FILE
 # Auto generated public Tor $CONFIG config file
 
+# A unique handle for your server.
+Nickname ec2priv$RESERVATION
+
 # Set "SocksPort 0" if you plan to run Tor only as a server, and not
 # make any local application connections yourself.
 SocksPort 0
@@ -279,12 +282,16 @@ ORPort 443
 # advertise 443 but bind to 9001).
 ORListenAddress 0.0.0.0:9001
 
-# Start Tor as a bridge.
+# Start Tor as a private bridge.
 BridgeRelay 1
-
-# This is a private bridge.
 PublishServerDescriptor 0
 
+# Never send or receive more than 10GB of data per week. The accounting
+# period runs from 10 AM on the 1st day of the week (Monday) to the same
+# day and time of the next week.
+AccountingStart week 1 10:00
+AccountingMax 10 GB
+
 # Running a bridge relay just passes data to and from the Tor network --
 # so it shouldn't expose the operator to abuse complaints.
 ExitPolicy reject *:*

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits