[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-dev] Dealing with frequent suspends on Android
- To: Nick Mathewson <nickm@xxxxxxxxxxxx>
- Subject: Re: [tor-dev] Dealing with frequent suspends on Android
- From: Michael Rogers <michael@xxxxxxxxxxxxxxxx>
- Date: Tue, 4 Dec 2018 18:07:11 +0000
- Autocrypt: addr=michael@xxxxxxxxxxxxxxxx; prefer-encrypt=mutual; keydata= xsBNBE+DF5gBCADGR+FvMLv2vtjznaZbfqRVLNnxfFzXwO8LPu8MdwDMYFEubTx9pCz5Z/jI +BEI+rkhbJbJYRw13rj7zEJWN2+QUb4YtaHCcR1ClA5pcZUurPqbMsFlIruEufydoCcEiTUN FtP/8MrYy70BqDzIgLzpS9tk7CwY2CELm8z0aLIa4th6rjUTIZb+2DbIrVUIwLbub/W014aJ hH942bGO/pbMz8QCdLjtT0YKTiLTDvU0gPA50YxBZHWKqHjJS+35cJUvVxILgSiqqeAkHPks 0IerMGTXBt5QaPamBEo9cGNr0hnRizwvRBPMcG2YDl5CJazUWwCe3FNRUzFfbMq9l3+PABEB AAHNKU1pY2hhZWwgUm9nZXJzIDxtaWNoYWVsQGJyaWFycHJvamVjdC5vcmc+wsB+BBMBAgAo AhsjBgsJCAcDAgYVCAIJCgsEFgIDAQIeAQIXgAUCWznfSAUJDZf7MAAKCRARBE/Rn8UnzOPx B/4zVF0oduFMqtXfI+9eVTfilvWW9BQKk4AO78ECWVDfflKYhBKtmW+bZTfJ8OM0iQFS/i2Z E/++0K68dhpRE/FT24jTYosnknFJvov5uAlNiERkXlVhuIGMfJ94XpncEIj5Ji+IHX7PD+RG eVhgQAWhvzYFXUJ8aGXCVWymz/1NOFKRvaSBfjmjMpZnTcbCDVtPFIS+Ha3yS4ql148r0wQc /MOR72vhM8R0obHfKExAeAUc1SlvAeBMvyrb3gRnTrMrNh1ap/gNrrSXChiT+zaIMatQlQS8 o4gNn3AptTxvGW1vhzZPm4nHaVBe1TpFKRkCSKBhClIJVZj+DUqb85zNzsBNBE+DF5gBCADV J1q9uGuCePE8wqybJMtjXxAbx+luDeIHrLCPT4E8H2J+v+X/74iRjBoMlZ3JVpaQPVR05nM4 7Vyj0KRhPucv6TH0S9A2cSPiAnWyMIoYOCcYjL8LrPRYdoeLd8b1m7n/KUyi+pOkN/pxJUH5 63gvs4xl+agyhNXkVxxDf2wipZmrr851qSUZJoo/NFfuIW13MU0HyslQaI5fZ4kSV3jgU+QJ eSiScgHRGthDRIFXNzhi8TG8KFi/SXVxGAD5ZYNVV76TzYjXOunCnPsXjj3sV8NqgqhCPpGl DtI5be09FjBKqPzNBVzJFXuPYUv30uLyS7EzKZ089zvn/pN/xDWtABEBAAHCwGUEGAECAA8C GwwFAls5304FCQ2X+zYACgkQEQRP0Z/FJ8w68Af/W0XMekchtEvmubiOLXLGnIq7kGuQLp8s aF9696cEWc0vpL6B4zJWeS4Kr4zPMu2Y0XuKsv+XCrKy+rJnUdYgoLiHNEW4629+OibYqV3m XAv3Xkx7YGMi/2rke9dOa6ieyntXgy/3KKgbv12RGVvY5LxFjXy8wV+MIPw5ErAci/1baLNM LcSeMGOpdFtygPTXC/WOTG4gBngAWpBcxR8PeUlo+BDWq9Rpv8bmGSMROqxWIMOFN2IERoy/ szQQTSJvvw6UXnPocKgJSQpljyVEkyU0fK56d+abbZ3QPAsplDEjH8uqnlfdtGGmI7tSQKXJ yXIisGSYk+M4Bq7HrnYO0A==
- Cc: tor-dev@xxxxxxxxxxxxxxxxxxxx
- Delivered-to: archiver@xxxxxxxx
- Delivery-date: Tue, 04 Dec 2018 13:07:40 -0500
- In-reply-to: <CAKDKvuw35DFuVDvORgedXskduok+tAQuLp-TLEN5+X11TXZZKg@mail.gmail.com>
- List-archive: <http://lists.torproject.org/pipermail/tor-dev/>
- List-help: <mailto:tor-dev-request@lists.torproject.org?subject=help>
- List-id: discussion regarding Tor development <tor-dev.lists.torproject.org>
- List-post: <mailto:tor-dev@lists.torproject.org>
- List-subscribe: <https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev>, <mailto:tor-dev-request@lists.torproject.org?subject=subscribe>
- List-unsubscribe: <https://lists.torproject.org/cgi-bin/mailman/options/tor-dev>, <mailto:tor-dev-request@lists.torproject.org?subject=unsubscribe>
- Openpgp: preference=signencrypt
- References: <2d0fdf67-4e9a-a85c-39b7-b3c0310c2c9e@briarproject.org> <CAKDKvuzNPXpH4VFP-RkqdZvZEbOP-cX2U-VjdBkY+FFpe0gwvQ@mail.gmail.com> <e207325a-84c9-b04a-028f-41e4610dcbed@briarproject.org> <CAKDKvuw35DFuVDvORgedXskduok+tAQuLp-TLEN5+X11TXZZKg@mail.gmail.com>
- Reply-to: tor-dev@xxxxxxxxxxxxxxxxxxxx
- Sender: "tor-dev" <tor-dev-bounces@xxxxxxxxxxxxxxxxxxxx>
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.2
On 26/11/2018 21:46, Nick Mathewson wrote:
> On Wed, Nov 21, 2018 at 5:10 PM Michael Rogers <michael@xxxxxxxxxxxxxxxx> wrote:
>>
>> On 20/11/2018 19:28, Nick Mathewson wrote:
>>> Hi! I don't know if this will be useful or not, but I'm wondering if
>>> you've seen this ticket:
>>> https://trac.torproject.org/projects/tor/ticket/28335
>>>
>>> The goal of this branch is to create a "dormant mode" where Tor does
>>> not run any but the most delay- and rescheduling-tolerant of its
>>> periodic events. Tor enters this mode if a controller tells it to, or
>>> if (as a client) it passes long enough without user activity. When in
>>> dormant mode, it doesn't disconnect from the network, and it will wake
>>> up again if the controller tells it to, or it receives a new client
>>> connection.
>>>
>>> Would this be at all helpful for any of this?
>>
>> This looks really useful for mobile clients, thank you!
>
> Glad to hear it -- it's now merged into Tor's master branch.
Fantastic.
>> The comments on the pull request
>> (https://github.com/torproject/tor/pull/502) suggest that Tor won't
>> enter dormant mode if it's running a hidden service. Are there any plans
>> to support that in future?
>
> I want to support this for hidden services. Here's the ticket to
> track that: https://trac.torproject.org/projects/tor/ticket/28424
>
> This is going to be harder than the other cases, though, so we decided
> to defer it for now and see if we have time later.
Makes sense. I added some simulation results to the ticket that support
dgoulet's assessment that the descriptor may become unreachable within a
few hours if not republished, due to HSDir churn.
However, even one hour in dormant mode would be a huge improvement over
what we can do now. What are the other blockers for running a hidden
service in dormant mode?
Would it be possible/easier to keep an ordinary client circuit alive in
dormant mode? That would allow us to keep a connection to a mailbox*
while dormant.
Cheers,
Michael
* Briar term for a device connected to power and internet that runs a
hidden service on behalf of the owner's main device.
Attachment:
0x11044FD19FC527CC.asc
Description: application/pgp-keys
Attachment:
signature.asc
Description: OpenPGP digital signature
_______________________________________________
tor-dev mailing list
tor-dev@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev