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

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Dec 5 15:01:50 UTC 2012


#7646: fix/enhance getinfo ns/id/* commands
--------------------+-------------------------------------------------------
 Reporter:  mr-4    |          Owner:     
     Type:  defect  |         Status:  new
 Priority:  normal  |      Milestone:     
Component:  Tor     |        Version:     
 Keywords:          |         Parent:     
   Points:          |   Actualpoints:     
--------------------+-------------------------------------------------------
 1. Fix getinfo ns/id/*
 See the last few comments on #7059 with regards to the ns/id/* getinfo
 command.

 Currently, it only returns information about tor nodes which have
 microdescriptors and ignores those that use "normal" descriptors, in other
 words, it behaves exactly like the md/id/node command.

 I can understand the rationale behind having desc/id/node to only show
 information about tor nodes with "normal" descriptors and I can understand
 the reasons for md/id/node to do the same for tor nodes with
 microdescriptors, but ns/id/node should, in my view, be implemented in
 such a way to return information about all tor nodes, regardless of
 whether or not they use microdescriptors, particularly so because by
 definition of this command in control-specs.txt it is supposed to return
 V2 directory info on all nodes without making such distinctions.

 2. Enhance ns/* - just an idea (not a bug!): currently, there is no way I
 could get information on a tor node by specifying its ip address.

 I would love to be able to get that information by executing something
 like "getinfo ns/ip/<ip_address>" (note the "ip" in the middle!). This
 should return information on all tor nodes with the specified ip address
 (and/or netmask), regardless of whether they use microdescriptors or not.

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


More information about the tor-bugs mailing list