[guardian-dev] Question about Orbot and Tor Path Selection

Michael Rogers michael at briarproject.org
Fri May 19 07:41:25 EDT 2017


On 16/05/17 21:34, Nathan of Guardian wrote:
> 
> 
> On Tue, Apr 11, 2017, at 02:39 PM, Kevin Gallagher wrote:
>> Please forgive me if this is not the correct place for this question. I
>> was wondering if Orbot checked for network connectivity every time it
>> attempts to build a Tor circuit or poll entry nodes. 
> 
> Orbot does put the Tor daemon to sleep when there is no network
> connectivity. This is a Tor Control Port feature that was added
> specifically for Orbot/mobile devices.

We recently noticed that if Android fails to detect a loss of network
connectivity (for example, if a wifi router is disconnected from the
internet), Tor will repeatedly try and fail to connect to guard nodes as
Kevin suggested. The behaviour seems to be device-specific, perhaps
because devices differ as to whether and how quickly they detect
connectivity losses.

As a workaround, we're considering counting guard connection failure
events and setting DisableNetwork 1 until the next connectivity event if
the failures exceed some threshold. Here's the ticket:

https://code.briarproject.org/akwizgran/briar/issues/950

Cheers,
Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0x9FC527CC.asc
Type: application/pgp-keys
Size: 4660 bytes
Desc: not available
URL: <http://lists.mayfirst.org/pipermail/guardian-dev/attachments/20170519/243978c3/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.mayfirst.org/pipermail/guardian-dev/attachments/20170519/243978c3/attachment.sig>


More information about the guardian-dev mailing list