Re: [tor-dev] Proposal 286: Controller APIs for hibernation access on mobile

2017-12-08 Thread meejah
Nick Mathewson writes: >We define a new "GETINFO status/hibernation" to inspect the >current hibernation state. Possible values are: > - "live" > - "idle:control" > - "idle:no-activity" > - "sleep:control" > - "sleep:accounting" > -

Re: [tor-dev] Proposal 286: Controller APIs for hibernation access on mobile

2017-12-06 Thread Michael Rogers
On 05/12/17 22:18, teor wrote: > >> On 6 Dec 2017, at 05:12, Michael Rogers wrote: >> >> If the service needs to fetch a consensus and microdescs before it can >> respond to a rendezvous cell, the delay could be far longer than the >> difference in latency between a

Re: [tor-dev] Proposal 286: Controller APIs for hibernation access on mobile

2017-12-05 Thread teor
> On 6 Dec 2017, at 05:12, Michael Rogers wrote: > >> On 01/12/17 12:16, teor wrote: >> On 1 Dec 2017, at 21:56, Michael Rogers wrote: On 30/11/17 12:55, Nick Mathewson wrote: When a Tor instance that is running

Re: [tor-dev] Proposal 286: Controller APIs for hibernation access on mobile

2017-12-05 Thread Michael Rogers
On 01/12/17 12:16, teor wrote: > >> On 1 Dec 2017, at 21:56, Michael Rogers wrote: >> >>> On 30/11/17 12:55, Nick Mathewson wrote: >>> >>> When a Tor instance that is running an onion service is IDLE, it >>> does the minimum to try to remain responsive on the onion

Re: [tor-dev] Proposal 286: Controller APIs for hibernation access on mobile

2017-12-01 Thread teor
> On 1 Dec 2017, at 21:56, Michael Rogers wrote: > > Hi Nick, > >> On 30/11/17 12:55, Nick Mathewson wrote: >> 2. Improvements to the hibernation model >> >> To present a consistent interface that applications and >> controllers can use to manage power

Re: [tor-dev] Proposal 286: Controller APIs for hibernation access on mobile

2017-12-01 Thread Michael Rogers
Hi Nick, On 30/11/17 12:55, Nick Mathewson wrote: > 2. Improvements to the hibernation model > >To present a consistent interface that applications and >controllers can use to manage power consumption, we make these >enhancements to our hibernation model. > >First, we add three

Re: [tor-dev] Proposal 286: Controller APIs for hibernation access on mobile

2017-11-30 Thread teor
Hi Nick, Comments inline: > On 30 Nov 2017, at 23:55, Nick Mathewson wrote: > > Filename: 286-hibernation-api.txt > Title: Controller APIs for hibernation access on mobile > Author: Nick Mathewson > Created: 30-November-2017 > Status: Open > > > 1. Introduction > >

Re: [tor-dev] Proposal 286: Controller APIs for hibernation access on mobile

2017-11-30 Thread Yawning Angel
On Thu, 30 Nov 2017 07:55:49 -0500 Nick Mathewson wrote: > Filename: 286-hibernation-api.txt > Title: Controller APIs for hibernation access on mobile > Author: Nick Mathewson > Created: 30-November-2017 > Status: Open [snip] Is this a general call for feedback/questions?

[tor-dev] Proposal 286: Controller APIs for hibernation access on mobile

2017-11-30 Thread Nick Mathewson
Filename: 286-hibernation-api.txt Title: Controller APIs for hibernation access on mobile Author: Nick Mathewson Created: 30-November-2017 Status: Open 1. Introduction On mobile platforms, battery life is achieved by reducing needless network access and CPU access. Tor currently provides