Skip to content

Commit

Permalink
Ratelimit connections to stretch usefulness
Browse files Browse the repository at this point in the history
  • Loading branch information
strugee committed Sep 3, 2017
1 parent e42a300 commit 9c5d80a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions usr/local/etc/torrc
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,11 @@ Nickname strugees
## 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 KBytes # Throttle traffic to 100KB/s (800Kbps)
#RelayBandwidthBurst 200 KBytes # But allow bursts up to 200KB (1600Kb)
##
## We define this because 10 GB isn't that much, so ratelimiting speed
## helps prolong our usefulness each day.
RelayBandwidthRate 200 KBytes
RelayBandwidthBurst 8000 KBytes

## Use these to restrict the maximum traffic per day, week, or month.
## Note that this threshold applies separately to sent and received bytes,
Expand Down

0 comments on commit 9c5d80a

Please sign in to comment.