[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tor-talk] Clear net and Tor site on the same server



Hidden service is heavy on CPU, for every single TCP connection your Tor
client needs to create a new tunnel which requires quite a few RSA
calculations and those are very CPU demanding. 20 simultaneous
connections will bring your small VPS to its knees (I assume its a VPS
because of that low memory size), but 40MB RAM should be enough for that.
Oh and if your server is a raspberry pi, forget about it, first
generation rp can't encrypt more than 500KByte/s AES stream with its
tiny ARM core anyway.

Tyler Hardin wrote:
> Oops. Server = hidden service and node = relay. It made sense in my mind,
> but precision is important. I'm already kinda tight on my bitcoin node
> (190/256MB). Averaging 1MByte/s and 20 simultaneous connections, would it
> be worth trying to squeeze a Tor hidden service in there? What are the
> determinants of the memory use? Is it more # of connections or rate of
> traffic?
> 
> On Fri, Jun 26, 2015 at 4:28 PM, Roger Dingledine <arma@mit.edu> wrote:
> 
>> On Fri, Jun 26, 2015 at 04:17:37PM -0400, Tyler Hardin wrote:
>>> Why is it suggested not to do this? Does it matter as long as I'm not at
>>> all concerned about privacy? I want to run a wallet-less bitcoin node and
>>> thought I might as well make it accessible via Tor, however it definitely
>>> isn't worth paying for an extra server to serve as a dedicated proxy.
>>
>> Right, I think it is fine to run a normal website on the Internet and also
>> make it available as an onion site by running Tor on the same computer.
>>
>> It all comes down to what security goals you have in mind. If one of
>> your goals is to protect the location of the website so people visiting
>> it cannot learn where it is, then you have many more things you ought
>> to think about.
>>
>> But for your situation, it sounds fine. For background you might enjoy:
>> https://blog.torproject.org/blog/facebook-hidden-services-and-https-certs
>> https://lists.torproject.org/pipermail/tor-talk/2015-May/thread.html#37820
>>
>>> BTW, what kind of memory usage can I get by with to run a Tor server? How
>>> about a Tor node?
>>
>> These phrases "Tor server" and "Tor node" are ambiguous. You might enjoy
>>
>> https://www.torproject.org/docs/faq#ConfigureRelayOrBridge
>> https://www.torproject.org/docs/faq#ExitPolicies
>> https://www.torproject.org/docs/hidden-services
>>
>> Running a Tor relay can use quite a bit of memory depending on how much
>> traffic it's handling. Running a Tor bridge generally means you're
>> handling much less traffic, and so the memory footprint is much lower.
>> And running an onion service (aka hidden service) is usually very low
>> memory footprint too, but it depends how popular the service is.
>>
>> Hope that helps,
>> --Roger
>>
>> --
>> tor-talk mailing list - tor-talk@lists.torproject.org
>> To unsubscribe or change other settings go to
>> https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk
>>
-- 
tor-talk mailing list - tor-talk@lists.torproject.org
To unsubscribe or change other settings go to
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk