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-request@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-request@lists.torproject.org

You can reach the person managing the list at
        tor-dev-owner@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 <teor@riseup.net>
To: tor-dev@lists.torproject.org
Subject: Re: [tor-dev] Docker images for help people to run Tor
Message-ID: <3D4905AF-1C10-47BF-8823-EB3228FF990F@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 <alefiori3@gmail.com> 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
***************************************