[tor-bugs] #4636 [Tor Client]: Add GETINFO interface_address

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Sun Dec 4 10:36:53 UTC 2011


#4636: Add GETINFO interface_address
----------------------------+-----------------------------------------------
    Reporter:  krkhan       |       Owner:  krkhan            
        Type:  enhancement  |      Status:  reopened          
    Priority:  normal       |   Milestone:  Tor: 0.2.3.x-final
   Component:  Tor Client   |     Version:                    
  Resolution:               |    Keywords:                    
      Parent:               |      Points:                    
Actualpoints:               |  
----------------------------+-----------------------------------------------
Changes (by rransom):

  * status:  closed => reopened
  * resolution:  wontfix =>
  * milestone:  => Tor: 0.2.3.x-final


Comment:

 Tor appears to use the result of `get_interface_address6` for purposes
 other than ‘checking whether our address has changed’, so the
 documentation comment may be wrong.  Also:

  * If the point of this GETINFO item is to let controllers know what Tor
 currently thinks its address is, we should expose that piece of
 information to the control port.  (That would be even harder for
 controllers to figure out on their own than what the current
 implementation of `get_interface_address6` would return.)
  * Once nickm's bug1827 branch is merged, we will have OS-specific methods
 of finding lists of network interface addresses.  Exposing all of those
 might be useful to a controller.
  * If the goal is to help controllers set up port forwarding for Tor,
 perhaps we should expose whatever information Tor passes to `tor-fw-
 helper` to the control port.
  * Do `GETINFO net/listeners/or` and `GETINFO net/listeners/dir` help
 here?

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


More information about the tor-bugs mailing list