Re: [Tails-dev] Persistent torrc [Was: Tails Server: updated…

Poista viesti

Vastaa
Lähettäjä: anonym
Päiväys:  
Vastaanottaja: The Tails public development discussion list
Aihe: Re: [Tails-dev] Persistent torrc [Was: Tails Server: updated plan and GSoC!]
segfault:
> sajolida:
>> anonym:
>>> # add_onion
>>>
>>> By using stem to communicate with Tor over the control port/socket to
>>> add the hidden services, just like onionshare does (which would be a
>>> good source for inspiration, code-wise), you don't need any torrc
>>> persistence just like in the previous approach. This is probably the
>>> most "proper" solution of these three (and requires implementing less
>>> logic on our side), and it might even be the easiest after you've
>>> familiarized yourself with the API. This seems like the best option to me.
>>
>> Right, Stem has some API related to "_ephemeral_hidden_service" so maybe
>> you could use that. What I'm saying here is way over my head but I knew
>> about these functions so I thought it would be silly not to mention
>> them. Search for "ephemeral_hidden_service" in
>> https://stem.torproject.org/api/control.html.
>
> Will do. Thanks.


I suspect that, in practice, we won't care -- we can use the
*non*-ephemeral approach in all cases (with or without persistence);
Tails' "amnesiac" property will make them ephemeral for free. :) My
point is: if I am right, don't waste time on this and introduce extra
logic unnecessarily.

Cheers!