Add __OwningControllerFD to allow controllers without controlports

This feature should help programs that want to launch and manage a
Tor process, as well as programs that want to launch and manage a
Tor instance in a separate thread.  Right now, they have to open a
controlport, and then connect to it, with attendant authentication
issues.  This feature allows them to just start with an
authenticated connection.

Bug 23900.
This commit is contained in:
Nick Mathewson
2017-10-18 13:36:53 -04:00
parent f0daaf8d60
commit f1bf9bf819
5 changed files with 81 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
o Minor features (API, embedding):
- Tor can now start with a preauthenticated control connection
created by the process that launched it. This feature is meant
for use by programs that want to launch and manage a Tor process
without allowing other programs to manage it as well.
For more information, see the __OwningControllerFD option
documented in control-spec.txt. Closes ticket 23900.