[tor-bugs] #25173 [Core Tor/Tor]: No Control Socket when DisableNetwork and User options are set

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Feb 8 04:55:17 UTC 2018


#25173: No Control Socket when DisableNetwork and User options are set
--------------------------+------------------------------------
 Reporter:  iry           |          Owner:  (none)
     Type:  defect        |         Status:  needs_information
 Priority:  Medium        |      Milestone:  Tor: 0.3.3.x-final
Component:  Core Tor/Tor  |        Version:  Tor: 0.3.1.9
 Severity:  Normal        |     Resolution:
 Keywords:                |  Actual Points:
Parent ID:                |         Points:
 Reviewer:                |        Sponsor:
--------------------------+------------------------------------

Comment (by arma):

 My guess is that we defer opening the unix domain socket here, and then we
 never call retry_all_listeners() again from config.c because our config
 hasn't changed.

 There's a call to retry_all_listeners() in main.c, in this thing called
 retry_listeners_callback(), except it runs
 {{{
   if (!net_is_disabled()) {
     retry_all_listeners(NULL, NULL, 0);
 }}}
 so when net_is_disabled, it just never calls retry_all_listeners again.

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


More information about the tor-bugs mailing list