[tor-bugs] #18154 [Tor]: attempt to open a socket after DisableNetwork=1 transition

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Jan 27 03:41:54 UTC 2016


#18154: attempt to open a socket after DisableNetwork=1 transition
--------------------+---------------------
 Reporter:  mcs     |          Owner:
     Type:  defect  |         Status:  new
 Priority:  Medium  |      Milestone:
Component:  Tor     |        Version:
 Severity:  Normal  |     Resolution:
 Keywords:          |  Actual Points:
Parent ID:          |         Points:
  Sponsor:          |
--------------------+---------------------

Comment (by teor):

 This could be due to a race condition where Tor starts a network
 connection attempt before you issue the SETCONF, then the SETCONF
 completes, then the socket connection attempt occurs.

 I'm not sure what we can do to fix this, but we might be able to make the
 race harder to trigger.

 Are you using 0.2.8.0-alpha-dev in 6.0a1?
 We refactored periodic events in 0.2.8, which might have made this race
 easier to trigger.

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


More information about the tor-bugs mailing list