[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #20594 [Core Tor/Tor]: hs: Make HSDir produce HS statistics for prop224
#20594: hs: Make HSDir produce HS statistics for prop224
-------------------------------+---------------------------------------
Reporter: dgoulet | Owner:
Type: enhancement | Status: new
Priority: Medium | Milestone: Tor: 0.3.0.x-final
Component: Core Tor/Tor | Version:
Severity: Normal | Keywords: tor-hs, prop224, tor-spec
Actual Points: | Parent ID:
Points: 1 | Reviewer:
Sponsor: SponsorR-must |
-------------------------------+---------------------------------------
You can find in `hs_cache.c` this line which indicates the callsite where
we should gather the "uniqueness of .onion".
{{{
/* XXX: Update HS statistics. We should have specific stats for v3. */
}}}
Now here is the tricky part. HSDir can't learn a .onion address anymore
with prop224 so counting the unique blinded key we see could do the trick
but might give us a different value from what we have now. Blinded keys
will change every ~24h which is the timeframe where every relay currently
reset the HS stats so it could be fine as a representation of a unique
.onion.
This will require a dir-spec change as we'll have to add something like
this because we can't use the v2 stats (`hidserv-dir-onions-seen`):
{{{
"hidserv-dir-blindedkey-seen" SP num SP key=val SP key=val ... NL
}}}
Last thing, @cypherpunks, we know that you don't like that so when
commenting here, please tell us why you don't want it with some useful
argumentation. Thanks ;).
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/20594>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs