[tor-bugs] #7646 [Core Tor/Tor]: fix/enhance getinfo ns/id/* commands

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Jan 4 03:36:24 UTC 2019


#7646: fix/enhance getinfo ns/id/* commands
-------------------------------------------------+-------------------------
 Reporter:  mr-4                                 |          Owner:  (none)
     Type:  defect                               |         Status:  new
 Priority:  Medium                               |      Milestone:  Tor:
                                                 |  unspecified
Component:  Core Tor/Tor                         |        Version:  Tor:
                                                 |  0.2.4.7-alpha
 Severity:  Normal                               |     Resolution:
 Keywords:  tor-client, needs-spec, tor-control  |  Actual Points:
Parent ID:                                       |         Points:
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by teor):

 Replying to [comment:21 wagon]:
 > The following may be relevant for this ticket. I don't think we have to
 have full duplicates for `ControlPort` commands because it confuses users.

 But removing duplicates breaks old code, so we need to be careful when we
 do that. If you want to remove this duplicate, please open a separate
 ticket.

 > Now `GETINFO` commands `dir/server/all` and `desc/all-recent` return
 identical outputs if `UseMicrodescriptors` is set to 0. Which if these
 commands should be preferred if needed?

 I don't know. If they return identical outputs for all Tor options, then
 it literally doesn't matter which one you use. If their outputs change
 when Tor's options change, then use the one that works for your code when
 the options change.

 They are implemented differently, so dir/server/all might be more memory
 efficient in some cases.

 You can also use md/all if you want microdescriptors, but only on Tor
 0.3.5.1-alpha and later.

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


More information about the tor-bugs mailing list