[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: Bandwidth shaping by time of day / week / month? Adding that info to Tor protocol?
On Wed, Jan 25, 2006 at 10:27:45PM -0800, Scarab wrote:
> I'm new to the list. Perhaps this has been covered already, but are
> there any plans to add cron-style bandwidth shaping options to Tor? I
> mean using the common crontab notation for specifying arbitrary time
> periods and bandwidth throttles within those periods. In my case, I want
> a 20KB limit from 8am to 5pm Mon-Fri, no limit outside those hours. With
> a cron-style implementation it'd be easy to do arbitrarily complex
> shaping, i.e. cap Tor at 30KB on a specific night if a remote backup was
> scheduled to occur, etc.
>
> I'd like to ramp the rate on my end-node up to the full 50KB capacity of
> the line when
> I'm done using my ADSL connection for the day, but can't now do this
> without stopping / restarting Tor, re-writing the config file, etc. Also
> I'd prefer to keep my server up all the time in service of the overall
> stability of the network.
Using one of the 0.1.1.x Tor releases, set "ControlPort 9051" in your
torrc before you start Tor, and then
telnet localhost 9051
authenticate
setconf bandwidthrate="50 KB"
quit
I'm sure you can automate this process via netcat or the like.
Once you've got your script working, can you publish it here
so others can use it and improve it?
Thanks!
--Roger