aboutsummaryrefslogtreecommitdiff
path: root/git-annex.cabal
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-11-14 13:26:34 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-11-14 13:48:35 -0400
commitfbaf45d0f22aa74df19f5d765a8b0ee4d3526a20 (patch)
treecfa7b6d0f5764527e3776f4a4a513dd26280681a /git-annex.cabal
parente7088c519678f63f460646cc19c3e25423da4f00 (diff)
git-annex enable-tor command
Tor unfortunately does not come out of the box configured to let hidden services register themselves on the fly via the ControlPort. And, changing the config to enable the ControlPort and a particular type of auth for it may break something already using the ControlPort, or lessen the security of the system. So, this leaves only one option to us: Add a hidden service to the torrc. git-annex enable-tor does so, and picks an unused high port for tor to listen on for connections to the hidden service. It's up to the caller to somehow pick a local port to listen on that won't be used by something else. That may be difficult to do.. This commit was sponsored by Jochen Bartl on Patreon.
Diffstat (limited to 'git-annex.cabal')
-rw-r--r--git-annex.cabal1
1 files changed, 1 insertions, 0 deletions
diff --git a/git-annex.cabal b/git-annex.cabal
index 65abc8d32..dea5eb700 100644
--- a/git-annex.cabal
+++ b/git-annex.cabal
@@ -1063,6 +1063,7 @@ Executable git-annex
Utility.ThreadLock
Utility.ThreadScheduler
Utility.Tmp
+ Utility.Tor
Utility.Touch
Utility.Url
Utility.UserInfo