<div dir="ltr"><div dir="ltr"><div><div>Hi,</div><div>I would like to share with the community some tests I've made for setting up a "swarm" of Tor relays.</div><div><br></div><div>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.</div><div><br></div><div>Due to Tor limitation, I have decided to build a template for preparing the cluster, and upload it to GitHub.</div><div><br></div><div>You can find the example mini-cluster here:</div><div><a href="https://github.com/randomtable/ChimeraOS/tree/master/TorSwarm">https://github.com/randomtable/ChimeraOS/tree/master/TorSwarm</a> </div><div><br></div><div>I have tested the exit capabilities on another network with different public IP address.</div><div><br></div><div>All the relays have published their own descriptors, I have prepared the containers as a single, separated machines.</div><div><br></div><div>The process is different from preparing a single relay, because of Docker build process.</div><div><br></div><div>I have disabled caching during the cluster process, so i have been able to modify torrc without issues.</div><div><br></div><div>Because  its very interesting, attached to this e-mail there is the console Logs from the 6 relays.</div><div><br></div><div>All containers are read-only, so the entire relay will destroy at the end of session.</div><div><br></div><div>I hope this can be useful.</div><div><br></div><div>Alessandro Fiori</div><div><br></div></div><div><br></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno sab 30 mar 2019 alle ore 13:00 <<a href="mailto:tor-dev-request@lists.torproject.org">tor-dev-request@lists.torproject.org</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Send tor-dev mailing list submissions to<br>
        <a href="mailto:tor-dev@lists.torproject.org" target="_blank">tor-dev@lists.torproject.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev" rel="noreferrer" target="_blank">https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:tor-dev-request@lists.torproject.org" target="_blank">tor-dev-request@lists.torproject.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:tor-dev-owner@lists.torproject.org" target="_blank">tor-dev-owner@lists.torproject.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of tor-dev digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. Re: Docker images for help people to run Tor (teor)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Sat, 30 Mar 2019 13:08:53 +1000<br>
From: teor <<a href="mailto:teor@riseup.net" target="_blank">teor@riseup.net</a>><br>
To: <a href="mailto:tor-dev@lists.torproject.org" target="_blank">tor-dev@lists.torproject.org</a><br>
Subject: Re: [tor-dev] Docker images for help people to run Tor<br>
Message-ID: <<a href="mailto:3D4905AF-1C10-47BF-8823-EB3228FF990F@riseup.net" target="_blank">3D4905AF-1C10-47BF-8823-EB3228FF990F@riseup.net</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi,<br>
<br>
(Please try to reply to the thread, not the digest!)<br>
<br>
> On 30 Mar 2019, at 11:51, Alessandro Fiori <<a href="mailto:alefiori3@gmail.com" target="_blank">alefiori3@gmail.com</a>> wrote:<br>
> <br>
> 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".<br>
> The concept of a "Relay swarm" is to have multiple running relay containers on the same user machine, without any conflict.<br>
> <br>
> The idea (i will testing it very soon) is possible, by pulling an image and running it multiple times, creating intermetiate containers.<br>
> <br>
> 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).<br>
> <br>
> 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.<br>
<br>
Tor only allows 2 relays per IPv4 address.<br>
<br>
T<br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: signature.asc<br>
Type: application/pgp-signature<br>
Size: 833 bytes<br>
Desc: Message signed with OpenPGP<br>
URL: <<a href="http://lists.torproject.org/pipermail/tor-dev/attachments/20190330/666cdc2c/attachment-0001.sig" rel="noreferrer" target="_blank">http://lists.torproject.org/pipermail/tor-dev/attachments/20190330/666cdc2c/attachment-0001.sig</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
tor-dev mailing list<br>
<a href="mailto:tor-dev@lists.torproject.org" target="_blank">tor-dev@lists.torproject.org</a><br>
<a href="https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev" rel="noreferrer" target="_blank">https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev</a><br>
<br>
<br>
------------------------------<br>
<br>
End of tor-dev Digest, Vol 98, Issue 20<br>
***************************************<br>
</blockquote></div></div></div>