Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
T
Tor
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,066
    • Issues 1,066
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 17
    • Merge Requests 17
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • The Tor Project
  • Core
  • Tor
  • Issues
  • #20594

Closed
Open
Opened Nov 07, 2016 by David Goulet@dgoulet😈Owner

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
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: tpo/core/tor#20594