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

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Sun Dec 4 09:31:26 UTC 2011


#4636: Add GETINFO interface_address
-------------------------+--------------------------------------------------
 Reporter:  krkhan       |          Owner:  krkhan
     Type:  enhancement  |         Status:  new   
 Priority:  normal       |      Milestone:        
Component:  Tor Client   |        Version:        
 Keywords:               |         Parent:        
   Points:               |   Actualpoints:        
-------------------------+--------------------------------------------------

Comment(by rransom):

 From src/common/address.c:
 {{{
 /** Set *<b>addr</b> to the IP address (if any) of whatever interface
  * connects to the Internet.  This address should only be used in checking
  * whether our address has changed.  Return 0 on success, -1 on failure.
  */
 int
 get_interface_address6(int severity, sa_family_t family, tor_addr_t *addr)
 }}}

 I'm not exposing this function to the control port if its result ‘should
 only be used in checking whether our address has changed’.

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


More information about the tor-bugs mailing list