From 225cd328a6530458d44380890052748b6631d156 Mon Sep 17 00:00:00 2001 From: n8fr8 Date: Tue, 12 Feb 2013 14:05:52 +0700 Subject: [PATCH] tuning of torrc to try to resolve bugs some users cannot connect to localhost tor control port --- res/raw/torrc | 18 ++++++++---------- res/raw/torrctether | 14 +++++++++----- 2 files changed, 17 insertions(+), 15 deletions(-) diff --git a/res/raw/torrc b/res/raw/torrc index c86ad2b8..fd5b5062 100644 --- a/res/raw/torrc +++ b/res/raw/torrc @@ -1,16 +1,14 @@ SocksPort 9050 -SafeSocks 1 +SOCKSListenAddress 127.0.0.1 +SafeSocks 0 +TestSocks 1 +WarnUnsafeSocks 1 Log notice stdout -ControlListenAddress 127.0.0.1 ControlPort 9051 +ControlListenAddress 127.0.0.1 CookieAuthentication 1 -RelayBandwidthRate 20 KBytes -RelayBandwidthBurst 20 KBytes -AutomapHostsOnResolve 1 -TransListenAddress 127.0.0.1 TransPort 9040 -DNSListenAddress 127.0.0.1 +TransListenAddress 127.0.0.1 DNSPort 5400 -HardwareAccel 1 -SafeLogging 1 -TestSocks 1 \ No newline at end of file +DNSListenAddress 127.0.0.1 +AvoidDiskWrites 1 \ No newline at end of file diff --git a/res/raw/torrctether b/res/raw/torrctether index 3edb5c81..4d8fbc68 100644 --- a/res/raw/torrctether +++ b/res/raw/torrctether @@ -1,14 +1,18 @@ SocksPort 9050 -SafeSocks 1 +SOCKSListenAddress 0.0.0.0 +SafeSocks 0 +TestSocks 1 +WarnUnsafeSocks 1 Log notice stdout -ControlListenAddress 127.0.0.1 ControlPort 9051 +ControlListenAddress 0.0.0.0 CookieAuthentication 1 -RelayBandwidthRate 20 KBytes -RelayBandwidthBurst 20 KBytes +RelayBandwidthRate 100 KBytes +RelayBandwidthBurst 100 KBytes UseBridges 0 AutomapHostsOnResolve 1 TransListenAddress 0.0.0.0 TransPort 9040 DNSListenAddress 0.0.0.0 -DNSPort 5400 \ No newline at end of file +DNSPort 5400 +AvoidDiskWrites 1 \ No newline at end of file