<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Mar 3, 2014 at 6:02 AM, Gareth Owen <span dir="ltr"><<a href="mailto:gareth.owen@port.ac.uk" target="_blank">gareth.owen@port.ac.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Dear all<div><br></div><div>Sorry if this is the wrong list (please tell me if it is).</div>
<div><br></div><div>I'm undertaking research into the tor HS DHT and have a couple of questions.  I know at present, a node must be on for 25 hours to participate in the DHT; however, periodically I wish to make small code changes to Tor and restart the node (aka fairly instantly/within minutes) but this causes me to lose the HSDir flag.  So my questions are:</div>


<div><br></div><div>1) Is there anyway to restart Tor without losing the HSDir flag?</div><div>2) Is uptime self reporting - e.g. is a node's self reported uptime trusted or is it obtained elsewhere - I couldn't find the answer in the code.  I guess what I'm getting at, is can I fake the uptime to get the HSDir flag?</div>
</div></blockquote><div><br></div><div>from comment 1 in,</div><div><a href="https://trac.torproject.org/projects/tor/ticket/8243">https://trac.torproject.org/projects/tor/ticket/8243</a></div><div>it seems that uptime is self-reported in the descriptor and</div>
<div>that the directory authorities probably shouldn't be trusting it</div><div><br></div><div>rather than messing with that, maybe you want to setup an</div><div>experiment with shadow</div><div><a href="http://shadow.github.io/">http://shadow.github.io/</a><br>
</div><div>and turn on</div><div>TestingTorNetwork 1</div><div>so that</div><div>MinUptimeHidServDirectoryV2 0</div><div><a href="https://www.torproject.org/docs/tor-manual.html.en">https://www.torproject.org/docs/tor-manual.html.en</a></div>
<div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">

<div><br></div><div>Best</div><div>Gareth</div><div><br></div><div>---</div><div>Dr Gareth Owen<br>School of Computing</div><div>University of Portsmouth</div></div>
<br>_______________________________________________<br>
tor-dev mailing list<br>
<a href="mailto:tor-dev@lists.torproject.org">tor-dev@lists.torproject.org</a><br>
<a href="https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev" target="_blank">https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev</a><br>
<br></blockquote></div><br></div></div>