projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1290646
)
Add workaround for new Tor configuration requirement
author
Paul Wise
<pabs@debian.org>
Tue, 25 Sep 2018 02:27:04 +0000
(10:27 +0800)
committer
Paul Wise
<pabs@debian.org>
Tue, 25 Sep 2018 02:31:49 +0000
(10:31 +0800)
See-also: https://trac.torproject.org/projects/tor/ticket/27849
modules/onion/templates/torrc-header.erb
patch
|
blob
|
history
diff --git
a/modules/onion/templates/torrc-header.erb
b/modules/onion/templates/torrc-header.erb
index
b45b81d
..
5756815
100644
(file)
--- a/
modules/onion/templates/torrc-header.erb
+++ b/
modules/onion/templates/torrc-header.erb
@@
-1,4
+1,10
@@
+<%- if scope.function_has_role(['onionbalance']) -%>
+# Workaround https://trac.torproject.org/projects/tor/ticket/27849
+# FIXME: remove this when the bug is fixed
+SocksPort 9050
+<%- else -%>
SocksPort 0
+<%- end -%>
Log notice syslog
<%- if has_variable?("tor_ge_0_2_9") && @tor_ge_0_2_9 -%>