<div dir="ltr"><div><div><div><div>Hi, <br><br></div>thanks for Your reply. <br><br></div><div>I thought about it, the best solution for me will be to change Bandwith settings during working hours using crontab. <br><br></div><div>I will prepare two separate configuration files with different Bandwidth settings and using it, two times per day cronjob will increase/decrease bandwith for TOR. <br></div><div>This should be the best solution in that case. <br><br><br></div><div>ok , if I will replace configuration file with the new settings, do I need to reload or restart my tor node ?<br></div><div>I do not want to loose my active connections. How to do it properly ?<br><br><br></div><div>Cheers<br><br></div><div>Zalezny<br></div><div><br><br></div><div><br><br></div></div></div></div><div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br>
<table style="border-top:1px solid #d3d4de">
        <tr>
        <td style="width:55px;padding-top:13px"><a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif" alt="" width="46" height="29" style="width: 46px; height: 29px;"></a></td>
                <td style="width:470px;padding-top:12px;color:#41424e;font-size:13px;font-family:Arial,Helvetica,sans-serif;line-height:18px">Virus-free. <a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link" target="_blank" style="color:#4453ea">www.avast.com</a>
                </td>
        </tr>
</table><a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"></a></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jun 11, 2017 at 7:55 AM, Paul M Furley <span dir="ltr"><<a href="mailto:paul@paulfurley.com" target="_blank">paul@paulfurley.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Zalezny,<br>
<span class=""><br>
On 11/06/17 15:29, Zalezny Niezalezny wrote:<br>
> Hi,<br>
><br>
> I have 100mbit Up/Down connection at home. Most of the day, my<br>
> connection is not use. Mostly between 22:00-17:00.<br>
><br>
> I would like to share my Internet connection for Tor. If I will setup<br>
> some crontabs to start/stop my tor relay between that hours, will it<br>
> work ?  Does it make sense ? Will TOR network know that my relay is<br>
> working only between 22:00 and 17:00 and will push some more traffic to me ?<br>
><br>
> How to properly configure such a relay which is working only for a few<br>
> hours per day ?<br>
<br>
</span>Rather than starting & killing Tor with crontabs, I think you can use<br>
AccountingStart and AccountingMax config settings to achieve this.<br>
<br>
<a href="https://www.torproject.org/docs/tor-manual-dev.html.en" rel="noreferrer" target="_blank">https://www.torproject.org/<wbr>docs/tor-manual-dev.html.en</a><br>
<br>
That way you can get Tor to *start* at the right time (with<br>
AccountingStart) - the only issue I can see is getting it to stop at the<br>
right time.<br>
<br>
AccountingMax will stop Tor when the number of *bytes* has been reached,<br>
so if your line was being used flat out, this would be easy to calculate<br>
based on the your line's data rate.<br>
<br>
You might need to have a play with a low AccountingMax setting and see<br>
what happens. When you first launch a relay it won't get much traffic<br>
but it will gradually increase over the coming weeks.<br>
<br>
Cheers,<br>
<br>
Paul<br>
<br>
<br>______________________________<wbr>_________________<br>
tor-relays mailing list<br>
<a href="mailto:tor-relays@lists.torproject.org">tor-relays@lists.torproject.<wbr>org</a><br>
<a href="https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays" rel="noreferrer" target="_blank">https://lists.torproject.org/<wbr>cgi-bin/mailman/listinfo/tor-<wbr>relays</a><br>
<br></blockquote></div><br></div>