Autor: segfault Data: Para: The Tails public development discussion list Assunto: Re: [Tails-dev] Persistent torrc [Was: Tails Server: updated plan
and GSoC!]
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.