[tor-commits] [orbot/master] torrc: remove deprecated DNSListenAddress and obsolete WarnUnsafeSocks

n8fr8 at torproject.org n8fr8 at torproject.org
Thu Sep 13 16:56:13 UTC 2018


commit f74dea2489077d27b6024b727b6a25759475744a
Author: Unpublished <unpublished at gmx.net>
Date:   Fri Aug 24 17:34:19 2018 +0200

    torrc: remove deprecated DNSListenAddress and obsolete WarnUnsafeSocks
---
 .../src/main/java/org/torproject/android/service/TorService.java     | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/orbotservice/src/main/java/org/torproject/android/service/TorService.java b/orbotservice/src/main/java/org/torproject/android/service/TorService.java
index f63eb255..c7cc708e 100644
--- a/orbotservice/src/main/java/org/torproject/android/service/TorService.java
+++ b/orbotservice/src/main/java/org/torproject/android/service/TorService.java
@@ -696,7 +696,6 @@ public class TorService extends Service implements TorServiceConstants, OrbotCon
         extraLines.append("SOCKSPort ").append(socksPortPref).append(isolate).append('\n');
         extraLines.append("SafeSocks 0").append('\n');
         extraLines.append("TestSocks 0").append('\n');
-        extraLines.append("WarnUnsafeSocks 1").append('\n');
     	if (Prefs.openProxyOnAllInterfaces())
     		extraLines.append("SocksListenAddress 0.0.0.0").append('\n');
 
@@ -716,10 +715,8 @@ public class TorService extends Service implements TorServiceConstants, OrbotCon
         String dnsPort = prefs.getString("pref_dnsport", TorServiceConstants.TOR_DNS_PORT_DEFAULT+"");
             
         extraLines.append("TransPort ").append(transPort).append('\n');
-    	extraLines.append("DNSPort ").append(dnsPort).append("\n");
+    	extraLines.append("DNSPort ").append(dnsPort).append('\n');
     	
-    	if (Prefs.useVpn())
-    		extraLines.append("DNSListenAddress 0.0.0.0").append('\n');
 
         extraLines.append("VirtualAddrNetwork 10.192.0.0/10").append('\n');
         extraLines.append("AutomapHostsOnResolve 1").append('\n');





More information about the tor-commits mailing list