[tor-talk] dynamically adjusting bandwidth
Roman Mamedov
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:
> Hello,
>
> 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
> QUIT
> EOF
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.
--
With respect,
Roman
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.torproject.org/pipermail/tor-talk/attachments/20131014/a206fbfe/attachment-0001.sig>
More information about the tor-talk
mailing list