[guardian-dev] How can an app determine whether Orbot has connected it to the Tor network?

poly poly at darkdepths.net
Mon Aug 24 10:47:05 EDT 2015


Hi,

take a look at this service by the Tor Project:

https://check.torproject.org/

you could probably use a regex to classify the response.

-- 
poly
@0xPoly
http://darkdepths.net/pages/public-keys.html

Kristov Atlas:
> Hello,
> 
> I'd like to have my hypothetical Android app determine whether it is
> sending requests and receiving responses via Tor by way of Orbot -- either
> with Orbot capturing all traffic on the device, or the experimental per-app
> mode.
> 
> A naive way to achieve this is to poll a what-is-my-ip website, poll a
> website that provides a list of Tor exit nodes, and see if the ip address
> matches the exit node list. This approach has some significant privacy
> downsides. It also would not work if I wanted to configure my application
> to sometimes connect to .onion severs instead of clearnet.
> 
> Is there any kind of inter-process communication or other mechanism that
> people are aware of that would allow my app to determine whether it has
> been successfully proxied through Orbot?
> 
> Thanks,
> Kristov
> 
> 
> 
> _______________________________________________
> List info: https://lists.mayfirst.org/mailman/listinfo/guardian-dev
> To unsubscribe, email:  guardian-dev-unsubscribe at lists.mayfirst.org
> 


More information about the guardian-dev mailing list