[tor-bugs] #14164 [Tor]: Controller method to get our own descriptor (was: does tor knows itself ?)

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Jan 11 18:42:52 UTC 2015


#14164: Controller method to get our own descriptor
-----------------------------+--------------------
     Reporter:  toralf       |      Owner:  atagar
         Type:  enhancement  |     Status:  new
     Priority:  minor        |  Milestone:
    Component:  Tor          |    Version:
   Resolution:               |   Keywords:
Actual Points:               |  Parent ID:
       Points:               |
-----------------------------+--------------------
Changes (by atagar):

 * type:  task => enhancement
 * component:  Stem => Tor


Comment:

 Yup. The trouble is that tor only provides methods for 'give me the
 descriptor I've downloaded about relay x'. It doesn't offer a method to
 get the descriptor *we* published.

 As such if we haven't received a descriptor about ourselves then this
 query fails. This is most often an issue for newly started relays since
 they won't be part of a consensus for up to an hour.

 Imho it would be nice if tor provided controller methods for...

  * give me my self-published server descriptor
  * give me my self-published extra-info descriptor
  * give me my self-published microdescriptor

 This won't be possible for router status entries (the get_network_status()
 method), but for all the rest tor should be capable of telling us the
 descriptor we ourselves are publishing.

 Sending this over to Nick for his thoughts.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/14164#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list