[tor-bugs] #8200 [Tor]: Explicit IP Address in torrc produces stray (null) in controller event

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Feb 10 21:44:59 UTC 2013


#8200: Explicit IP Address in torrc produces stray (null) in controller event
-----------------------+----------------------------------------------------
 Reporter:  arma       |          Owner:                    
     Type:  defect     |         Status:  new               
 Priority:  normal     |      Milestone:  Tor: 0.2.4.x-final
Component:  Tor        |        Version:                    
 Keywords:  tor-relay  |         Parent:                    
   Points:             |   Actualpoints:                    
-----------------------+----------------------------------------------------
 First, start your Tor with "address 18.244.0.1"

 Second, do this on the control port:

 {{{
 $ telnet localhost 9051
 Trying ::1...
 Trying 127.0.0.1...
 Connected to localhost.
 Escape character is '^]'.
 authenticate
 250 OK
 setevents status_server
 250 OK
 getinfo address
 650 STATUS_SERVER NOTICE EXTERNAL_ADDRESS ADDRESS=18.244.0.1
 METHOD=CONFIGURED (null)
 250-address=18.244.0.1
 250 OK
 }}}

 That happens because the end of resolve_my_address() calls
 {{{
      control_event_server_status(LOG_NOTICE,
                                  "EXTERNAL_ADDRESS ADDRESS=%s METHOD=%s
 %s%s",
                                  addr_string, method, h?"HOSTNAME=":"",
 h);
 }}}

 which says h even when h is NULL.

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


More information about the tor-bugs mailing list