On Mon, Feb 12, 2018 at 03:09:00PM +0000, nusenu wrote:
NOTICE: moria1 had 756 HSDir flags in its vote but the consensus had 2583
I tried to find it on trac, I guess this is: https://trac.torproject.org/projects/tor/ticket/19162
Yes, correct. moria1 runs all sorts of experimental patches.
One of them is choosing the HSDir flag for relays based on:
+ hsdir_tk = find_nth_long(tks, n_active, n_active*3/4); + hsdir_bandwidth = find_nth_uint32(bandwidths_kb, n_active, n_active/4);
That is, the relay needs to be in the top quarter of the relays by time-known, and in the top three-quarters of the relays by bandwidth weights (as decided by moria1's bwauth).
I think the time-known idea is a potentially really smart one, since if we do it right we force attacking hsdir relays to be in the network for a long time before they are allowed to become hsdirs.
--Roger