Merge branch 'master' of github.com:antitree/private-tor-network

This commit is contained in:
AntiTree 2016-06-24 21:29:41 -04:00
commit c19a23de4d

View File

@ -4,9 +4,15 @@
### Quickstart ### Quickstart
The easiest way to get a tor network up and running is to use the docker-compose scale function: The easiest way to get a tor network up and running is to use the docker-compose create and then scale function
`docker-compose scale da=3 relay=5 exit=3 client=1` `docker-compose up`
CTRL+C to cancel out (docker-compose scale issue. fixing soon)
```
docker-compose scale da=3 relay=5 exit=3 client=1
```
### Uses ### Uses
@ -36,7 +42,7 @@ Available roles right now are:
### Tor configuration ### Tor configuration
This configuration is based on the Tor documentation for how to run a private tor network. You should also check out Chutney[1] which does something similar with separate processes instead of containers. This configuration is based on the Tor documentation for how to run a private tor network. You should also check out Chutney[1] which does something similar with separate processes instead of containers. If you need to make a modification (such as changing the timing of the DA's) edit the `config/torrc` and/or `config/torrc.da` files. You may need to modify the Dockerfile as well.
### Debugging ### Debugging
@ -47,11 +53,13 @@ Here are a few things to try if you're runing into issues:
* Enable verbose logging by changing the `./config/torrc` * Enable verbose logging by changing the `./config/torrc`
* Check permissions for your ./tor folder * Check permissions for your ./tor folder
* Delete the files in your ./tor folder so you can start from scratch (or specifically the torrc.da file) * Delete the files in your ./tor folder so you can start from scratch (or specifically the torrc.da file)
* To cleanup the environment and start over you can use `docker-compose kill` and `docker-compose rm -ra` to remove them all.
### TODO ### TODO
* Use an environment variable to choose which version of tor to compile * Use an environment variable to choose which version of tor to compile
* Get rid of apt-get from docker container * Get rid of apt-get from docker container
* Wait for someone to yell at me about using scale like this and then move to the new networking
### Dislaimer ### Dislaimer