Autore: Patrick Schleizer Data: To: tails-dev, Damian Johnson, Micah Lee Vecchi argomenti: Re: [Tails-dev] Tails control port filter proxy in Whonix? Oggetto: [Tails-dev] onionshare does not notice when control port
disconnects - was: Tails control port filter proxy in Whonix?
anonym: > Patrick Schleizer:
>> When the filter is terminated, onionshare apparently does not notice
>> that. Would be better if onionshare would notice that. Is that a bug?
>
> It seems like a "bug" in onionshare, or even the control port language
> protocol itself since it (AFAICT) doesn't have a concept of the server
> quitting mid-session. No signal is sent, and I haven't even found an
> event one can explicitly subscribe to to learn when it shuts down. In
> fact, any stem-application will, for instance, notice that Tor closed
> its control port on the next send() or recv() on the socket, and then
> throw a stem.SocketClosed.
Both nc and telnet will notice and automatically terminate as expected
once the filter was stopped. Therefore I guess the control protocol may
be sufficient.
Do you think this could be a bug in onionshare or onionshare? //cc
Damian, Micah