[guardian-dev] System.setProperty("socksProxyHost", "127.0.0.1") on Android

Adam Pritchard a.pritchard at psiphon.ca
Fri Sep 4 13:01:09 EDT 2015


Hi Hans,

If it's any help, you can see Psiphon's proxy-setting code here:

https://bitbucket.org/psiphon/psiphon-circumvention-system/src/e10068c39e5e29149eec84609ae1fdfc2e2094a9/Android/PsiphonAndroidLibrary/src/com/psiphon3/psiphonlibrary/WebViewProxySettings.java?at=default

Adam

> Date: Fri, 4 Sep 2015 11:26:27 +0200
> From: Hans-Christoph Steiner <hans at guardianproject.info>
> To: Guardian Dev <guardian-dev at lists.mayfirst.org>
> Subject: [guardian-dev] System.setProperty("socksProxyHost",
>         "127.0.0.1") on Android
> Message-ID: <55E963C3.2030400 at guardianproject.info>
> Content-Type: text/plain; charset=utf-8
>
>
> I know that using the Java system properties for setting a global SOCKS proxy
> was broken for a long time.  Google seems to have done some work on the proxy
> support in the 4.x releases, anyone know if they got
> System.setProperty("socksProxyHost", "127.0.0.1"); working?
>
> I can't really find another way to add a SOCKS proxy to an HttpURLConnection,
> and HttpURLConnection is the standard, recommended way to do HTTP connections
> in Android.
>
> .hc
>
> --
> PGP fingerprint: 5E61 C878 0F86 295C E17D  8677 9F0F E587 374B BE81
> https://pgp.mit.edu/pks/lookup?op=vindex&search=0x9F0FE587374BBE81
>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> guardian-dev mailing list
> guardian-dev at lists.mayfirst.org
> https://lists.mayfirst.org/mailman/listinfo/guardian-dev
>



-- 
Adam Pritchard
Psiphon Inc.


More information about the guardian-dev mailing list