[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] Re: [Tor Bug Tracker & Wiki] #1307: Hosting many hidden services causes many errors and takes hours to start up
#1307: Hosting many hidden services causes many errors and takes hours to start up
-----------------------------+----------------------------------------------
Reporter: marked | Owner: phobos
Type: defect | Status: accepted
Priority: major | Milestone:
Component: Tor-Tor server | Version: 0.2.1.24
Resolution: None | Keywords: hidden services, tor server, bootstrap
-----------------------------+----------------------------------------------
Comment(by phobos):
Here's the quick script I wrote to create all the hidden services.
{{{
#!ruby
#
# Create a ton of hidden services in a tor config
# BSD 3-Clause license, Copyright 2010 The Tor Project, Inc.
#
start_port = 10000;
datadir = "/home/phobos/.tor";
end_port = 10300;
until start_port == end_port do
puts "HiddenServiceDir #{datadir}/hidserv/#{start_port}
HiddenServicePort #{start_port} 127.0.0.1:#{start_port}";
#puts "#{start_port}";
start_port += 1;
end
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/1307#comment:6>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online