
Dear all Sorry if this is the wrong list (please tell me if it is). 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: 1) Is there anyway to restart Tor without losing the HSDir flag? 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? Best Gareth --- Dr Gareth Owen School of Computing University of Portsmouth

On Mon, Mar 3, 2014 at 6:02 AM, Gareth Owen <gareth.owen@port.ac.uk> wrote:
Dear all
Sorry if this is the wrong list (please tell me if it is).
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:
1) Is there anyway to restart Tor without losing the HSDir flag? 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?
from comment 1 in, https://trac.torproject.org/projects/tor/ticket/8243 it seems that uptime is self-reported in the descriptor and that the directory authorities probably shouldn't be trusting it rather than messing with that, maybe you want to setup an experiment with shadow http://shadow.github.io/ and turn on TestingTorNetwork 1 so that MinUptimeHidServDirectoryV2 0 https://www.torproject.org/docs/tor-manual.html.en
Best Gareth
--- Dr Gareth Owen School of Computing University of Portsmouth
_______________________________________________ tor-dev mailing list tor-dev@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev

Arlo Thanks for your feedback. It appears that it isn't possible to game the uptime since this commit: https://gitweb.torproject.org/tor.git/commit/f7a3cdc8f27c2306cf06d742af63846... Thanks for the pointer to shadow. All the best Gareth On 3 March 2014 14:02, Gareth Owen <gareth.owen@port.ac.uk> wrote:
Dear all
Sorry if this is the wrong list (please tell me if it is).
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:
1) Is there anyway to restart Tor without losing the HSDir flag? 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?
Best Gareth
--- Dr Gareth Owen School of Computing University of Portsmouth
participants (2)
-
Arlo Breault
-
Gareth Owen