[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs