namecoin / StemNS

Implement Proposition 279 (Pluggable Naming) w/o changing Tor (Stem port)
https://www.namecoin.org/
The Unlicense
7 stars 9 forks source link

Copy control connection management code from onion-grater #31

Open JeremyRand opened 2 years ago

JeremyRand commented 2 years ago

Currently, StemNS exits when the control port is disconnected. This is fine for Tor Launcher contexts, but is not desirable for service contexts such as Whonix, Tails, and winsvcwrap. It looks like onion-grater already has control connection management code that is reasonably battle-hardened; we should probably just copy that code.

JeremyRand commented 2 years ago

Note that this is blocking a fix for a privacy leak in ncdns-nsis's Tor configuration support, which allows an attacker with access to the event log to determine when Tor Browser was exited by the user.