Re: [tor-dev] Docker images for help people to run Tor (teor) (teor)
Hi, thanks for your support! I've modified Dockerfiles to properly install the right Tor version and starting two relays with both scripts. The images have been released on Docker Hub too. Next step for me is preparing script and image for easily setting up a bridge. Since all containers created are Linux containers, and since all my Dockerfiles are "one shot configurations", I will release bash scripts soon. I will contact the community very soon for more advices on relays, and promote-review the project (since the project is newborn, I want to spread for find issues and fix them). If you want to control all the released code and images, the two principal repositories are: https://github.com/randomtable/ChimeraOS https://hub.docker.com/u/alessandrofiori Many thanks Il giorno lun 1 apr 2019 alle ore 14:00 < tor-dev-requ...@lists.torproject.org> ha scritto: > Send tor-dev mailing list submissions to > tor-dev@lists.torproject.org > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev > or, via email, send a message with subject or body 'help' to > tor-dev-requ...@lists.torproject.org > > You can reach the person managing the list at > tor-dev-ow...@lists.torproject.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of tor-dev digest..." > > > Today's Topics: > >1. Re: Docker images for help people to run Tor (teor) (teor) >2. Next Network Team Meeting Time (teor) > > > -- > > Message: 1 > Date: Mon, 1 Apr 2019 12:57:35 +1000 > From: teor > To: tor-dev@lists.torproject.org > Subject: Re: [tor-dev] Docker images for help people to run Tor (teor) > Message-ID: > Content-Type: text/plain; charset="utf-8" > > Hi, > > > On 1 Apr 2019, at 07:55, Alessandro Fiori wrote: > > > > Hi, > > I would like to share with the community some tests I've made for > setting up a "swarm" of Tor relays. > > > > I setted up 3 exit relays and 3 middle relays on the same IPv4 address, > to make some testing, and the entire swarm works like a charm. > > > > Due to Tor limitation, I have decided to build a template for preparing > the cluster, and upload it to GitHub. > > > > You can find the example mini-cluster here: > > https://github.com/randomtable/ChimeraOS/tree/master/TorSwarm > > > > I have tested the exit capabilities on another network with different > public IP address. > > > > All the relays have published their own descriptors, I have prepared the > containers as a single, separated machines. > > > > The process is different from preparing a single relay, because of > Docker build process. > > > > I have disabled caching during the cluster process, so i have been able > to modify torrc without issues. > > > > Because its very interesting, attached to this e-mail there is the > console Logs from the 6 relays. > > > > All containers are read-only, so the entire relay will destroy at the > end of session. > > > > I hope this can be useful. > > Tor clients will only see 2 of your 6 relays, because the Tor directory > authorities only publish 2 relays per IPv4 address. > > Also, please use the deb.torproject.org repositories to get the latest > version of tor: > Mar 31 19:57:08.000 [warn] Please upgrade! This version of Tor (0.3.3.9) > is not recommended, according to the directory authorities. Recommended > versions are: > 0.2.9.15,0.2.9.16,0.2.9.17,0.3.4.10,0.3.4.11,0.3.5.7,0.3.5.8,0.4.0.1-alpha,0.4.0.2-alpha,0.4.0.3-alpha > > https://trac.torproject.org/projects/tor/wiki/TorRelayGuide/DebianUbuntu > > T > -- next part -- > An HTML attachment was scrubbed... > URL: < > http://lists.torproject.org/pipermail/tor-dev/attachments/20190401/f30ddefa/attachment-0001.html > > > > -- > > Message: 2 > Date: Mon, 1 Apr 2019 14:45:42 +1000 > From: teor > To: tor-dev@lists.torproject.org > Subject: [tor-dev] Next Network Team Meeting Time > Message-ID: <68735aed-467b-40ef-b8e2-98417723f...@riseup.net> > Content-Type: text/plain; charset="utf-8" > > Hi, > > The next network team meeting is at 2300 UTC on Tuesday 2 April. > > Here is our full April schedule: > * Tuesday 2 April at 2300 UTC > * Monday 8 April at 1700 UTC > * Monday 15 April at 1700 UTC > * Tuesday 23 April at 1700 UTC (Monday 22 April is the Easter Monday > public holiday) > * Monday 29 April at 1700 UTC &g
Re: [tor-dev] Docker images for help people to run Tor (teor)
Hi, > On 1 Apr 2019, at 07:55, Alessandro Fiori wrote: > > Hi, > I would like to share with the community some tests I've made for setting up > a "swarm" of Tor relays. > > I setted up 3 exit relays and 3 middle relays on the same IPv4 address, to > make some testing, and the entire swarm works like a charm. > > Due to Tor limitation, I have decided to build a template for preparing the > cluster, and upload it to GitHub. > > You can find the example mini-cluster here: > https://github.com/randomtable/ChimeraOS/tree/master/TorSwarm > > I have tested the exit capabilities on another network with different public > IP address. > > All the relays have published their own descriptors, I have prepared the > containers as a single, separated machines. > > The process is different from preparing a single relay, because of Docker > build process. > > I have disabled caching during the cluster process, so i have been able to > modify torrc without issues. > > Because its very interesting, attached to this e-mail there is the console > Logs from the 6 relays. > > All containers are read-only, so the entire relay will destroy at the end of > session. > > I hope this can be useful. Tor clients will only see 2 of your 6 relays, because the Tor directory authorities only publish 2 relays per IPv4 address. Also, please use the deb.torproject.org repositories to get the latest version of tor: Mar 31 19:57:08.000 [warn] Please upgrade! This version of Tor (0.3.3.9) is not recommended, according to the directory authorities. Recommended versions are: 0.2.9.15,0.2.9.16,0.2.9.17,0.3.4.10,0.3.4.11,0.3.5.7,0.3.5.8,0.4.0.1-alpha,0.4.0.2-alpha,0.4.0.3-alpha https://trac.torproject.org/projects/tor/wiki/TorRelayGuide/DebianUbuntu T___ tor-dev mailing list tor-dev@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev
Re: [tor-dev] Docker images for help people to run Tor (teor)
Hi, I would like to share with the community some tests I've made for setting up a "swarm" of Tor relays. I setted up 3 exit relays and 3 middle relays on the same IPv4 address, to make some testing, and the entire swarm works like a charm. Due to Tor limitation, I have decided to build a template for preparing the cluster, and upload it to GitHub. You can find the example mini-cluster here: https://github.com/randomtable/ChimeraOS/tree/master/TorSwarm I have tested the exit capabilities on another network with different public IP address. All the relays have published their own descriptors, I have prepared the containers as a single, separated machines. The process is different from preparing a single relay, because of Docker build process. I have disabled caching during the cluster process, so i have been able to modify torrc without issues. Because its very interesting, attached to this e-mail there is the console Logs from the 6 relays. All containers are read-only, so the entire relay will destroy at the end of session. I hope this can be useful. Alessandro Fiori Il giorno sab 30 mar 2019 alle ore 13:00 < tor-dev-requ...@lists.torproject.org> ha scritto: > Send tor-dev mailing list submissions to > tor-dev@lists.torproject.org > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev > or, via email, send a message with subject or body 'help' to > tor-dev-requ...@lists.torproject.org > > You can reach the person managing the list at > tor-dev-ow...@lists.torproject.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of tor-dev digest..." > > > Today's Topics: > >1. Re: Docker images for help people to run Tor (teor) > > > -- > > Message: 1 > Date: Sat, 30 Mar 2019 13:08:53 +1000 > From: teor > To: tor-dev@lists.torproject.org > Subject: Re: [tor-dev] Docker images for help people to run Tor > Message-ID: <3d4905af-1c10-47bf-8823-eb3228ff9...@riseup.net> > Content-Type: text/plain; charset="utf-8" > > Hi, > > (Please try to reply to the thread, not the digest!) > > > On 30 Mar 2019, at 11:51, Alessandro Fiori wrote: > > > > Because the images are built separately, and Containers doesn't have > persistent data by default, i'm testing the launch of a "relay swarm", > which isn't the "Docker Swarm". > > The concept of a "Relay swarm" is to have multiple running relay > containers on the same user machine, without any conflict. > > > > The idea (i will testing it very soon) is possible, by pulling an image > and running it multiple times, creating intermetiate containers. > > > > A function like the "relay swarm" can be very useful, i don't know if > this approach can be risky, so i'm preparing a script for launching only > one type of relay swarm (middle or exit relays). > > > > If there is no security concerns, this function will be a very key > function for grow up the Network, because a user can run multiple relays at > a time. > > Tor only allows 2 relays per IPv4 address. > > T > -- next part -- > A non-text attachment was scrubbed... > Name: signature.asc > Type: application/pgp-signature > Size: 833 bytes > Desc: Message signed with OpenPGP > URL: < > http://lists.torproject.org/pipermail/tor-dev/attachments/20190330/666cdc2c/attachment-0001.sig > > > > -- > > Subject: Digest Footer > > ___ > tor-dev mailing list > tor-dev@lists.torproject.org > https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev > > > -- > > End of tor-dev Digest, Vol 98, Issue 20 > *** > C:\Users\Alessandro Fiori\Desktop\TorSwarm>DEL /F /Q /A "C:\Users\Alessandro Fiori\Desktop\TorSwarm\image.txt" Impossibile trovare C:\Users\Alessandro Fiori\Desktop\TorSwarm\image.txt C:\Users\Alessandro Fiori\Desktop\TorSwarm>DEL /F /Q /A "C:\Users\Alessandro Fiori\Desktop\TorSwarm\container.txt" Impossibile trovare C:\Users\Alessandro Fiori\Desktop\TorSwarm\container.txt C:\Users\Alessandro Fiori\Desktop\TorSwarm>docker build --no-cache=true "C:\Users\Alessandro Fiori\Desktop\TorSwarm\9001" --iidfile "C:\Users\Alessandro Fiori\Desktop\TorSwarm\image.txt" Sending build context to Docker daemon 2.048kB Step 1/8 : FROM ubuntu:rolling rolling: Pulling from library/ubuntu e58ad9fd24ca: Pull complete 0a4c669d2dea: Pull complete ab60767ef52b:
Re: [tor-dev] Docker images for help people to run Tor
Hi, (Please try to reply to the thread, not the digest!) > On 30 Mar 2019, at 11:51, Alessandro Fiori wrote: > > Because the images are built separately, and Containers doesn't have > persistent data by default, i'm testing the launch of a "relay swarm", which > isn't the "Docker Swarm". > The concept of a "Relay swarm" is to have multiple running relay containers > on the same user machine, without any conflict. > > The idea (i will testing it very soon) is possible, by pulling an image and > running it multiple times, creating intermetiate containers. > > A function like the "relay swarm" can be very useful, i don't know if this > approach can be risky, so i'm preparing a script for launching only one type > of relay swarm (middle or exit relays). > > If there is no security concerns, this function will be a very key function > for grow up the Network, because a user can run multiple relays at a time. Tor only allows 2 relays per IPv4 address. T signature.asc Description: Message signed with OpenPGP ___ tor-dev mailing list tor-dev@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev
Re: [tor-dev] Docker images for help people to run Tor
Hi, > On 29 Mar 2019, at 08:57, Alessandro Fiori wrote: > > I've decided to release two scripts (I'm releasing for Ubuntu too), for run > an Exit Relay or Hidden Service then, with Docker image. > > If needed, let me know if there would be useful releasing an image of a > Non-Exit-Relay. Yes, many relay operators will want to run a non-exit relay. T ___ tor-dev mailing list tor-dev@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev
Re: [tor-dev] Docker images for help people to run Tor
Hi, and thanks for reply! I added a line in the dedicated page, and modified the README.md on GitHub for more specific informations to the users. I've decided to release two scripts (I'm releasing for Ubuntu too), for run an Exit Relay or Hidden Service then, with Docker image. If needed, let me know if there would be useful releasing an image of a Non-Exit-Relay. I will add more informations in the following days, for more explanations and specific infos about building process. I have decided to release only scripts or text file (for build process and pull process), and no binaries, to keep processes transparent and controllable. The next step for me is writing to forums and IRC, so people can review the configurations. I would like to meet the best practices to provide a robust and secure service under all aspects. Another further step will be to contact Docker and try to achieve the "Verified Publisher" or "Official Image" status, to keep the User Trust up. Official Images have automated security scans, so it can be a benefit to community. I hope this can be useful, let me know! Kind regards (and thanks for your hard work... really!) Il giorno gio 28 mar 2019 alle ore 13:46 Chelsea Holland Komlo < m...@chelseakomlo.com> ha scritto: > Hi, > > Thanks for this information and putting this together! Making relays > easier to run is always a helpful thing to us. > > We have a wiki page to aggregate relay infrastructure projects such as > this. If you can add your projects to this page (and any required > instructions), that would be great. > > > https://trac.torproject.org/projects/tor/wiki/community/relay_infrastructure > > Thanks for the contribution! > Chelsea > > On 2019-03-27 21:18, Alessandro Fiori wrote: > > Hi, I'm an Italian developer who want to help development and grow up > > the Tor network. > > I would like to share with you an idea to grow up the Tor Network. > > Working with Docker, i have released two images, a Tor Exit Relay > > image (named "tor-relay") and an image (named "torworld-template"). > > The idea is to use Docker and build images for facilitate users to run > > a Tor Relay or an Hidden Service. > > The two images are located on Docker Hub in this locations: > > > > Tor Exit Relay: https://hub.docker.com/r/alessandrofiori/tor-relay > > Tor Machine Template: > > https://hub.docker.com/r/alessandrofiori/torworld-template > > > > If you want to see how the images are built, please check the > > following Dockerfile > > > > Tor Exit Relay: > > > https://raw.githubusercontent.com/randomtable/ChimeraOS/master/DockerFile-Tor-Relay > > Tor Machine Template: > > > https://raw.githubusercontent.com/randomtable/ChimeraOS/master/DockerFile-Tor-World > > > > If you want to see how i automate the build and push process, please > > check the following script: > > > > Process with system cleanup: > > > https://raw.githubusercontent.com/randomtable/ChimeraOS/master/build-script.bat > > Process for rolling release: > > > https://raw.githubusercontent.com/randomtable/ChimeraOS/master/build-rolling.bat > > > > Actually i'm working in a Windows environment, i will release ubuntu > > scripts soon. > > > > I would like to share with everyone, so if this can be helpful, this > > can be a starting point for build up images for help people to run > > relays or hidden services. > > > > This kind of approach can be reduce costs for people who want to run a > > relay or an hidden service, and can be an help for building a more > > censorship-resistant platform, by using a Docker Swarm, and > > replicating instances. > > > > Waiting for your reply as soon as possible, i'm very curious if this > > project can be helpful for Tor Project! > > > > Kind regards (and thanks for your hard work) > > Alessandro Fiori > > ___ > > tor-dev mailing list > > tor-dev@lists.torproject.org > > https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev > ___ tor-dev mailing list tor-dev@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev
Re: [tor-dev] Docker images for help people to run Tor
Hi, Thanks for this information and putting this together! Making relays easier to run is always a helpful thing to us. We have a wiki page to aggregate relay infrastructure projects such as this. If you can add your projects to this page (and any required instructions), that would be great. https://trac.torproject.org/projects/tor/wiki/community/relay_infrastructure Thanks for the contribution! Chelsea On 2019-03-27 21:18, Alessandro Fiori wrote: > Hi, I'm an Italian developer who want to help development and grow up > the Tor network. > I would like to share with you an idea to grow up the Tor Network. > Working with Docker, i have released two images, a Tor Exit Relay > image (named "tor-relay") and an image (named "torworld-template"). > The idea is to use Docker and build images for facilitate users to run > a Tor Relay or an Hidden Service. > The two images are located on Docker Hub in this locations: > > Tor Exit Relay: https://hub.docker.com/r/alessandrofiori/tor-relay > Tor Machine Template: > https://hub.docker.com/r/alessandrofiori/torworld-template > > If you want to see how the images are built, please check the > following Dockerfile > > Tor Exit Relay: > https://raw.githubusercontent.com/randomtable/ChimeraOS/master/DockerFile-Tor-Relay > Tor Machine Template: > https://raw.githubusercontent.com/randomtable/ChimeraOS/master/DockerFile-Tor-World > > If you want to see how i automate the build and push process, please > check the following script: > > Process with system cleanup: > https://raw.githubusercontent.com/randomtable/ChimeraOS/master/build-script.bat > Process for rolling release: > https://raw.githubusercontent.com/randomtable/ChimeraOS/master/build-rolling.bat > > Actually i'm working in a Windows environment, i will release ubuntu > scripts soon. > > I would like to share with everyone, so if this can be helpful, this > can be a starting point for build up images for help people to run > relays or hidden services. > > This kind of approach can be reduce costs for people who want to run a > relay or an hidden service, and can be an help for building a more > censorship-resistant platform, by using a Docker Swarm, and > replicating instances. > > Waiting for your reply as soon as possible, i'm very curious if this > project can be helpful for Tor Project! > > Kind regards (and thanks for your hard work) > Alessandro Fiori > ___ > tor-dev mailing list > tor-dev@lists.torproject.org > https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev ___ tor-dev mailing list tor-dev@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev
[tor-dev] Docker images for help people to run Tor
Hi, I'm an Italian developer who want to help development and grow up the Tor network. I would like to share with you an idea to grow up the Tor Network. Working with Docker, i have released two images, a Tor Exit Relay image (named "tor-relay") and an image (named "torworld-template"). The idea is to use Docker and build images for facilitate users to run a Tor Relay or an Hidden Service. The two images are located on Docker Hub in this locations: Tor Exit Relay: https://hub.docker.com/r/alessandrofiori/tor-relay Tor Machine Template: https://hub.docker.com/r/alessandrofiori/torworld-template If you want to see how the images are built, please check the following Dockerfile Tor Exit Relay: https://raw.githubusercontent.com/randomtable/ChimeraOS/master/DockerFile-Tor-Relay Tor Machine Template: https://raw.githubusercontent.com/randomtable/ChimeraOS/master/DockerFile-Tor-World If you want to see how i automate the build and push process, please check the following script: Process with system cleanup: https://raw.githubusercontent.com/randomtable/ChimeraOS/master/build-script.bat Process for rolling release: https://raw.githubusercontent.com/randomtable/ChimeraOS/master/build-rolling.bat Actually i'm working in a Windows environment, i will release ubuntu scripts soon. I would like to share with everyone, so if this can be helpful, this can be a starting point for build up images for help people to run relays or hidden services. This kind of approach can be reduce costs for people who want to run a relay or an hidden service, and can be an help for building a more censorship-resistant platform, by using a Docker Swarm, and replicating instances. Waiting for your reply as soon as possible, i'm very curious if this project can be helpful for Tor Project! Kind regards (and thanks for your hard work) Alessandro Fiori ___ tor-dev mailing list tor-dev@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev