Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #20594
Closed (moved) (moved)
Open
Issue created Nov 07, 2016 by David Goulet@dgoulet🐼

hs: Make HSDir produce HS statistics for prop224

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 ;).

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking