don't transproxy orweb
This commit is contained in:
parent
a118a65776
commit
2a92b72941
|
@ -6,6 +6,7 @@ public interface TorServiceConstants {
|
|||
|
||||
|
||||
public final static String TOR_APP_USERNAME = "org.torproject.android";
|
||||
public final static String ORWEB_APP_USERNAME = "info.guardianproject.browser";
|
||||
|
||||
|
||||
//home directory of Android application
|
||||
|
|
|
@ -192,6 +192,12 @@ public class TorTransProxy implements TorServiceConstants {
|
|||
continue;
|
||||
}
|
||||
|
||||
if (apps[i].getUsername().equals(TorServiceConstants.ORWEB_APP_USERNAME))
|
||||
{
|
||||
//should never trans proxy the Orbot app (and Tor or Privoxy) itself
|
||||
continue;
|
||||
}
|
||||
|
||||
TorService.logMessage("enabling transproxy for app: " + apps[i].getUsername() + "(" + apps[i].getUid() + ")");
|
||||
|
||||
//TCP
|
||||
|
|
Loading…
Reference in New Issue