From ae906d00aca893a7bf33136fbdd2f294ab0bbf46 Mon Sep 17 00:00:00 2001 From: Nathan Freitas Date: Thu, 17 Apr 2014 10:16:49 -0400 Subject: [PATCH] use 127.0.0.1 and not localhost --- src/org/torproject/android/service/TorServiceConstants.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/org/torproject/android/service/TorServiceConstants.java b/src/org/torproject/android/service/TorServiceConstants.java index 98129d96..29686f9e 100644 --- a/src/org/torproject/android/service/TorServiceConstants.java +++ b/src/org/torproject/android/service/TorServiceConstants.java @@ -15,13 +15,11 @@ public interface TorServiceConstants { //torrc (tor config file) public final static String TORRC_ASSET_KEY = "torrc"; + public final static String TORRCDIAG_ASSET_KEY = "torrcdiag"; public final static String TORRC_TETHER_KEY = "torrctether"; public final static String TOR_CONTROL_COOKIE = "control_auth_cookie"; - //how to launch tor -// public final static String TOR_COMMAND_LINE_ARGS = "-f " + TORRC_INSTALL_PATH + " || exit\n"; - //privoxy public final static String PRIVOXY_ASSET_KEY = "privoxy"; @@ -54,7 +52,7 @@ public interface TorServiceConstants { public final static int PORT_SOCKS = 9050; //what is says! - public final static String IP_LOCALHOST = "localhost"; + public final static String IP_LOCALHOST = "127.0.0.1"; public final static int TOR_CONTROL_PORT = 9051; public final static int UPDATE_TIMEOUT = 1000; public final static int TOR_TRANSPROXY_PORT = 9040;