[tor-talk] dynamically adjusting bandwidth
rm at romanrm.net
Sun Oct 13 22:25:01 UTC 2013
On Sun, 13 Oct 2013 17:25:02 -0400
starlight at binnacle.cx wrote:
> I've recently established a full-time relay
> running on a fast Linux router. Working nice
> with version 0.2.4.17-rc.
> Have a daily offsite backup that was butting heads
> with TOR traffic, so I wrote a 'tor_bwreduce' and
> 'tor_bwrestore' script like these:
> nc 10.92.88.1 9151 <<EOF
> AUTHENTICATE "xxx"
> SETCONF RelayBandwidthRate=60000
> SETCONF RelayBandwidthBurst=60000
Interesting... I needed a similar thing, but it never occured to me to use the
control socket. I was simply rewriting the torrc and doing '/etc/init.d/tor
reload' each time. But it did work perfectly as well.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 198 bytes
Desc: not available
More information about the tor-talk