public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* [PATCH] Tor: Use relay mode as default setting
@ 2017-11-06 17:27 Peter Müller
  0 siblings, 0 replies; only message in thread
From: Peter Müller @ 2017-11-06 17:27 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 824 bytes --]

Set the default operating mode to "relay" in the Tor WebUI
configuration page.

Running a Tor exit relay may cause legal trouble in some
countries and should not be the default setting to prevent
users from accidentally running an exit router.

Signed-off-by: Peter Müller <peter.mueller(a)link38.eu>
---
 html/cgi-bin/tor.cgi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/html/cgi-bin/tor.cgi b/html/cgi-bin/tor.cgi
index fbad2d4d9..0d235c949 100644
--- a/html/cgi-bin/tor.cgi
+++ b/html/cgi-bin/tor.cgi
@@ -106,7 +106,7 @@ if (&Header::blue_used()) {
 }
 
 $settings{'TOR_RELAY_ENABLED'} = 'off';
-$settings{'TOR_RELAY_MODE'} = 'exit';
+$settings{'TOR_RELAY_MODE'} = 'relay';
 $settings{'TOR_RELAY_ADDRESS'} = '';
 $settings{'TOR_RELAY_PORT'} = 9001;
 $settings{'TOR_RELAY_DIRPORT'} = 0;
-- 
2.13.6

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-11-06 17:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-06 17:27 [PATCH] Tor: Use relay mode as default setting Peter Müller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox