Re: [tor-dev] Embedding tor in an application and using tor without opening a port

2013-04-01 Thread wac
Hi Nick: > * Using process isolation to isolate Tor from its controllers makes it > easier to tell Tor bugs from controller bugs > * Using process isolation to isolate Tor from its controllers can also > make it easier to secure each of the two domains properly against bugs > in the other, e

Re: [tor-dev] Find running Tors

2013-04-01 Thread Damian Johnson
>> [..] plus maybe another library that would find a running Tor or >> launch one as needed. > > Are there ideas/designs written down for this anywhere? I am > interested in seeing this happen -- I took a very quick stab at it in > txtorcon but realized it would be Much Better if this had co-operat

Re: [tor-dev] Find running Tors

2013-04-01 Thread Nick Mathewson
On Mon, Apr 1, 2013 at 6:49 PM, meejah wrote: > Nick Mathewson writes: > >> [..] plus maybe another library that would find a running Tor or >> launch one as needed. > > Are there ideas/designs written down for this anywhere? Not AFAIK. I think that any solution here is likely to be platform-sp

Re: [tor-dev] Find running Tors

2013-04-01 Thread meejah
Nick Mathewson writes: > [..] plus maybe another library that would find a running Tor or > launch one as needed. Are there ideas/designs written down for this anywhere? I am interested in seeing this happen -- I took a very quick stab at it in txtorcon but realized it would be Much Better if th

Re: [tor-dev] Embedding tor in an application and using tor without opening a port

2013-04-01 Thread Nick Mathewson
On Mon, Apr 1, 2013 at 4:17 PM, Navin Francis wrote: > Are there any existing applications that embed tor in this manner? This is pretty much unsupported for the reasons discussed in https://lists.torproject.org/pipermail/tor-dev/2010-November/002141.html and https://lists.torproject.org/pip

Re: [tor-dev] Using Tor as a library

2013-04-01 Thread wac
Hi Fabio: >I'd suggest for the "output" to produce a set of patches against Tor >(development version), including modifications to: >- build system >- documentation (man pages) >- unit-tests >everything following the coding guidelines of Tor with the goal/hope to >be integrated. I have not deve

Re: [tor-dev] Embedding tor in an application and using tor without opening a port

2013-04-01 Thread Fabio Pietrosanti (naif)
On 4/1/13 10:17 PM, Navin Francis wrote: > I am making a small application that always uses tor to communicate. I > have embedded tor into the application by compiling and linking the > tor source code along with my own code and calling tor's main() from > within my own main(). To send data, tor ha

[tor-dev] Embedding tor in an application and using tor without opening a port

2013-04-01 Thread Navin Francis
I am making a small application that always uses tor to communicate. I have embedded tor into the application by compiling and linking the tor source code along with my own code and calling tor's main() from within my own main(). To send data, tor has to open a port on the machine and my applicatio