[tor-relays] current HSDir flag requirements

Scott Bennett bennett at sdf.org
Wed May 26 06:18:32 UTC 2021


Logforme <m7527 at abc.se> wrote:

> On 2021-05-22 11:31:12, "Scott Bennett" <bennett at sdf.org> wrote:
>
> >      What are all the current requirements for a relay to get a
> >HSDir flag?  96 (97?) hours of uptime and what else?
> >      Can someone tell me what my relay, MYCROFTsOtherChild, is
> >missing for a HSDir flag?
> >
     First, thank you for your reply.

> From the spec: 
> https://github.com/torproject/torspec/blob/master/dir-spec.txt
>
> "HSDir" -- A router is a v2 hidden service directory if it stores and
>     serves v2 hidden service descriptors, has the Stable and Fast flag, 
> and the
>     authority believes that it's been up for at least 96 hours (or the 
> current
>     value of MinUptimeHidServDirectoryV2).
>
> "Fast" -- A router is 'Fast' if it is active, and its bandwidth is 
> either in
>     the top 7/8ths for known active routers or at least 100KB/s.

     Up until last night when I had to reboot my system twice a few hours
apart, tor had been running for more than 12 days.  It had both Fast and
Stable flags, but no HSDir flag at any time since it started running.
>
> If you look at the concensus health 
> (https://consensus-health.torproject.org/), go to the bottom and enter 
> your relay nickname you will see what each of the authorities think 
> about your relay.

     Thank you for the link.  I've bookmarked it for future reference,
although the page is a bit difficult to interpret when seen with lynx(1).

> moria1 and bastet are very stingy about handing out HSDir. I don't think 
> any of my relays ever has gotten it from them.
> Of the rest, the authorities that think your relay is "Fast" has also 
> awarded it HSDir. Unfortunately 3 don't think the relay is "Fast" so no 
> HSDir. And with only a 4/9 vote the relay don't get the HSDir flag.
>
     I don't notice any change in the specification you cited above, but
I think something *has* changed.
     Up until about seven months ago, IIRC, it had always gotten the HSDir
flag by 97 hours of uptime.  Then the flag began to be both assigned and
revoked at random times.  That continued for a bit over two months, I think,
before the flag disappeared forever.  I interpret that as meaning that one
or more criteria being used by one or more authorities has changed, so I am
trying to find out what actually changed in case there is something I can
do to return my relay to HSDir service.
     A further question I would like to raise is why do the Authority relays
use different criteria from one to another for the automatic assignment of
flags?  Should they not be consistent in using the same rules?


                                  Scott Bennett, Comm. ASMELG, CFIAG
**********************************************************************
* Internet:   bennett at sdf.org   *xor*   bennett at freeshell.org  *
*--------------------------------------------------------------------*
* "A well regulated and disciplined militia, is at all times a good  *
* objection to the introduction of that bane of all free governments *
* -- a standing army."                                               *
*    -- Gov. John Hancock, New York Journal, 28 January 1790         *
**********************************************************************


More information about the tor-relays mailing list