[tor-bugs] #10405 [Tor]: Bug: Tried to open a socket with DisableNetwork set.

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat May 17 05:10:23 UTC 2014


#10405: Bug: Tried to open a socket with DisableNetwork set.
------------------------+--------------------------------
     Reporter:  arma    |      Owner:
         Type:  defect  |     Status:  reopened
     Priority:  normal  |  Milestone:  Tor: 0.2.5.x-final
    Component:  Tor     |    Version:
   Resolution:          |   Keywords:  tor-client
Actual Points:          |  Parent ID:
       Points:          |
------------------------+--------------------------------

Comment (by arma):

 To be clear,
 {{{
 --- a/src/or/main.c
 +++ b/src/or/main.c
 @@ -1246,7 +1246,7 @@ run_scheduled_events(time_t now)
        now + DESCRIPTOR_FAILURE_RESET_INTERVAL;
    }

 -  if (options->UseBridges)
 +  if (!options->DisableNetwork && options->UseBridges)
      fetch_bridge_descriptors(options, now);

    /* 1b. Every MAX_SSL_KEY_LIFETIME_INTERNAL seconds, we change our
 }}}
 fixes it for me.

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


More information about the tor-bugs mailing list