Changes between Version 15 and Version 16 of doc/CronBandwidthLimit


Ignore:
Timestamp:
Sep 20, 2011, 4:59:36 PM (7 years ago)
Author:
nella
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • doc/CronBandwidthLimit

    v15 v16  
    33= Creating advanced bandwidth rules via Cron jobs in Linux =
    44
    5 This guide will help you set up a cron job in Linux to set periods of time when Tor is allowed to have more or less bandwidth than others. An ideal use of this would be setting the bandwidthrate and bandwidthburst to 90% of your total allowable bandwidth during the wee hours of the morning, but throttling back to about 20% when you need more bandwidth for youself during the rest of the day.
     5This guide will help you set up a cron job in Linux to set periods of time when Tor is allowed to have more or less bandwidth than others. An ideal use of this would be setting the bandwidthrate and bandwidthburst to 90% of your total allowable bandwidth during the wee hours of the morning, but throttling back to about 20% when you need more bandwidth for yourself during the rest of the day.
    66
    77This will require !NetCat for sending data to the control port for Tor.
     
    2323You can specify a limitless amount of rules for telling Tor how to manage its bandwidth. Note that every connection to the control port must end with a quit message. An example entry is below:
    2424
    25 {{{ 
     25{{{
    2626#[min] [hour] [day of month] [month] [day of week] [program to be run]
    272730 8 * * * echo -en "authenticate\r\nsetconf relaybandwidthrate=20000 relaybandwidthburst=20000\r\nquit\r\n" | nc localhost 9051