[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 13:12:38 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 yawning):
Replying to [comment:3 proper]:
> 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?
I'm not against having an option to get the behavior that you want, but
the principle of least surprise would suggest that `DisableNetwork` should
indeed disable networking, which includes not binding to ports (I would
expect a not-otherwise firewalled tor instance running with
`DisabledNetwork` to respond to a `SYN` with an immediate `RST`).
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/16161#comment:4>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list