Hey,
the easiest solution that comes to mind is a cronjob/systemd timer/whatever that modifies the config file and sends a SIGHUP to tor to trigger a config reload.
I'm not very familiar with the codebase, so I can't guarantee that reloading the config file applies new (Relay)BandwithRate settings, but from the glances I took at the code it does seem like it should do it. Please someone verify or falsify this claim.
ajs124
On Sun, 6 Dec 2015 21:38:05 +0100 Zalezny Niezalezny zalezny.niezalezny@gmail.com wrote:
Hi All,
this is my first post on this list so warm welcome to every one a specialy to Tor developers.
On my servers I`m running paralllel prod servers with tor relays on the separate IP. I`m supporting tor network for free with high speed tor relays but I need to customize the time when my server will share 100% of its resources for tor and when traffic will be limited.
Is it possible to schedule the time when bandwith will looks as follow:
8:00 - 18:00 - Tor relay bandwith 250kb/s
18:00 - 8:00 - Tor relay bandwith 10 000kb/s
How may I schedule this in tor relay ? Is it possible to limit traffic on the client or I need to do it on my firewall ?
Thanks in advance for any feedback.