[tor-relays] Relay Control Port

nusenu nusenu-lists at riseup.net
Fri Sep 10 16:59:38 UTC 2021


Matt Traudt:
> Relays typically don't need a ControlPort or ControlSocket.
> 
> That said, having one that is only available on localhost (or via the
> local filesystem with proper permissions) isn't really a problem.
> 
> If you really don't want that ControlSocket and you're using something
> similar to Debian, it is getting set in
> /usr/share/tor/tor-service-defaults-torrc. Comment it out there and
> reload tor.
> 
> Warning: that these files in /usr/share/tor aren't supposed to be
> edited, and if the tor package ever has an update that changes them, the
> update will be less smooth (e.g. it will refuse to work
> non-interactively, or it may clobber your changes).

That file is not meant to be changed indeed.

The better way to disable ControlSocket is to
edit the torrc file (not the defaults-torrc):

ControlSocket 0
will disable it regardless what the same option says in the defaults file.


kind regards,
nusenu

-- 
https://nusenu.github.io


More information about the tor-relays mailing list