Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Trac
Trac
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards

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.

  • Legacy
  • TracTrac
  • Issues
  • #13425

Closed (moved)
Open
Opened Oct 15, 2014 by Karsten Loesing@karsten

Add new document type `debug` that includes digests of recently published descriptors and statuses they're referenced from

This suggestion is based on discussions with Sebastian related to #13135 (moved).

We should add a new document type, let's call it debug, that includes digests of recently published descriptors together with the valid-after/published times of statuses referencing them. This includes all kinds of descriptors published by relays/bridges, so server descriptors and extra-info descriptors, and descriptors derived from those by the directory authorities, namely microdescriptors. We should only include recently published/referenced descriptors here, which could mean in the past 24 hours.

The reason for creating a new document type is that most Onionoo clients won't care, and we shouldn't make them download something they're not interested in. There's other stuff that would go into the new document type, like vote details that can be used to debug problems with the voting process.

Example request and response (not working yet):

https://onionoo.torproject.org/debug?search=F2044413DAC2E02E3D6BCF4735A19BCA1DE97281

{
    "version": "1.1",
    "next_major_version_scheduled": "2014-11-15",
    "relays_published": "2014-10-15 15:00:00",
    "relays": [
        {
            "fingerprint": "F2044413DAC2E02E3D6BCF4735A19BCA1DE97281",
            "server_descriptors": {
                "351CB6585CF9BA311204B4E93A509183B85EBFD7": [
                    "2014-10-14 16:00:00",
                    "2014-10-14 17:00:00",
                    "2014-10-14 18:00:00",
                    "2014-10-14 19:00:00",
                    "2014-10-14 20:00:00",
                    "2014-10-14 21:00:00",
                    "2014-10-14 22:00:00",
                    "2014-10-14 23:00:00",
                    "2014-10-15 00:00:00",
                    "2014-10-15 01:00:00",
                    "2014-10-15 02:00:00",
                    "2014-10-15 03:00:00",
                    "2014-10-15 04:00:00",
                    "2014-10-15 05:00:00",
                    "2014-10-15 06:00:00",
                    "2014-10-15 07:00:00",
                    "2014-10-15 08:00:00"
                ],
                "A37A87670740D9DF0FF05EB47872D955A730FDE2": [
                    "2014-10-15 09:00:00",
                    "2014-10-15 10:00:00",
                    "2014-10-15 11:00:00",
                    "2014-10-15 12:00:00",
                    "2014-10-15 13:00:00",
                    "2014-10-15 14:00:00",
                    "2014-10-15 15:00:00"
                ]
            },
            "extrainfo_descriptors": {
                "F96656C6ED7E3334C9253E7B4F91D6ECCE854DA1": [
                    "2014-10-14 16:00:00",
                    "2014-10-14 17:00:00",
                    "2014-10-14 18:00:00",
                    "2014-10-14 19:00:00",
                    "2014-10-14 20:00:00",
                    "2014-10-14 21:00:00",
                    "2014-10-14 22:00:00",
                    "2014-10-14 23:00:00",
                    "2014-10-15 00:00:00",
                    "2014-10-15 01:00:00",
                    "2014-10-15 02:00:00",
                    "2014-10-15 03:00:00",
                    "2014-10-15 04:00:00",
                    "2014-10-15 05:00:00",
                    "2014-10-15 06:00:00",
                    "2014-10-15 07:00:00",
                    "2014-10-15 08:00:00"
                ],
                "A8DC5276EEE740F210276DEC49026270FB2B1437": [
                    "2014-10-15 09:00:00",
                    "2014-10-15 10:00:00",
                    "2014-10-15 11:00:00",
                    "2014-10-15 12:00:00",
                    "2014-10-15 13:00:00",
                    "2014-10-15 14:00:00",
                    "2014-10-15 15:00:00"
                ]
            },
            "micro_descriptors": {
                "S+wzq/7JtC5fWkQmH3pxVprpdeWpGRLvrmKr6ZO/+3Y": [
                    "2014-10-14 16:00:00",
                    "2014-10-14 17:00:00",
                    "2014-10-14 18:00:00",
                    "2014-10-14 19:00:00",
                    "2014-10-14 20:00:00",
                    "2014-10-14 21:00:00",
                    "2014-10-14 22:00:00",
                    "2014-10-14 23:00:00",
                    "2014-10-15 00:00:00",
                    "2014-10-15 01:00:00",
                    "2014-10-15 02:00:00",
                    "2014-10-15 03:00:00",
                    "2014-10-15 04:00:00",
                    "2014-10-15 05:00:00",
                    "2014-10-15 06:00:00",
                    "2014-10-15 07:00:00",
                    "2014-10-15 08:00:00",
                    "2014-10-15 09:00:00",
                    "2014-10-15 10:00:00",
                    "2014-10-15 11:00:00",
                    "2014-10-15 12:00:00",
                    "2014-10-15 13:00:00",
                    "2014-10-15 14:00:00",
                    "2014-10-15 15:00:00"
                ]
            }
        }
    ],
    "bridges_published": "2014-10-15 14:37:04",
    "bridges": []
}
To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: legacy/trac#13425