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

Re: [tor-relays] Why does it take 4 days to get the HSDir flag back?



On 23.05.20 11:40, Roger Dingledine wrote:

> On Thu, May 21, 2020 at 08:03:03PM +0200, tschador@xxxxxxxxx wrote:
>> after an update of tor it always take about 4 days to get the HSDir flag
>> back while the other flags are set very qick. What is the reason for
>> this delay?
> 
> It's because the directory authorities are configured to wait that long
> before assigning the flag.
> 
> See the MinUptimeHidServDirectoryV2 option:
> https://gitweb.torproject.org/tor.git/tree/src/feature/dirauth/dirauth_options.inc?h=tor-0.4.3.5#n55
> 
> It used to be 25 hours, long ago, with the reasoning that if a relay
> hasn't been up for a day, then it's too likely to go away again soon,
> and this churn causes reliability problems in reaching onion services.
> 
> We changed it to 96 hours in late 2014, when we saw a Sybil attack (many
> new relays suddenly appearing) and realized that while they wouldn't
> become Guards for a while, they would become HSDirs quite quickly, and
> maybe we want to give ourselves a few more days after new relays appear
> before they get to become HSDirs.

Thank you very much for the detailed explanation, Roger.
_______________________________________________
tor-relays mailing list
tor-relays@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays