diff options
author | Joey Hess <joeyh@joeyh.name> | 2016-11-14 16:35:45 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2016-11-14 16:47:56 -0400 |
commit | a5584e1a61861dff0835f7ea4e366e393c0fd294 (patch) | |
tree | 5e9b46f0404cad2380708418ef250b1cb8ac9368 /doc | |
parent | fbaf45d0f22aa74df19f5d765a8b0ee4d3526a20 (diff) |
use socket for tor hidden service
This avoids needing to bind to the right port before something else
does.
The socket is in /var/run/user/$uid/ which ought to be writable by only
that uid. At least it is on linux systems using systemd.
For Windows, may need to revisit this and use ports or something.
The first version of tor to support sockets for hidden services
was 0.2.6.3. That is not in Debian stable, but is available in
backports.
This commit was sponsored by andrea rota.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/git-annex-enable-tor.mdwn | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/git-annex-enable-tor.mdwn b/doc/git-annex-enable-tor.mdwn index 961eef172..b44cf817c 100644 --- a/doc/git-annex-enable-tor.mdwn +++ b/doc/git-annex-enable-tor.mdwn @@ -4,13 +4,13 @@ git-annex enable-tor - enable tor hidden service # SYNOPSIS -git annex enable-tor localport +git annex enable-tor userid uuid # DESCRIPTION This plumbing-level command enables a tor hidden service for git-annex, -using the specified local port number. It outputs to stdout a line -of the form "address.onion:onionport" +using the specified repository uuid and userid. +It outputs to stdout a line of the form "address.onion:onionport socketfile" This command has to be run by root, since it modifies `/etc/tor/torrc`. |