[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-relays] Custom bandwith for different time ranges




On 7 Dec 2015, at 09:39, ajs124 <tor@xxxxxxxxx> wrote:

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.

Reloading the config file changes all the settings.
For the few settings where it doesn't, tor will warn you, or refuse to reload the config.


ajs124

On Sun, 6 Dec 2015 21:38:05 +0100
Zalezny Niezalezny <zalezny.niezalezny@xxxxxxxxx> 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.
_______________________________________________
tor-relays mailing list
tor-relays@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays

Tim Wilson-Brown (teor)

teor2345 at gmail dot com
PGP 968F094B

teor at blah dot im
OTR CAD08081 9755866D 89E2A06F E3558B7F B5A9D14F

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

_______________________________________________
tor-relays mailing list
tor-relays@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays