[tor-talk] Does Tor support ControlSocket?

nusenu nusenu at openmailbox.org
Mon Feb 15 14:21:24 UTC 2016



me at beroal.in.ua:
> On 15.02.16 14:07, nusenu wrote:
>> me at beroal.in.ua:
>>> Hi. Some old discussions on "stem" and "vidalia" suggest that Tor may be
>>> controlled via a Unix domain socket. This seems like a good way to
>>> control Tor on Unix; I just need to add a user who will control Tor to
>>> the "tor" group. But I can't find anything like a documentation.
>> Did you look in to tor's man page?
>>
>> the relevant torrc option is called:
>> ControlSocket ;)
> {{{
> Permissions on directory /var/run/tor are too permissive.
> Before Tor can create a control socket in "/var/run/tor/control", the
> directory "/var/run/tor" needs to exist, and to be accessible only by
> the user account that is running Tor.
> }}}
> Why are not permissions 0770 allowed?

Did you search the man page?

Maybe this is of use for you:

>        ControlSocketsGroupWritable 0|1
>            If this option is set to 0, don’t allow the filesystem group to
>            read and write unix sockets (e.g. ControlSocket). If the option is
>            set to 1, make the control socket readable and writable by the
>            default GID. (Default: 0)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <http://lists.torproject.org/pipermail/tor-talk/attachments/20160215/908481b6/attachment.sig>


More information about the tor-talk mailing list