Skip to content

Commit

Permalink
Added commented-out Accounting{Max,Start} + explanation
Browse files Browse the repository at this point in the history
This helps prevent users from going over their monthly transfer allotment with
their server provider.

Defaults to 32GB/day, since 1 TB transfer is a common minimum (e.g., Digital
Ocean) and 1 TB per month/31 days per month max == 32.258 GB transfer/day

Finishes #17
  • Loading branch information
elimisteve committed Feb 19, 2016
1 parent b70ce74 commit 4cf857e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,9 @@ echo ""
echo "== Edit /etc/tor/torrc"
echo " - Set Address, Nickname, Contact Info, and MyFamily for your Tor relay"
echo " - Optional: include a Bitcoin address in the 'ContactInfo' line"
echo " - This will enable you to receive donations from OnionTip.com"
echo " - This will enable you to receive donations from OnionTip.com"
echo " - Optional: limit the amount of data transferred by your Tor relay (to avoid additional hosting costs)"
echo " - Uncomment the lines beginning with '#AccountingMax' and '#AccountingStart'"
echo ""
echo "== Register your new Tor relay at Tor Weather (https://weather.torproject.org/)"
echo " to get automatic emails about its status"
Expand Down
2 changes: 2 additions & 0 deletions etc/tor/torrc
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ DirPort 9030

RelayBandwidthRate 30 MBytes
RelayBandwidthBurst 100 MBytes
#AccountingMax 32 GB
#AccountingStart day 00:00

SocksPort 0
SocksPolicy reject *
Expand Down

0 comments on commit 4cf857e

Please sign in to comment.