[tor-bugs] #16161 [Tor]: Tor dies on reload when swichting to 'DisableNetwork 0' when using 'DnsPort 127.0.0.1:53'

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat May 23 12:32:46 UTC 2015


#16161: Tor dies on reload when swichting to 'DisableNetwork 0' when using 'DnsPort
127.0.0.1:53'
------------------------+---------------------------
     Reporter:  proper  |      Owner:
         Type:  defect  |     Status:  new
     Priority:  normal  |  Milestone:
    Component:  Tor     |    Version:  Tor: 0.2.5.12
   Resolution:          |   Keywords:
Actual Points:          |  Parent ID:
       Points:          |
------------------------+---------------------------

Comment (by proper):

 Replying to [comment:2 arma]:
 > Ah hm -- you are wanting Tor to bind to the low-numbered dnsport on
 startup even when you specify DisableNetwork

 Yes. That's what I thought what {{{DisableNetwork 1}}} does.

 Man page is correct indeed currently.

 > When this option is set, we don’t listen for or accept any connections
 other than controller connections, and we close (and don’t reattempt) any
 outbound connections. Controllers sometimes use this option to avoid using
 the network until Tor is fully configured.

 The intuitively correct behavior that I would suggest is.

 > We close (and don’t reattempt) any outbound connections. Controllers
 sometimes use this option to avoid using the network until Tor is fully
 configured.

 Not opening listen ports should be a different option. If that is needed
 at all?

 My suggestion: when {{{DisableNetwork 1}}} is set,

 * open all ports as usual,
 * prevent any outgoing connections and
 * when receiving requests on these ports, just reply "network down" or
 something like that.

 What do you think?

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


More information about the tor-bugs mailing list