[guardian-dev] Gibberbot RC3 (final?) for testing
Jacob Appelbaum
jacob at appelbaum.net
Thu Jun 14 12:06:02 EDT 2012
On 06/13/2012 09:58 PM, Nathan of Guardian wrote:
> On 06/14/2012 12:51 AM, Jacob Appelbaum wrote:
>>> is IsolateSOCKSAuth default on, or does it require a new torrc entry?
>> In the newest Tor release of 0.2.3.x it is enabled by default.
>
> Orbot latest official release includes 0.2.3.10, so should be fine
> there. New Orbot will be out next week with latest.
Great!
>
>>> If not, I suggest it before this
>>>> release - just generate two random strings and pass them for each
>>>> connection.
>>>
>>> Sounds easy enough!
>
>
> ProxyInfo.ProxyType pType = ProxyType.valueOf(type);
> String username = "";
> String password = "";
>
> if (type.equals(TorProxyInfo.PROXY_TYPE) //socks5
> && host.equals(TorProxyInfo.PROXY_HOST) //127.0.0.1
> && port == TorProxyInfo.PROXY_PORT) //9050
> {
> //if the proxy is for Orbot/Tor then generate random
> usr/pwd to isolate Tor streams
> username = rnd.nextInt(100000)+"";
> password = rnd.nextInt(100000)+"";
>
> }
>
> mProxyInfo = new ProxyInfo(pType, host, port, username,
> password);
>
Looks good. Where's the implementation of ProxyInfo?
All the best,
Jake
More information about the Guardian-dev
mailing list