make transport settings dynamic (remove from torrc)

This commit is contained in:
Nathan Freitas 2014-06-11 20:23:38 -04:00
parent 2fe57e84ad
commit 4716696515
2 changed files with 4 additions and 23 deletions

View File

@ -1,11 +1,4 @@
Log notice stdout Log notice stdout
ControlPortWriteToFile /data/data/org.torproject.android/app_bin/control.txt ControlPortWriteToFile /data/data/org.torproject.android/app_bin/control.txt
ControlPort auto ControlPort auto
CookieAuthentication 1 CookieAuthentication 1
TransPort 9040
TransListenAddress 127.0.0.1
DNSPort 5400
DNSListenAddress 127.0.0.1
AvoidDiskWrites 1
VirtualAddrNetwork 10.192.0.0/10
AutomapHostsOnResolve 1

View File

@ -1,16 +1,4 @@
SocksPort 9050 Log debug stdout
SOCKSListenAddress 127.0.0.1 ControlPortWriteToFile /data/data/org.torproject.android/app_bin/control.txt
SafeSocks 0 ControlPort auto
TestSocks 1
WarnUnsafeSocks 1
Log info stdout
ControlListenAddress 127.0.0.1
ControlPort 9051
CookieAuthentication 1 CookieAuthentication 1
TransPort 9040
TransListenAddress 127.0.0.1
DNSPort 5400
DNSListenAddress 127.0.0.1
AvoidDiskWrites 1
VirtualAddrNetwork 10.192.0.0/10
AutomapHostsOnResolve 1