Nick Mathewson nickm@alum.mit.edu writes:
[..] plus maybe another library that would find a running Tor or launch one as needed.
Are there ideas/designs written down for this anywhere? I am interested in seeing this happen -- I took a very quick stab at it in txtorcon but realized it would be Much Better if this had co-operation from Tor processes running on the system.
For controllers, the use-case would likely be to present a user with choices (e.g. "use one of these Tors I found running, or launch a new one?") or for a "please give me an anonymous socket, whatever that takes" sort of function (which could try using a running tor first, if allowed).
Trying to enumerate via process inspection or netstat-like ways is likely not the good way forward...