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 <t...@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-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 <alefio...@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 > *************************************** >
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: Pull complete 8cc3b738fbea: Pull complete Digest: sha256:1da669e3481b6c2c8bb25ad287b75202871b1511249000e3bc35679d02e007f4 Status: Downloaded newer image for ubuntu:rolling ---> b977ae81df17 Step 2/8 : RUN apt-get update && apt-get upgrade -y ---> Running in 771d930b65b7 Get:1 http://archive.ubuntu.com/ubuntu cosmic InRelease [242 kB] Get:2 http://security.ubuntu.com/ubuntu cosmic-security InRelease [88.7 kB] Get:3 http://archive.ubuntu.com/ubuntu cosmic-updates InRelease [88.7 kB] Get:4 http://archive.ubuntu.com/ubuntu cosmic-backports InRelease [74.6 kB] Get:5 http://archive.ubuntu.com/ubuntu cosmic/multiverse amd64 Packages [195 kB] Get:6 http://archive.ubuntu.com/ubuntu cosmic/restricted amd64 Packages [13.6 kB] Get:7 http://archive.ubuntu.com/ubuntu cosmic/universe amd64 Packages [11.6 MB] Get:8 http://security.ubuntu.com/ubuntu cosmic-security/universe amd64 Packages [79.2 kB] Get:9 http://security.ubuntu.com/ubuntu cosmic-security/main amd64 Packages [184 kB] Get:10 http://security.ubuntu.com/ubuntu cosmic-security/restricted amd64 Packages [5433 B] Get:11 http://security.ubuntu.com/ubuntu cosmic-security/multiverse amd64 Packages [3635 B] Get:12 http://archive.ubuntu.com/ubuntu cosmic/main amd64 Packages [1342 kB] Get:13 http://archive.ubuntu.com/ubuntu cosmic-updates/restricted amd64 Packages [5433 B] Get:14 http://archive.ubuntu.com/ubuntu cosmic-updates/main amd64 Packages [322 kB] Get:15 http://archive.ubuntu.com/ubuntu cosmic-updates/universe amd64 Packages [306 kB] Get:16 http://archive.ubuntu.com/ubuntu cosmic-updates/multiverse amd64 Packages [3635 B] Get:17 http://archive.ubuntu.com/ubuntu cosmic-backports/universe amd64 Packages [3009 B] Fetched 14.6 MB in 11s (1325 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... The following packages will be upgraded: apt libapt-pkg5.0 2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 1992 kB of archives. After this operation, 6144 B of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu cosmic-updates/main amd64 libapt-pkg5.0 amd64 1.7.4 [816 kB] Get:2 http://archive.ubuntu.com/ubuntu cosmic-updates/main amd64 apt amd64 1.7.4 [1176 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 1992 kB in 1s (3581 kB/s) (Reading database ... 4032 files and directories currently installed.) Preparing to unpack .../libapt-pkg5.0_1.7.4_amd64.deb ... Unpacking libapt-pkg5.0:amd64 (1.7.4) over (1.7.2) ... Setting up libapt-pkg5.0:amd64 (1.7.4) ... (Reading database ... 4032 files and directories currently installed.) Preparing to unpack .../archives/apt_1.7.4_amd64.deb ... Unpacking apt (1.7.4) over (1.7.2) ... Setting up apt (1.7.4) ... Processing triggers for libc-bin (2.28-0ubuntu1) ... Removing intermediate container 771d930b65b7 ---> cfc7d129e650 Step 3/8 : RUN apt-get install sudo -y ---> Running in 8f1788497429 Reading package lists... Building dependency tree... Reading state information... The following NEW packages will be installed: sudo 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 490 kB of archives. After this operation, 2114 kB of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu cosmic/main amd64 sudo amd64 1.8.23-2ubuntu1 [490 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 490 kB in 0s (1010 kB/s) Selecting previously unselected package sudo. (Reading database ... 4033 files and directories currently installed.) Preparing to unpack .../sudo_1.8.23-2ubuntu1_amd64.deb ... Unpacking sudo (1.8.23-2ubuntu1) ... Setting up sudo (1.8.23-2ubuntu1) ... Removing intermediate container 8f1788497429 ---> 90b2d8a4a4fa Step 4/8 : RUN sudo apt-get install tor -y ---> Running in 6c125fc80445 Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: cron libcap2 libevent-2.1-6 libpopt0 libssl1.1 logrotate tor-geoipdb torsocks Suggested packages: anacron checksecurity exim4 | postfix | mail-transport-agent bsd-mailx | mailx mixmaster torbrowser-launcher socat tor-arm apparmor-utils obfs4proxy The following NEW packages will be installed: cron libcap2 libevent-2.1-6 libpopt0 libssl1.1 logrotate tor tor-geoipdb torsocks 0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded. Need to get 3729 kB of archives. After this operation, 16.2 MB of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu cosmic/main amd64 cron amd64 3.0pl1-128.1ubuntu1 [68.8 kB] Get:2 http://archive.ubuntu.com/ubuntu cosmic/main amd64 libcap2 amd64 1:2.25-1.2 [13.0 kB] Get:3 http://archive.ubuntu.com/ubuntu cosmic/main amd64 libpopt0 amd64 1.16-11 [26.2 kB] Get:4 http://archive.ubuntu.com/ubuntu cosmic-updates/main amd64 libssl1.1 amd64 1.1.1-1ubuntu2.1 [1297 kB] Get:5 http://archive.ubuntu.com/ubuntu cosmic/main amd64 logrotate amd64 3.14.0-4ubuntu1 [44.6 kB] Get:6 http://archive.ubuntu.com/ubuntu cosmic/main amd64 libevent-2.1-6 amd64 2.1.8-stable-4build1 [133 kB] Get:7 http://archive.ubuntu.com/ubuntu cosmic/universe amd64 tor amd64 0.3.3.9-1 [1277 kB] Get:8 http://archive.ubuntu.com/ubuntu cosmic/universe amd64 torsocks amd64 2.2.0-2 [59.1 kB] Get:9 http://archive.ubuntu.com/ubuntu cosmic/universe amd64 tor-geoipdb all 0.3.3.9-1 [810 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 3729 kB in 3s (1269 kB/s) Selecting previously unselected package cron. (Reading database ... 4091 files and directories currently installed.) Preparing to unpack .../0-cron_3.0pl1-128.1ubuntu1_amd64.deb ... Unpacking cron (3.0pl1-128.1ubuntu1) ... Selecting previously unselected package libcap2:amd64. Preparing to unpack .../1-libcap2_1%3a2.25-1.2_amd64.deb ... Unpacking libcap2:amd64 (1:2.25-1.2) ... Selecting previously unselected package libpopt0:amd64. Preparing to unpack .../2-libpopt0_1.16-11_amd64.deb ... Unpacking libpopt0:amd64 (1.16-11) ... Selecting previously unselected package libssl1.1:amd64. Preparing to unpack .../3-libssl1.1_1.1.1-1ubuntu2.1_amd64.deb ... Unpacking libssl1.1:amd64 (1.1.1-1ubuntu2.1) ... Selecting previously unselected package logrotate. Preparing to unpack .../4-logrotate_3.14.0-4ubuntu1_amd64.deb ... Unpacking logrotate (3.14.0-4ubuntu1) ... Selecting previously unselected package libevent-2.1-6:amd64. Preparing to unpack .../5-libevent-2.1-6_2.1.8-stable-4build1_amd64.deb ... Unpacking libevent-2.1-6:amd64 (2.1.8-stable-4build1) ... Selecting previously unselected package tor. Preparing to unpack .../6-tor_0.3.3.9-1_amd64.deb ... Unpacking tor (0.3.3.9-1) ... Selecting previously unselected package torsocks. Preparing to unpack .../7-torsocks_2.2.0-2_amd64.deb ... Unpacking torsocks (2.2.0-2) ... Selecting previously unselected package tor-geoipdb. Preparing to unpack .../8-tor-geoipdb_0.3.3.9-1_all.deb ... Unpacking tor-geoipdb (0.3.3.9-1) ... Setting up libpopt0:amd64 (1.16-11) ... Setting up libevent-2.1-6:amd64 (2.1.8-stable-4build1) ... Setting up libcap2:amd64 (1:2.25-1.2) ... Processing triggers for libc-bin (2.28-0ubuntu1) ... Setting up libssl1.1:amd64 (1.1.1-1ubuntu2.1) ... debconf: unable to initialize frontend: Dialog debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.2 /usr/local/share/perl/5.26.2 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.) debconf: falling back to frontend: Teletype Setting up torsocks (2.2.0-2) ... Setting up cron (3.0pl1-128.1ubuntu1) ... Adding group `crontab' (GID 101) ... Done. update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults invoke-rc.d: could not determine current runlevel invoke-rc.d: policy-rc.d denied execution of start. Setting up logrotate (3.14.0-4ubuntu1) ... Setting up tor (0.3.3.9-1) ... Something or somebody made /var/lib/tor disappear. Creating one for you again. Something or somebody made /var/log/tor disappear. Creating one for you again. invoke-rc.d: could not determine current runlevel invoke-rc.d: policy-rc.d denied execution of start. Setting up tor-geoipdb (0.3.3.9-1) ... Processing triggers for libc-bin (2.28-0ubuntu1) ... Removing intermediate container 6c125fc80445 ---> 2297a564fcb4 Step 5/8 : RUN sed -i 's/#ORPort 9001/ORPort 9001/' /etc/tor/torrc ---> Running in 3ce8fadaa6d3 Removing intermediate container 3ce8fadaa6d3 ---> f223cdb62637 Step 6/8 : RUN sed -i 's/#Nickname ididnteditheconfig/Nickname torrelay/' /etc/tor/torrc ---> Running in a4722faf959b Removing intermediate container a4722faf959b ---> 80b168efdc96 Step 7/8 : EXPOSE 9001 ---> Running in f60cfc4fc6ab Removing intermediate container f60cfc4fc6ab ---> 77d506f6cc5c Step 8/8 : ENTRYPOINT tor ---> Running in 09dd6e66f656 Removing intermediate container 09dd6e66f656 ---> db959d4dd783 Successfully built db959d4dd783 SECURITY WARNING: You are building a Docker image from Windows against a non-Windows Docker host. All files and directories added to build context will have '-rwxr-xr-x' permissions. It is recommended to double check and reset permissions for sensitive files and directories. C:\Users\Alessandro Fiori\Desktop\TorSwarm>SET /P iid= 0<"C:\Users\Alessandro Fiori\Desktop\TorSwarm\image.txt" C:\Users\Alessandro Fiori\Desktop\TorSwarm>SET iid=db959d4dd783ac1f5c9944336f51c260284a7f579d4aa51324b1f95cb8205779 C:\Users\Alessandro Fiori\Desktop\TorSwarm>docker create db959d4dd783ac1f5c9944336f51c260284a7f579d4aa51324b1f95cb8205779 956949b02177d314180b0cc6923c228e0a40be692ba050f2f3b5078ed449557e C:\Users\Alessandro Fiori\Desktop\TorSwarm>docker ps -l -q 1>>container.txt C:\Users\Alessandro Fiori\Desktop\TorSwarm>SET /P ciid= 0<"C:\Users\Alessandro Fiori\Desktop\TorSwarm\container.txt" C:\Users\Alessandro Fiori\Desktop\TorSwarm>docker commit 956949b02177 9001 sha256:2f2950887d7562406abbd25c23e028a8964db4ad94e78b1e235c86e4033950ff C:\Users\Alessandro Fiori\Desktop\TorSwarm>docker run -p 9001:9001 9001 Mar 31 19:11:06.921 [notice] Tor 0.3.3.9 (git-ca1a436fa8e53a32) running on Linux with Libevent 2.1.8-stable, OpenSSL 1.1.1, Zlib 1.2.11, Liblzma 5.2.2, and Libzstd 1.3.5. Mar 31 19:11:06.921 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning Mar 31 19:11:06.921 [notice] Read configuration file "/etc/tor/torrc". Mar 31 19:11:06.926 [notice] Your ContactInfo config option is not set. Please consider setting it, so we can contact you if your server is misconfigured or something else goes wrong. Mar 31 19:11:06.926 [notice] Based on detected system memory, MaxMemInQueues is set to 1485 MB. You can override this by setting MaxMemInQueues by hand. Mar 31 19:11:06.926 [warn] Tor is running as an exit relay with the default exit policy. If you did not want this behavior, please set the ExitRelay option to 0. If you do want to run an exit Relay, please set the ExitRelay option to 1 to disable this warning, and for forward compatibility. Mar 31 19:11:06.926 [warn] In a future version of Tor, ExitRelay 0 may become the default when no ExitPolicy is given. Mar 31 19:11:06.927 [notice] Scheduler type KIST has been enabled. Mar 31 19:11:06.927 [notice] Opening Socks listener on 127.0.0.1:9050 Mar 31 19:11:06.927 [notice] Opening OR listener on 0.0.0.0:9001 Mar 31 19:11:06.000 [notice] Parsing GEOIP IPv4 file /usr/share/tor/geoip. Mar 31 19:11:07.000 [notice] Parsing GEOIP IPv6 file /usr/share/tor/geoip6. Mar 31 19:11:07.000 [notice] Configured to measure statistics. Look for the *-stats files that will first be written to the data directory in 24 hours from now. Mar 31 19:11:07.000 [warn] You are running Tor as root. You don't need to, and you probably shouldn't. Mar 31 19:11:07.000 [notice] You are running a new relay. Thanks for helping the Tor network! If you wish to know what will happen in the upcoming weeks regarding its usage, have a look at https://blog.torproject.org/blog/lifecycle-of-a-new-relay Mar 31 19:11:07.000 [notice] It looks like I need to generate and sign a new medium-term signing key, because I don't have one. To do that, I need to load (or create) the permanent master identity key. If the master identity key was not moved or encrypted with a passphrase, this will be done automatically and no further action is required. Otherwise, provide the necessary data using 'tor --keygen' to do it manually. Mar 31 19:11:07.000 [notice] Your Tor server's identity key fingerprint is 'torrelay 5461F2AB389FE7EF3BBEDA95D8E48DD80B7B46A3' Mar 31 19:11:07.000 [notice] Bootstrapped 0%: Starting Mar 31 19:11:07.000 [notice] Starting with guard context "default" Mar 31 19:11:07.000 [notice] Guessed our IP address as 5.88.73.115 (source: 204.13.164.118). Mar 31 19:11:08.000 [notice] I learned some more directory information, but not enough to build a circuit: We have no usable consensus. Mar 31 19:11:08.000 [notice] I learned some more directory information, but not enough to build a circuit: We have no usable consensus. Mar 31 19:11:09.000 [notice] Bootstrapped 45%: Asking for relay descriptors Mar 31 19:11:09.000 [notice] I learned some more directory information, but not enough to build a circuit: We need more microdescriptors: we have 0/6606, and can only build 0% of likely paths. (We have 0% of guards bw, 0% of midpoint bw, and 0% of exit bw = 0% of path bw.) Mar 31 19:11:10.000 [notice] Bootstrapped 50%: Loading relay descriptors Mar 31 19:11:13.000 [notice] Bootstrapped 55%: Loading relay descriptors Mar 31 19:11:13.000 [notice] Bootstrapped 60%: Loading relay descriptors Mar 31 19:11:13.000 [notice] Bootstrapped 65%: Loading relay descriptors Mar 31 19:11:14.000 [notice] Bootstrapped 71%: Loading relay descriptors Mar 31 19:11:14.000 [notice] Bootstrapped 76%: Loading relay descriptors Mar 31 19:11:14.000 [notice] Bootstrapped 80%: Connecting to the Tor network Mar 31 19:11:17.000 [notice] Bootstrapped 85%: Finishing handshake with first hop Mar 31 19:11:18.000 [notice] Bootstrapped 90%: Establishing a Tor circuit Mar 31 19:11:18.000 [notice] Tor has successfully opened a circuit. Looks like client functionality is working. Mar 31 19:11:18.000 [notice] Bootstrapped 100%: Done Mar 31 19:11:18.000 [notice] Now checking whether ORPort 5.88.73.115:9001 is reachable... (this may take up to 20 minutes -- look for log messages indicating success) Mar 31 19:11:20.000 [notice] Self-testing indicates your ORPort is reachable from the outside. Excellent. Publishing server descriptor. Mar 31 19:11:22.000 [notice] Performing bandwidth self-test...done.
C:\Users\Alessandro Fiori\Desktop\TorSwarm>DEL /F /Q /A "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" C:\Users\Alessandro Fiori\Desktop\TorSwarm>docker build --no-cache=true "C:\Users\Alessandro Fiori\Desktop\TorSwarm\9003" --iidfile "C:\Users\Alessandro Fiori\Desktop\TorSwarm\image.txt" Sending build context to Docker daemon 2.048kB Step 1/8 : FROM ubuntu:rolling ---> b977ae81df17 Step 2/8 : RUN apt-get update && apt-get upgrade -y ---> Running in 1f668b9c01ff Get:1 http://archive.ubuntu.com/ubuntu cosmic InRelease [242 kB] Get:2 http://security.ubuntu.com/ubuntu cosmic-security InRelease [88.7 kB] Get:3 http://archive.ubuntu.com/ubuntu cosmic-updates InRelease [88.7 kB] Get:4 http://archive.ubuntu.com/ubuntu cosmic-backports InRelease [74.6 kB] Get:5 http://archive.ubuntu.com/ubuntu cosmic/restricted amd64 Packages [13.6 kB] Get:6 http://archive.ubuntu.com/ubuntu cosmic/multiverse amd64 Packages [195 kB] Get:7 http://archive.ubuntu.com/ubuntu cosmic/main amd64 Packages [1342 kB] Get:8 http://security.ubuntu.com/ubuntu cosmic-security/multiverse amd64 Packages [3635 B] Get:9 http://security.ubuntu.com/ubuntu cosmic-security/universe amd64 Packages [79.2 kB] Get:10 http://security.ubuntu.com/ubuntu cosmic-security/main amd64 Packages [184 kB] Get:11 http://security.ubuntu.com/ubuntu cosmic-security/restricted amd64 Packages [5433 B] Get:12 http://archive.ubuntu.com/ubuntu cosmic/universe amd64 Packages [11.6 MB] Get:13 http://archive.ubuntu.com/ubuntu cosmic-updates/restricted amd64 Packages [5433 B] Get:14 http://archive.ubuntu.com/ubuntu cosmic-updates/main amd64 Packages [322 kB] Get:15 http://archive.ubuntu.com/ubuntu cosmic-updates/multiverse amd64 Packages [3635 B] Get:16 http://archive.ubuntu.com/ubuntu cosmic-updates/universe amd64 Packages [306 kB] Get:17 http://archive.ubuntu.com/ubuntu cosmic-backports/universe amd64 Packages [3009 B] Fetched 14.6 MB in 11s (1325 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... The following packages will be upgraded: apt libapt-pkg5.0 2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 1992 kB of archives. After this operation, 6144 B of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu cosmic-updates/main amd64 libapt-pkg5.0 amd64 1.7.4 [816 kB] Get:2 http://archive.ubuntu.com/ubuntu cosmic-updates/main amd64 apt amd64 1.7.4 [1176 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 1992 kB in 2s (1186 kB/s) (Reading database ... 4032 files and directories currently installed.) Preparing to unpack .../libapt-pkg5.0_1.7.4_amd64.deb ... Unpacking libapt-pkg5.0:amd64 (1.7.4) over (1.7.2) ... Setting up libapt-pkg5.0:amd64 (1.7.4) ... (Reading database ... 4032 files and directories currently installed.) Preparing to unpack .../archives/apt_1.7.4_amd64.deb ... Unpacking apt (1.7.4) over (1.7.2) ... Setting up apt (1.7.4) ... Processing triggers for libc-bin (2.28-0ubuntu1) ... Removing intermediate container 1f668b9c01ff ---> 5d85d36770d0 Step 3/8 : RUN apt-get install sudo -y ---> Running in e7df85254a3b Reading package lists... Building dependency tree... Reading state information... The following NEW packages will be installed: sudo 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 490 kB of archives. After this operation, 2114 kB of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu cosmic/main amd64 sudo amd64 1.8.23-2ubuntu1 [490 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 490 kB in 1s (951 kB/s) Selecting previously unselected package sudo. (Reading database ... 4033 files and directories currently installed.) Preparing to unpack .../sudo_1.8.23-2ubuntu1_amd64.deb ... Unpacking sudo (1.8.23-2ubuntu1) ... Setting up sudo (1.8.23-2ubuntu1) ... Removing intermediate container e7df85254a3b ---> ed850539df03 Step 4/8 : RUN sudo apt-get install tor -y ---> Running in ec2c1ebf7072 Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: cron libcap2 libevent-2.1-6 libpopt0 libssl1.1 logrotate tor-geoipdb torsocks Suggested packages: anacron checksecurity exim4 | postfix | mail-transport-agent bsd-mailx | mailx mixmaster torbrowser-launcher socat tor-arm apparmor-utils obfs4proxy The following NEW packages will be installed: cron libcap2 libevent-2.1-6 libpopt0 libssl1.1 logrotate tor tor-geoipdb torsocks 0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded. Need to get 3729 kB of archives. After this operation, 16.2 MB of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu cosmic/main amd64 cron amd64 3.0pl1-128.1ubuntu1 [68.8 kB] Get:2 http://archive.ubuntu.com/ubuntu cosmic/main amd64 libcap2 amd64 1:2.25-1.2 [13.0 kB] Get:3 http://archive.ubuntu.com/ubuntu cosmic/main amd64 libpopt0 amd64 1.16-11 [26.2 kB] Get:4 http://archive.ubuntu.com/ubuntu cosmic-updates/main amd64 libssl1.1 amd64 1.1.1-1ubuntu2.1 [1297 kB] Get:5 http://archive.ubuntu.com/ubuntu cosmic/main amd64 logrotate amd64 3.14.0-4ubuntu1 [44.6 kB] Get:6 http://archive.ubuntu.com/ubuntu cosmic/main amd64 libevent-2.1-6 amd64 2.1.8-stable-4build1 [133 kB] Get:7 http://archive.ubuntu.com/ubuntu cosmic/universe amd64 tor amd64 0.3.3.9-1 [1277 kB] Get:8 http://archive.ubuntu.com/ubuntu cosmic/universe amd64 torsocks amd64 2.2.0-2 [59.1 kB] Get:9 http://archive.ubuntu.com/ubuntu cosmic/universe amd64 tor-geoipdb all 0.3.3.9-1 [810 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 3729 kB in 3s (1253 kB/s) Selecting previously unselected package cron. (Reading database ... 4091 files and directories currently installed.) Preparing to unpack .../0-cron_3.0pl1-128.1ubuntu1_amd64.deb ... Unpacking cron (3.0pl1-128.1ubuntu1) ... Selecting previously unselected package libcap2:amd64. Preparing to unpack .../1-libcap2_1%3a2.25-1.2_amd64.deb ... Unpacking libcap2:amd64 (1:2.25-1.2) ... Selecting previously unselected package libpopt0:amd64. Preparing to unpack .../2-libpopt0_1.16-11_amd64.deb ... Unpacking libpopt0:amd64 (1.16-11) ... Selecting previously unselected package libssl1.1:amd64. Preparing to unpack .../3-libssl1.1_1.1.1-1ubuntu2.1_amd64.deb ... Unpacking libssl1.1:amd64 (1.1.1-1ubuntu2.1) ... Selecting previously unselected package logrotate. Preparing to unpack .../4-logrotate_3.14.0-4ubuntu1_amd64.deb ... Unpacking logrotate (3.14.0-4ubuntu1) ... Selecting previously unselected package libevent-2.1-6:amd64. Preparing to unpack .../5-libevent-2.1-6_2.1.8-stable-4build1_amd64.deb ... Unpacking libevent-2.1-6:amd64 (2.1.8-stable-4build1) ... Selecting previously unselected package tor. Preparing to unpack .../6-tor_0.3.3.9-1_amd64.deb ... Unpacking tor (0.3.3.9-1) ... Selecting previously unselected package torsocks. Preparing to unpack .../7-torsocks_2.2.0-2_amd64.deb ... Unpacking torsocks (2.2.0-2) ... Selecting previously unselected package tor-geoipdb. Preparing to unpack .../8-tor-geoipdb_0.3.3.9-1_all.deb ... Unpacking tor-geoipdb (0.3.3.9-1) ... Setting up libpopt0:amd64 (1.16-11) ... Setting up libevent-2.1-6:amd64 (2.1.8-stable-4build1) ... Setting up libcap2:amd64 (1:2.25-1.2) ... Processing triggers for libc-bin (2.28-0ubuntu1) ... Setting up libssl1.1:amd64 (1.1.1-1ubuntu2.1) ... debconf: unable to initialize frontend: Dialog debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.2 /usr/local/share/perl/5.26.2 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.) debconf: falling back to frontend: Teletype Setting up torsocks (2.2.0-2) ... Setting up cron (3.0pl1-128.1ubuntu1) ... Adding group `crontab' (GID 101) ... Done. update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults invoke-rc.d: could not determine current runlevel invoke-rc.d: policy-rc.d denied execution of start. Setting up logrotate (3.14.0-4ubuntu1) ... Setting up tor (0.3.3.9-1) ... Something or somebody made /var/lib/tor disappear. Creating one for you again. Something or somebody made /var/log/tor disappear. Creating one for you again. invoke-rc.d: could not determine current runlevel invoke-rc.d: policy-rc.d denied execution of start. Setting up tor-geoipdb (0.3.3.9-1) ... Processing triggers for libc-bin (2.28-0ubuntu1) ... Removing intermediate container ec2c1ebf7072 ---> 174cecbf679f Step 5/8 : RUN sed -i 's/#ORPort 9001/ORPort 9003/' /etc/tor/torrc ---> Running in 7b6dde5dfa03 Removing intermediate container 7b6dde5dfa03 ---> 1071c7fef1b6 Step 6/8 : RUN sed -i 's/#Nickname ididnteditheconfig/Nickname torrelay/' /etc/tor/torrc ---> Running in 2a79062e0999 Removing intermediate container 2a79062e0999 ---> 454f11718581 Step 7/8 : EXPOSE 9003 ---> Running in e2f05641d8c8 Removing intermediate container e2f05641d8c8 ---> bfd4e90a7e42 Step 8/8 : ENTRYPOINT tor ---> Running in 95fc1a0dc67b Removing intermediate container 95fc1a0dc67b ---> 077515028e15 Successfully built 077515028e15 SECURITY WARNING: You are building a Docker image from Windows against a non-Windows Docker host. All files and directories added to build context will have '-rwxr-xr-x' permissions. It is recommended to double check and reset permissions for sensitive files and directories. C:\Users\Alessandro Fiori\Desktop\TorSwarm>SET /P iid= 0<"C:\Users\Alessandro Fiori\Desktop\TorSwarm\image.txt" C:\Users\Alessandro Fiori\Desktop\TorSwarm>SET iid=077515028e15df9430b0fcdf923f09cf40949f08dca78a8711dc4096162d32fb C:\Users\Alessandro Fiori\Desktop\TorSwarm>docker create 077515028e15df9430b0fcdf923f09cf40949f08dca78a8711dc4096162d32fb 69a490cb86c9c44e166ed556660a4e89a470abd578986eb6f12625f7a9621a6d C:\Users\Alessandro Fiori\Desktop\TorSwarm>docker ps -l -q 1>>container.txt C:\Users\Alessandro Fiori\Desktop\TorSwarm>SET /P ciid= 0<"C:\Users\Alessandro Fiori\Desktop\TorSwarm\container.txt" C:\Users\Alessandro Fiori\Desktop\TorSwarm>docker commit 69a490cb86c9 9003 sha256:536fff7cd361c82f507dfc952bef21a2aec4242fdb0ed7c30415268f66860846 C:\Users\Alessandro Fiori\Desktop\TorSwarm>docker run -p 9003:9003 9003 Mar 31 19:20:47.563 [notice] Tor 0.3.3.9 (git-ca1a436fa8e53a32) running on Linux with Libevent 2.1.8-stable, OpenSSL 1.1.1, Zlib 1.2.11, Liblzma 5.2.2, and Libzstd 1.3.5. Mar 31 19:20:47.563 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning Mar 31 19:20:47.563 [notice] Read configuration file "/etc/tor/torrc". Mar 31 19:20:47.571 [notice] Your ContactInfo config option is not set. Please consider setting it, so we can contact you if your server is misconfigured or something else goes wrong. Mar 31 19:20:47.571 [notice] Based on detected system memory, MaxMemInQueues is set to 1485 MB. You can override this by setting MaxMemInQueues by hand. Mar 31 19:20:47.571 [warn] Tor is running as an exit relay with the default exit policy. If you did not want this behavior, please set the ExitRelay option to 0. If you do want to run an exit Relay, please set the ExitRelay option to 1 to disable this warning, and for forward compatibility. Mar 31 19:20:47.571 [warn] In a future version of Tor, ExitRelay 0 may become the default when no ExitPolicy is given. Mar 31 19:20:47.572 [notice] Scheduler type KIST has been enabled. Mar 31 19:20:47.572 [notice] Opening Socks listener on 127.0.0.1:9050 Mar 31 19:20:47.572 [notice] Opening OR listener on 0.0.0.0:9003 Mar 31 19:20:47.000 [notice] Parsing GEOIP IPv4 file /usr/share/tor/geoip. Mar 31 19:20:47.000 [notice] Parsing GEOIP IPv6 file /usr/share/tor/geoip6. Mar 31 19:20:47.000 [notice] Configured to measure statistics. Look for the *-stats files that will first be written to the data directory in 24 hours from now. Mar 31 19:20:47.000 [warn] You are running Tor as root. You don't need to, and you probably shouldn't. Mar 31 19:20:47.000 [notice] You are running a new relay. Thanks for helping the Tor network! If you wish to know what will happen in the upcoming weeks regarding its usage, have a look at https://blog.torproject.org/blog/lifecycle-of-a-new-relay Mar 31 19:20:47.000 [notice] It looks like I need to generate and sign a new medium-term signing key, because I don't have one. To do that, I need to load (or create) the permanent master identity key. If the master identity key was not moved or encrypted with a passphrase, this will be done automatically and no further action is required. Otherwise, provide the necessary data using 'tor --keygen' to do it manually. Mar 31 19:20:47.000 [notice] Your Tor server's identity key fingerprint is 'torrelay 285E5CE176B919338ED3D5A13B866CCEDF176A32' Mar 31 19:20:47.000 [notice] Bootstrapped 0%: Starting Mar 31 19:20:47.000 [notice] Starting with guard context "default" Mar 31 19:20:48.000 [notice] Guessed our IP address as 5.88.73.115 (source: 86.59.21.38). Mar 31 19:20:49.000 [notice] I learned some more directory information, but not enough to build a circuit: We have no usable consensus. Mar 31 19:20:49.000 [notice] I learned some more directory information, but not enough to build a circuit: We have no usable consensus. Mar 31 19:20:51.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 Mar 31 19:20:51.000 [notice] Bootstrapped 45%: Asking for relay descriptors Mar 31 19:20:51.000 [notice] I learned some more directory information, but not enough to build a circuit: We need more microdescriptors: we have 0/6604, and can only build 0% of likely paths. (We have 0% of guards bw, 0% of midpoint bw, and 0% of exit bw = 0% of path bw.) Mar 31 19:20:54.000 [notice] Bootstrapped 50%: Loading relay descriptors Mar 31 19:20:56.000 [notice] Bootstrapped 55%: Loading relay descriptors Mar 31 19:20:57.000 [notice] Bootstrapped 60%: Loading relay descriptors Mar 31 19:20:57.000 [notice] Bootstrapped 65%: Loading relay descriptors Mar 31 19:20:57.000 [notice] Bootstrapped 70%: Loading relay descriptors Mar 31 19:20:57.000 [notice] Bootstrapped 75%: Loading relay descriptors Mar 31 19:20:58.000 [notice] Bootstrapped 80%: Connecting to the Tor network Mar 31 19:21:01.000 [notice] Bootstrapped 85%: Finishing handshake with first hop Mar 31 19:21:04.000 [notice] Bootstrapped 90%: Establishing a Tor circuit Mar 31 19:21:04.000 [notice] Tor has successfully opened a circuit. Looks like client functionality is working. Mar 31 19:21:04.000 [notice] Bootstrapped 100%: Done Mar 31 19:21:04.000 [notice] Now checking whether ORPort 5.88.73.115:9003 is reachable... (this may take up to 20 minutes -- look for log messages indicating success) Mar 31 19:21:49.000 [notice] Self-testing indicates your ORPort is reachable from the outside. Excellent. Publishing server descriptor. Mar 31 19:21:51.000 [notice] Performing bandwidth self-test...done.
C:\Users\Alessandro Fiori\Desktop\TorSwarm\Middle>DEL /F /Q /A "C:\Users\Alessandro Fiori\Desktop\TorSwarm\Middle\image.txt" C:\Users\Alessandro Fiori\Desktop\TorSwarm\Middle>DEL /F /Q /A "C:\Users\Alessandro Fiori\Desktop\TorSwarm\Middle\container.txt" C:\Users\Alessandro Fiori\Desktop\TorSwarm\Middle>docker build --no-cache=true "C:\Users\Alessandro Fiori\Desktop\TorSwarm\Middle\9005" --iidfile "C:\Users\Alessandro Fiori\Desktop\TorSwarm\Middle\image.txt" Sending build context to Docker daemon 2.048kB Step 1/9 : FROM ubuntu:rolling ---> b977ae81df17 Step 2/9 : RUN apt-get update && apt-get upgrade -y ---> Running in 68a6f93f7c23 Get:1 http://archive.ubuntu.com/ubuntu cosmic InRelease [242 kB] Get:2 http://security.ubuntu.com/ubuntu cosmic-security InRelease [88.7 kB] Get:3 http://archive.ubuntu.com/ubuntu cosmic-updates InRelease [88.7 kB] Get:4 http://archive.ubuntu.com/ubuntu cosmic-backports InRelease [74.6 kB] Get:5 http://security.ubuntu.com/ubuntu cosmic-security/restricted amd64 Packages [5433 B] Get:6 http://security.ubuntu.com/ubuntu cosmic-security/main amd64 Packages [184 kB] Get:7 http://archive.ubuntu.com/ubuntu cosmic/main amd64 Packages [1342 kB] Get:8 http://security.ubuntu.com/ubuntu cosmic-security/universe amd64 Packages [79.2 kB] Get:9 http://security.ubuntu.com/ubuntu cosmic-security/multiverse amd64 Packages [3635 B] Get:10 http://archive.ubuntu.com/ubuntu cosmic/restricted amd64 Packages [13.6 kB] Get:11 http://archive.ubuntu.com/ubuntu cosmic/multiverse amd64 Packages [195 kB] Get:12 http://archive.ubuntu.com/ubuntu cosmic/universe amd64 Packages [11.6 MB] Get:13 http://archive.ubuntu.com/ubuntu cosmic-updates/restricted amd64 Packages [5433 B] Get:14 http://archive.ubuntu.com/ubuntu cosmic-updates/main amd64 Packages [322 kB] Get:15 http://archive.ubuntu.com/ubuntu cosmic-updates/universe amd64 Packages [306 kB] Get:16 http://archive.ubuntu.com/ubuntu cosmic-updates/multiverse amd64 Packages [3635 B] Get:17 http://archive.ubuntu.com/ubuntu cosmic-backports/universe amd64 Packages [3009 B] Fetched 14.6 MB in 12s (1194 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... The following packages will be upgraded: apt libapt-pkg5.0 2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 1992 kB of archives. After this operation, 6144 B of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu cosmic-updates/main amd64 libapt-pkg5.0 amd64 1.7.4 [816 kB] Get:2 http://archive.ubuntu.com/ubuntu cosmic-updates/main amd64 apt amd64 1.7.4 [1176 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 1992 kB in 2s (1098 kB/s) (Reading database ... 4032 files and directories currently installed.) Preparing to unpack .../libapt-pkg5.0_1.7.4_amd64.deb ... Unpacking libapt-pkg5.0:amd64 (1.7.4) over (1.7.2) ... Setting up libapt-pkg5.0:amd64 (1.7.4) ... (Reading database ... 4032 files and directories currently installed.) Preparing to unpack .../archives/apt_1.7.4_amd64.deb ... Unpacking apt (1.7.4) over (1.7.2) ... Setting up apt (1.7.4) ... Processing triggers for libc-bin (2.28-0ubuntu1) ... Removing intermediate container 68a6f93f7c23 ---> 75297cc68ed5 Step 3/9 : RUN apt-get install sudo -y ---> Running in d4db65683d77 Reading package lists... Building dependency tree... Reading state information... The following NEW packages will be installed: sudo 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 490 kB of archives. After this operation, 2114 kB of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu cosmic/main amd64 sudo amd64 1.8.23-2ubuntu1 [490 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 490 kB in 1s (950 kB/s) Selecting previously unselected package sudo. (Reading database ... 4033 files and directories currently installed.) Preparing to unpack .../sudo_1.8.23-2ubuntu1_amd64.deb ... Unpacking sudo (1.8.23-2ubuntu1) ... Setting up sudo (1.8.23-2ubuntu1) ... Removing intermediate container d4db65683d77 ---> 70822b1b319f Step 4/9 : RUN sudo apt-get install tor -y ---> Running in b1e387bcaf2f Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: cron libcap2 libevent-2.1-6 libpopt0 libssl1.1 logrotate tor-geoipdb torsocks Suggested packages: anacron checksecurity exim4 | postfix | mail-transport-agent bsd-mailx | mailx mixmaster torbrowser-launcher socat tor-arm apparmor-utils obfs4proxy The following NEW packages will be installed: cron libcap2 libevent-2.1-6 libpopt0 libssl1.1 logrotate tor tor-geoipdb torsocks 0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded. Need to get 3729 kB of archives. After this operation, 16.2 MB of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu cosmic/main amd64 cron amd64 3.0pl1-128.1ubuntu1 [68.8 kB] Get:2 http://archive.ubuntu.com/ubuntu cosmic/main amd64 libcap2 amd64 1:2.25-1.2 [13.0 kB] Get:3 http://archive.ubuntu.com/ubuntu cosmic/main amd64 libpopt0 amd64 1.16-11 [26.2 kB] Get:4 http://archive.ubuntu.com/ubuntu cosmic-updates/main amd64 libssl1.1 amd64 1.1.1-1ubuntu2.1 [1297 kB] Get:5 http://archive.ubuntu.com/ubuntu cosmic/main amd64 logrotate amd64 3.14.0-4ubuntu1 [44.6 kB] Get:6 http://archive.ubuntu.com/ubuntu cosmic/main amd64 libevent-2.1-6 amd64 2.1.8-stable-4build1 [133 kB] Get:7 http://archive.ubuntu.com/ubuntu cosmic/universe amd64 tor amd64 0.3.3.9-1 [1277 kB] Get:8 http://archive.ubuntu.com/ubuntu cosmic/universe amd64 torsocks amd64 2.2.0-2 [59.1 kB] Get:9 http://archive.ubuntu.com/ubuntu cosmic/universe amd64 tor-geoipdb all 0.3.3.9-1 [810 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 3729 kB in 3s (1233 kB/s) Selecting previously unselected package cron. (Reading database ... 4091 files and directories currently installed.) Preparing to unpack .../0-cron_3.0pl1-128.1ubuntu1_amd64.deb ... Unpacking cron (3.0pl1-128.1ubuntu1) ... Selecting previously unselected package libcap2:amd64. Preparing to unpack .../1-libcap2_1%3a2.25-1.2_amd64.deb ... Unpacking libcap2:amd64 (1:2.25-1.2) ... Selecting previously unselected package libpopt0:amd64. Preparing to unpack .../2-libpopt0_1.16-11_amd64.deb ... Unpacking libpopt0:amd64 (1.16-11) ... Selecting previously unselected package libssl1.1:amd64. Preparing to unpack .../3-libssl1.1_1.1.1-1ubuntu2.1_amd64.deb ... Unpacking libssl1.1:amd64 (1.1.1-1ubuntu2.1) ... Selecting previously unselected package logrotate. Preparing to unpack .../4-logrotate_3.14.0-4ubuntu1_amd64.deb ... Unpacking logrotate (3.14.0-4ubuntu1) ... Selecting previously unselected package libevent-2.1-6:amd64. Preparing to unpack .../5-libevent-2.1-6_2.1.8-stable-4build1_amd64.deb ... Unpacking libevent-2.1-6:amd64 (2.1.8-stable-4build1) ... Selecting previously unselected package tor. Preparing to unpack .../6-tor_0.3.3.9-1_amd64.deb ... Unpacking tor (0.3.3.9-1) ... Selecting previously unselected package torsocks. Preparing to unpack .../7-torsocks_2.2.0-2_amd64.deb ... Unpacking torsocks (2.2.0-2) ... Selecting previously unselected package tor-geoipdb. Preparing to unpack .../8-tor-geoipdb_0.3.3.9-1_all.deb ... Unpacking tor-geoipdb (0.3.3.9-1) ... Setting up libpopt0:amd64 (1.16-11) ... Setting up libevent-2.1-6:amd64 (2.1.8-stable-4build1) ... Setting up libcap2:amd64 (1:2.25-1.2) ... Processing triggers for libc-bin (2.28-0ubuntu1) ... Setting up libssl1.1:amd64 (1.1.1-1ubuntu2.1) ... debconf: unable to initialize frontend: Dialog debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.2 /usr/local/share/perl/5.26.2 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.) debconf: falling back to frontend: Teletype Setting up torsocks (2.2.0-2) ... Setting up cron (3.0pl1-128.1ubuntu1) ... Adding group `crontab' (GID 101) ... Done. update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults invoke-rc.d: could not determine current runlevel invoke-rc.d: policy-rc.d denied execution of start. Setting up logrotate (3.14.0-4ubuntu1) ... Setting up tor (0.3.3.9-1) ... Something or somebody made /var/lib/tor disappear. Creating one for you again. Something or somebody made /var/log/tor disappear. Creating one for you again. invoke-rc.d: could not determine current runlevel invoke-rc.d: policy-rc.d denied execution of start. Setting up tor-geoipdb (0.3.3.9-1) ... Processing triggers for libc-bin (2.28-0ubuntu1) ... Removing intermediate container b1e387bcaf2f ---> 40a35414ded7 Step 5/9 : RUN sed -i 's/#ORPort 9001/ORPort 9005/' /etc/tor/torrc ---> Running in cb68923566cf Removing intermediate container cb68923566cf ---> 82504d1ede1c Step 6/9 : RUN sed -i 's/#Nickname ididnteditheconfig/Nickname torrelay/' /etc/tor/torrc ---> Running in fca9dde9c95b Removing intermediate container fca9dde9c95b ---> 8f18541fffe0 Step 7/9 : RUN sed -i 's/#ExitRelay 0/ExitRelay 0/' /etc/tor/torrc ---> Running in 90b8ae93cdde Removing intermediate container 90b8ae93cdde ---> 084ce1bd6b4f Step 8/9 : EXPOSE 9005 ---> Running in 0d564b657565 Removing intermediate container 0d564b657565 ---> 7ceb0e3d8364 Step 9/9 : ENTRYPOINT tor ---> Running in 43a8e797fa22 Removing intermediate container 43a8e797fa22 ---> 1322ba1144e9 Successfully built 1322ba1144e9 SECURITY WARNING: You are building a Docker image from Windows against a non-Windows Docker host. All files and directories added to build context will have '-rwxr-xr-x' permissions. It is recommended to double check and reset permissions for sensitive files and directories. C:\Users\Alessandro Fiori\Desktop\TorSwarm\Middle>SET /P iid= 0<"C:\Users\Alessandro Fiori\Desktop\TorSwarm\Middle\image.txt" C:\Users\Alessandro Fiori\Desktop\TorSwarm\Middle>SET iid=1322ba1144e954efbc3952a3496f2548ea2e1f7039c1191ad452f9288e48c07b C:\Users\Alessandro Fiori\Desktop\TorSwarm\Middle>docker create 1322ba1144e954efbc3952a3496f2548ea2e1f7039c1191ad452f9288e48c07b 0a2156ad067dad389d24c254d146bef3d7591491b1d866fae51c94ac1d59f76d C:\Users\Alessandro Fiori\Desktop\TorSwarm\Middle>docker ps -l -q 1>>container.txt C:\Users\Alessandro Fiori\Desktop\TorSwarm\Middle>SET /P ciid= 0<"C:\Users\Alessandro Fiori\Desktop\TorSwarm\Middle\container.txt" C:\Users\Alessandro Fiori\Desktop\TorSwarm\Middle>docker commit 0a2156ad067d 9005 sha256:aee8735e7ed7e428d521307334ce8fb5154a230c75e61168edfe598e83a70c88 C:\Users\Alessandro Fiori\Desktop\TorSwarm\Middle>docker run -p 9005:9005 9005 Mar 31 19:47:02.541 [notice] Tor 0.3.3.9 (git-ca1a436fa8e53a32) running on Linux with Libevent 2.1.8-stable, OpenSSL 1.1.1, Zlib 1.2.11, Liblzma 5.2.2, and Libzstd 1.3.5. Mar 31 19:47:02.541 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning Mar 31 19:47:02.541 [notice] Read configuration file "/etc/tor/torrc". Mar 31 19:47:02.546 [notice] Your ContactInfo config option is not set. Please consider setting it, so we can contact you if your server is misconfigured or something else goes wrong. Mar 31 19:47:02.547 [notice] Based on detected system memory, MaxMemInQueues is set to 1485 MB. You can override this by setting MaxMemInQueues by hand. Mar 31 19:47:02.549 [warn] Tor is running as an exit relay with the default exit policy. If you did not want this behavior, please set the ExitRelay option to 0. If you do want to run an exit Relay, please set the ExitRelay option to 1 to disable this warning, and for forward compatibility. Mar 31 19:47:02.549 [warn] In a future version of Tor, ExitRelay 0 may become the default when no ExitPolicy is given. Mar 31 19:47:02.550 [notice] Scheduler type KIST has been enabled. Mar 31 19:47:02.550 [notice] Opening Socks listener on 127.0.0.1:9050 Mar 31 19:47:02.550 [notice] Opening OR listener on 0.0.0.0:9005 Mar 31 19:47:02.000 [notice] Parsing GEOIP IPv4 file /usr/share/tor/geoip. Mar 31 19:47:02.000 [notice] Parsing GEOIP IPv6 file /usr/share/tor/geoip6. Mar 31 19:47:02.000 [notice] Configured to measure statistics. Look for the *-stats files that will first be written to the data directory in 24 hours from now. Mar 31 19:47:02.000 [warn] You are running Tor as root. You don't need to, and you probably shouldn't. Mar 31 19:47:02.000 [notice] You are running a new relay. Thanks for helping the Tor network! If you wish to know what will happen in the upcoming weeks regarding its usage, have a look at https://blog.torproject.org/blog/lifecycle-of-a-new-relay Mar 31 19:47:02.000 [notice] It looks like I need to generate and sign a new medium-term signing key, because I don't have one. To do that, I need to load (or create) the permanent master identity key. If the master identity key was not moved or encrypted with a passphrase, this will be done automatically and no further action is required. Otherwise, provide the necessary data using 'tor --keygen' to do it manually. Mar 31 19:47:03.000 [notice] Your Tor server's identity key fingerprint is 'torrelay F02D8D49923E6015134967F0A77EBADC43707FF3' Mar 31 19:47:03.000 [notice] Bootstrapped 0%: Starting Mar 31 19:47:03.000 [notice] Starting with guard context "default" Mar 31 19:47:03.000 [notice] Guessed our IP address as 5.88.73.115 (source: 128.31.0.39). Mar 31 19:47:04.000 [notice] I learned some more directory information, but not enough to build a circuit: We have no usable consensus. Mar 31 19:47:04.000 [notice] I learned some more directory information, but not enough to build a circuit: We have no usable consensus. Mar 31 19:47:05.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 Mar 31 19:47:05.000 [notice] Bootstrapped 45%: Asking for relay descriptors Mar 31 19:47:05.000 [notice] I learned some more directory information, but not enough to build a circuit: We need more microdescriptors: we have 0/6604, and can only build 0% of likely paths. (We have 0% of guards bw, 0% of midpoint bw, and 0% of exit bw = 0% of path bw.) Mar 31 19:47:07.000 [notice] Bootstrapped 50%: Loading relay descriptors Mar 31 19:47:11.000 [notice] Bootstrapped 55%: Loading relay descriptors Mar 31 19:47:11.000 [notice] Bootstrapped 60%: Loading relay descriptors Mar 31 19:47:12.000 [notice] Bootstrapped 65%: Loading relay descriptors Mar 31 19:47:12.000 [notice] Bootstrapped 70%: Loading relay descriptors Mar 31 19:47:12.000 [notice] Bootstrapped 76%: Loading relay descriptors Mar 31 19:47:28.000 [notice] Bootstrapped 80%: Connecting to the Tor network Mar 31 19:47:28.000 [notice] Bootstrapped 85%: Finishing handshake with first hop Mar 31 19:47:28.000 [notice] Bootstrapped 90%: Establishing a Tor circuit Mar 31 19:47:29.000 [notice] Tor has successfully opened a circuit. Looks like client functionality is working. Mar 31 19:47:29.000 [notice] Bootstrapped 100%: Done Mar 31 19:47:29.000 [notice] Now checking whether ORPort 5.88.73.115:9005 is reachable... (this may take up to 20 minutes -- look for log messages indicating success) Mar 31 19:47:30.000 [notice] Self-testing indicates your ORPort is reachable from the outside. Excellent. Publishing server descriptor. Mar 31 19:47:34.000 [notice] Performing bandwidth self-test...done.
C:\Users\Alessandro Fiori\Desktop\TorSwarm>DEL /F /Q /A "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" C:\Users\Alessandro Fiori\Desktop\TorSwarm>docker build --no-cache=true "C:\Users\Alessandro Fiori\Desktop\TorSwarm\9002" --iidfile "C:\Users\Alessandro Fiori\Desktop\TorSwarm\image.txt" Sending build context to Docker daemon 2.048kB Step 1/8 : FROM ubuntu:rolling ---> b977ae81df17 Step 2/8 : RUN apt-get update && apt-get upgrade -y ---> Running in 60bb6788b723 Get:1 http://archive.ubuntu.com/ubuntu cosmic InRelease [242 kB] Get:2 http://security.ubuntu.com/ubuntu cosmic-security InRelease [88.7 kB] Get:3 http://archive.ubuntu.com/ubuntu cosmic-updates InRelease [88.7 kB] Get:4 http://archive.ubuntu.com/ubuntu cosmic-backports InRelease [74.6 kB] Get:5 http://archive.ubuntu.com/ubuntu cosmic/main amd64 Packages [1342 kB] Get:6 http://security.ubuntu.com/ubuntu cosmic-security/main amd64 Packages [184 kB] Get:7 http://security.ubuntu.com/ubuntu cosmic-security/multiverse amd64 Packages [3635 B] Get:8 http://security.ubuntu.com/ubuntu cosmic-security/restricted amd64 Packages [5433 B] Get:9 http://security.ubuntu.com/ubuntu cosmic-security/universe amd64 Packages [79.2 kB] Get:10 http://archive.ubuntu.com/ubuntu cosmic/restricted amd64 Packages [13.6 kB] Get:11 http://archive.ubuntu.com/ubuntu cosmic/multiverse amd64 Packages [195 kB] Get:12 http://archive.ubuntu.com/ubuntu cosmic/universe amd64 Packages [11.6 MB] Get:13 http://archive.ubuntu.com/ubuntu cosmic-updates/universe amd64 Packages [306 kB] Get:14 http://archive.ubuntu.com/ubuntu cosmic-updates/multiverse amd64 Packages [3635 B] Get:15 http://archive.ubuntu.com/ubuntu cosmic-updates/main amd64 Packages [322 kB] Get:16 http://archive.ubuntu.com/ubuntu cosmic-updates/restricted amd64 Packages [5433 B] Get:17 http://archive.ubuntu.com/ubuntu cosmic-backports/universe amd64 Packages [3009 B] Fetched 14.6 MB in 13s (1105 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... The following packages will be upgraded: apt libapt-pkg5.0 2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 1992 kB of archives. After this operation, 6144 B of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu cosmic-updates/main amd64 libapt-pkg5.0 amd64 1.7.4 [816 kB] Get:2 http://archive.ubuntu.com/ubuntu cosmic-updates/main amd64 apt amd64 1.7.4 [1176 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 1992 kB in 1s (3502 kB/s) (Reading database ... 4032 files and directories currently installed.) Preparing to unpack .../libapt-pkg5.0_1.7.4_amd64.deb ... Unpacking libapt-pkg5.0:amd64 (1.7.4) over (1.7.2) ... Setting up libapt-pkg5.0:amd64 (1.7.4) ... (Reading database ... 4032 files and directories currently installed.) Preparing to unpack .../archives/apt_1.7.4_amd64.deb ... Unpacking apt (1.7.4) over (1.7.2) ... Setting up apt (1.7.4) ... Processing triggers for libc-bin (2.28-0ubuntu1) ... Removing intermediate container 60bb6788b723 ---> 4f5c11d6f8f4 Step 3/8 : RUN apt-get install sudo -y ---> Running in d3742a6dfdd0 Reading package lists... Building dependency tree... Reading state information... The following NEW packages will be installed: sudo 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 490 kB of archives. After this operation, 2114 kB of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu cosmic/main amd64 sudo amd64 1.8.23-2ubuntu1 [490 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 490 kB in 0s (1188 kB/s) Selecting previously unselected package sudo. (Reading database ... 4033 files and directories currently installed.) Preparing to unpack .../sudo_1.8.23-2ubuntu1_amd64.deb ... Unpacking sudo (1.8.23-2ubuntu1) ... Setting up sudo (1.8.23-2ubuntu1) ... Removing intermediate container d3742a6dfdd0 ---> 29c0b033fbdc Step 4/8 : RUN sudo apt-get install tor -y ---> Running in 4c35ad57422b Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: cron libcap2 libevent-2.1-6 libpopt0 libssl1.1 logrotate tor-geoipdb torsocks Suggested packages: anacron checksecurity exim4 | postfix | mail-transport-agent bsd-mailx | mailx mixmaster torbrowser-launcher socat tor-arm apparmor-utils obfs4proxy The following NEW packages will be installed: cron libcap2 libevent-2.1-6 libpopt0 libssl1.1 logrotate tor tor-geoipdb torsocks 0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded. Need to get 3729 kB of archives. After this operation, 16.2 MB of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu cosmic/main amd64 cron amd64 3.0pl1-128.1ubuntu1 [68.8 kB] Get:2 http://archive.ubuntu.com/ubuntu cosmic/main amd64 libcap2 amd64 1:2.25-1.2 [13.0 kB] Get:3 http://archive.ubuntu.com/ubuntu cosmic/main amd64 libpopt0 amd64 1.16-11 [26.2 kB] Get:4 http://archive.ubuntu.com/ubuntu cosmic-updates/main amd64 libssl1.1 amd64 1.1.1-1ubuntu2.1 [1297 kB] Get:5 http://archive.ubuntu.com/ubuntu cosmic/main amd64 logrotate amd64 3.14.0-4ubuntu1 [44.6 kB] Get:6 http://archive.ubuntu.com/ubuntu cosmic/main amd64 libevent-2.1-6 amd64 2.1.8-stable-4build1 [133 kB] Get:7 http://archive.ubuntu.com/ubuntu cosmic/universe amd64 tor amd64 0.3.3.9-1 [1277 kB] Get:8 http://archive.ubuntu.com/ubuntu cosmic/universe amd64 torsocks amd64 2.2.0-2 [59.1 kB] Get:9 http://archive.ubuntu.com/ubuntu cosmic/universe amd64 tor-geoipdb all 0.3.3.9-1 [810 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 3729 kB in 1s (4184 kB/s) Selecting previously unselected package cron. (Reading database ... 4091 files and directories currently installed.) Preparing to unpack .../0-cron_3.0pl1-128.1ubuntu1_amd64.deb ... Unpacking cron (3.0pl1-128.1ubuntu1) ... Selecting previously unselected package libcap2:amd64. Preparing to unpack .../1-libcap2_1%3a2.25-1.2_amd64.deb ... Unpacking libcap2:amd64 (1:2.25-1.2) ... Selecting previously unselected package libpopt0:amd64. Preparing to unpack .../2-libpopt0_1.16-11_amd64.deb ... Unpacking libpopt0:amd64 (1.16-11) ... Selecting previously unselected package libssl1.1:amd64. Preparing to unpack .../3-libssl1.1_1.1.1-1ubuntu2.1_amd64.deb ... Unpacking libssl1.1:amd64 (1.1.1-1ubuntu2.1) ... Selecting previously unselected package logrotate. Preparing to unpack .../4-logrotate_3.14.0-4ubuntu1_amd64.deb ... Unpacking logrotate (3.14.0-4ubuntu1) ... Selecting previously unselected package libevent-2.1-6:amd64. Preparing to unpack .../5-libevent-2.1-6_2.1.8-stable-4build1_amd64.deb ... Unpacking libevent-2.1-6:amd64 (2.1.8-stable-4build1) ... Selecting previously unselected package tor. Preparing to unpack .../6-tor_0.3.3.9-1_amd64.deb ... Unpacking tor (0.3.3.9-1) ... Selecting previously unselected package torsocks. Preparing to unpack .../7-torsocks_2.2.0-2_amd64.deb ... Unpacking torsocks (2.2.0-2) ... Selecting previously unselected package tor-geoipdb. Preparing to unpack .../8-tor-geoipdb_0.3.3.9-1_all.deb ... Unpacking tor-geoipdb (0.3.3.9-1) ... Setting up libpopt0:amd64 (1.16-11) ... Setting up libevent-2.1-6:amd64 (2.1.8-stable-4build1) ... Setting up libcap2:amd64 (1:2.25-1.2) ... Processing triggers for libc-bin (2.28-0ubuntu1) ... Setting up libssl1.1:amd64 (1.1.1-1ubuntu2.1) ... debconf: unable to initialize frontend: Dialog debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.2 /usr/local/share/perl/5.26.2 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.) debconf: falling back to frontend: Teletype Setting up torsocks (2.2.0-2) ... Setting up cron (3.0pl1-128.1ubuntu1) ... Adding group `crontab' (GID 101) ... Done. update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults invoke-rc.d: could not determine current runlevel invoke-rc.d: policy-rc.d denied execution of start. Setting up logrotate (3.14.0-4ubuntu1) ... Setting up tor (0.3.3.9-1) ... Something or somebody made /var/lib/tor disappear. Creating one for you again. Something or somebody made /var/log/tor disappear. Creating one for you again. invoke-rc.d: could not determine current runlevel invoke-rc.d: policy-rc.d denied execution of start. Setting up tor-geoipdb (0.3.3.9-1) ... Processing triggers for libc-bin (2.28-0ubuntu1) ... Removing intermediate container 4c35ad57422b ---> f752ae8d1790 Step 5/8 : RUN sed -i 's/#ORPort 9001/ORPort 9002/' /etc/tor/torrc ---> Running in 2dcb201d8344 Removing intermediate container 2dcb201d8344 ---> 29ab2b4d7fb3 Step 6/8 : RUN sed -i 's/#Nickname ididnteditheconfig/Nickname torrelay/' /etc/tor/torrc ---> Running in a5ea713ea698 Removing intermediate container a5ea713ea698 ---> 258eadaf69f7 Step 7/8 : EXPOSE 9002 ---> Running in 49cd81b089db Removing intermediate container 49cd81b089db ---> 7fc2b1191d70 Step 8/8 : ENTRYPOINT tor ---> Running in 78cd26ba64f1 Removing intermediate container 78cd26ba64f1 ---> 0a306454214d Successfully built 0a306454214d SECURITY WARNING: You are building a Docker image from Windows against a non-Windows Docker host. All files and directories added to build context will have '-rwxr-xr-x' permissions. It is recommended to double check and reset permissions for sensitive files and directories. C:\Users\Alessandro Fiori\Desktop\TorSwarm>SET /P iid= 0<"C:\Users\Alessandro Fiori\Desktop\TorSwarm\image.txt" C:\Users\Alessandro Fiori\Desktop\TorSwarm>SET iid=0a306454214d1fa16511119f2d488413981323e0b51888ad5951dab5f422e9d3 C:\Users\Alessandro Fiori\Desktop\TorSwarm>docker create 0a306454214d1fa16511119f2d488413981323e0b51888ad5951dab5f422e9d3 ca915564f95fce2945a9fb1dd050928999e21c1944f3c6021f3b3655dd65cd8b C:\Users\Alessandro Fiori\Desktop\TorSwarm>docker ps -l -q 1>>container.txt C:\Users\Alessandro Fiori\Desktop\TorSwarm>SET /P ciid= 0<"C:\Users\Alessandro Fiori\Desktop\TorSwarm\container.txt" C:\Users\Alessandro Fiori\Desktop\TorSwarm>docker commit ca915564f95f 9002 sha256:f88a34d2eec2b265d510d4e59f3bfcea420ea68b9cf7d5efee0f4042e09bfc2a C:\Users\Alessandro Fiori\Desktop\TorSwarm>docker run -p 9002:9002 9002 Mar 31 19:17:04.529 [notice] Tor 0.3.3.9 (git-ca1a436fa8e53a32) running on Linux with Libevent 2.1.8-stable, OpenSSL 1.1.1, Zlib 1.2.11, Liblzma 5.2.2, and Libzstd 1.3.5. Mar 31 19:17:04.529 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning Mar 31 19:17:04.529 [notice] Read configuration file "/etc/tor/torrc". Mar 31 19:17:04.535 [notice] Your ContactInfo config option is not set. Please consider setting it, so we can contact you if your server is misconfigured or something else goes wrong. Mar 31 19:17:04.535 [notice] Based on detected system memory, MaxMemInQueues is set to 1485 MB. You can override this by setting MaxMemInQueues by hand. Mar 31 19:17:04.535 [warn] Tor is running as an exit relay with the default exit policy. If you did not want this behavior, please set the ExitRelay option to 0. If you do want to run an exit Relay, please set the ExitRelay option to 1 to disable this warning, and for forward compatibility. Mar 31 19:17:04.535 [warn] In a future version of Tor, ExitRelay 0 may become the default when no ExitPolicy is given. Mar 31 19:17:04.536 [notice] Scheduler type KIST has been enabled. Mar 31 19:17:04.536 [notice] Opening Socks listener on 127.0.0.1:9050 Mar 31 19:17:04.536 [notice] Opening OR listener on 0.0.0.0:9002 Mar 31 19:17:04.000 [notice] Parsing GEOIP IPv4 file /usr/share/tor/geoip. Mar 31 19:17:04.000 [notice] Parsing GEOIP IPv6 file /usr/share/tor/geoip6. Mar 31 19:17:04.000 [notice] Configured to measure statistics. Look for the *-stats files that will first be written to the data directory in 24 hours from now. Mar 31 19:17:04.000 [warn] You are running Tor as root. You don't need to, and you probably shouldn't. Mar 31 19:17:04.000 [notice] You are running a new relay. Thanks for helping the Tor network! If you wish to know what will happen in the upcoming weeks regarding its usage, have a look at https://blog.torproject.org/blog/lifecycle-of-a-new-relay Mar 31 19:17:04.000 [notice] It looks like I need to generate and sign a new medium-term signing key, because I don't have one. To do that, I need to load (or create) the permanent master identity key. If the master identity key was not moved or encrypted with a passphrase, this will be done automatically and no further action is required. Otherwise, provide the necessary data using 'tor --keygen' to do it manually. Mar 31 19:17:05.000 [notice] Your Tor server's identity key fingerprint is 'torrelay ECB5AFB5E4A79209B0DDD2C0591EE9F6CEA7EFDA' Mar 31 19:17:05.000 [notice] Bootstrapped 0%: Starting Mar 31 19:17:05.000 [notice] Starting with guard context "default" Mar 31 19:17:05.000 [notice] Guessed our IP address as 5.88.73.115 (source: 194.109.206.212). Mar 31 19:17:06.000 [notice] I learned some more directory information, but not enough to build a circuit: We have no usable consensus. Mar 31 19:17:06.000 [notice] I learned some more directory information, but not enough to build a circuit: We have no usable consensus. Mar 31 19:17:07.000 [notice] Bootstrapped 45%: Asking for relay descriptors Mar 31 19:17:07.000 [notice] I learned some more directory information, but not enough to build a circuit: We need more microdescriptors: we have 0/6604, and can only build 0% of likely paths. (We have 0% of guards bw, 0% of midpoint bw, and 0% of exit bw = 0% of path bw.) Mar 31 19:17:09.000 [notice] Bootstrapped 50%: Loading relay descriptors Mar 31 19:17:13.000 [notice] Bootstrapped 55%: Loading relay descriptors Mar 31 19:17:13.000 [notice] Bootstrapped 60%: Loading relay descriptors Mar 31 19:17:14.000 [notice] Bootstrapped 65%: Loading relay descriptors Mar 31 19:17:14.000 [notice] Bootstrapped 71%: Loading relay descriptors Mar 31 19:17:14.000 [notice] Bootstrapped 77%: Loading relay descriptors Mar 31 19:17:14.000 [notice] Bootstrapped 80%: Connecting to the Tor network Mar 31 19:17:19.000 [notice] Bootstrapped 85%: Finishing handshake with first hop Mar 31 19:17:20.000 [notice] Bootstrapped 90%: Establishing a Tor circuit Mar 31 19:17:20.000 [notice] Tor has successfully opened a circuit. Looks like client functionality is working. Mar 31 19:17:20.000 [notice] Bootstrapped 100%: Done Mar 31 19:17:20.000 [notice] Now checking whether ORPort 5.88.73.115:9002 is reachable... (this may take up to 20 minutes -- look for log messages indicating success) Mar 31 19:17:20.000 [notice] Self-testing indicates your ORPort is reachable from the outside. Excellent. Publishing server descriptor. Mar 31 19:17:23.000 [notice] Performing bandwidth self-test...done. 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
C:\Users\Alessandro Fiori\Desktop\TorSwarm\Middle>DEL /F /Q /A "C:\Users\Alessandro Fiori\Desktop\TorSwarm\Middle\image.txt" Impossibile trovare C:\Users\Alessandro Fiori\Desktop\TorSwarm\Middle\image.txt C:\Users\Alessandro Fiori\Desktop\TorSwarm\Middle>DEL /F /Q /A "C:\Users\Alessandro Fiori\Desktop\TorSwarm\Middle\container.txt" Impossibile trovare C:\Users\Alessandro Fiori\Desktop\TorSwarm\Middle\container.txt C:\Users\Alessandro Fiori\Desktop\TorSwarm\Middle>docker build --no-cache=true "C:\Users\Alessandro Fiori\Desktop\TorSwarm\Middle\9004" --iidfile "C:\Users\Alessandro Fiori\Desktop\TorSwarm\Middle\image.txt" Sending build context to Docker daemon 2.048kB Step 1/9 : FROM ubuntu:rolling ---> b977ae81df17 Step 2/9 : RUN apt-get update && apt-get upgrade -y ---> Running in 6f2ed3c64c5b Get:1 http://security.ubuntu.com/ubuntu cosmic-security InRelease [88.7 kB] Get:2 http://archive.ubuntu.com/ubuntu cosmic InRelease [242 kB] Get:3 http://archive.ubuntu.com/ubuntu cosmic-updates InRelease [88.7 kB] Get:4 http://security.ubuntu.com/ubuntu cosmic-security/main amd64 Packages [184 kB] Get:5 http://archive.ubuntu.com/ubuntu cosmic-backports InRelease [74.6 kB] Get:6 http://security.ubuntu.com/ubuntu cosmic-security/restricted amd64 Packages [5433 B] Get:7 http://security.ubuntu.com/ubuntu cosmic-security/universe amd64 Packages [79.2 kB] Get:8 http://security.ubuntu.com/ubuntu cosmic-security/multiverse amd64 Packages [3635 B] Get:9 http://archive.ubuntu.com/ubuntu cosmic/main amd64 Packages [1342 kB] Get:10 http://archive.ubuntu.com/ubuntu cosmic/multiverse amd64 Packages [195 kB] Get:11 http://archive.ubuntu.com/ubuntu cosmic/restricted amd64 Packages [13.6 kB] Get:12 http://archive.ubuntu.com/ubuntu cosmic/universe amd64 Packages [11.6 MB] Get:13 http://archive.ubuntu.com/ubuntu cosmic-updates/restricted amd64 Packages [5433 B] Get:14 http://archive.ubuntu.com/ubuntu cosmic-updates/universe amd64 Packages [306 kB] Get:15 http://archive.ubuntu.com/ubuntu cosmic-updates/multiverse amd64 Packages [3635 B] Get:16 http://archive.ubuntu.com/ubuntu cosmic-updates/main amd64 Packages [322 kB] Get:17 http://archive.ubuntu.com/ubuntu cosmic-backports/universe amd64 Packages [3009 B] Fetched 14.6 MB in 12s (1234 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... The following packages will be upgraded: apt libapt-pkg5.0 2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 1992 kB of archives. After this operation, 6144 B of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu cosmic-updates/main amd64 libapt-pkg5.0 amd64 1.7.4 [816 kB] Get:2 http://archive.ubuntu.com/ubuntu cosmic-updates/main amd64 apt amd64 1.7.4 [1176 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 1992 kB in 2s (1231 kB/s) (Reading database ... 4032 files and directories currently installed.) Preparing to unpack .../libapt-pkg5.0_1.7.4_amd64.deb ... Unpacking libapt-pkg5.0:amd64 (1.7.4) over (1.7.2) ... Setting up libapt-pkg5.0:amd64 (1.7.4) ... (Reading database ... 4032 files and directories currently installed.) Preparing to unpack .../archives/apt_1.7.4_amd64.deb ... Unpacking apt (1.7.4) over (1.7.2) ... Setting up apt (1.7.4) ... Processing triggers for libc-bin (2.28-0ubuntu1) ... Removing intermediate container 6f2ed3c64c5b ---> be7cd07c6f66 Step 3/9 : RUN apt-get install sudo -y ---> Running in 6e5e94c55e51 Reading package lists... Building dependency tree... Reading state information... The following NEW packages will be installed: sudo 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 490 kB of archives. After this operation, 2114 kB of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu cosmic/main amd64 sudo amd64 1.8.23-2ubuntu1 [490 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 490 kB in 1s (975 kB/s) Selecting previously unselected package sudo. (Reading database ... 4033 files and directories currently installed.) Preparing to unpack .../sudo_1.8.23-2ubuntu1_amd64.deb ... Unpacking sudo (1.8.23-2ubuntu1) ... Setting up sudo (1.8.23-2ubuntu1) ... Removing intermediate container 6e5e94c55e51 ---> 03cdaaacb480 Step 4/9 : RUN sudo apt-get install tor -y ---> Running in 9191fe27c645 Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: cron libcap2 libevent-2.1-6 libpopt0 libssl1.1 logrotate tor-geoipdb torsocks Suggested packages: anacron checksecurity exim4 | postfix | mail-transport-agent bsd-mailx | mailx mixmaster torbrowser-launcher socat tor-arm apparmor-utils obfs4proxy The following NEW packages will be installed: cron libcap2 libevent-2.1-6 libpopt0 libssl1.1 logrotate tor tor-geoipdb torsocks 0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded. Need to get 3729 kB of archives. After this operation, 16.2 MB of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu cosmic/main amd64 cron amd64 3.0pl1-128.1ubuntu1 [68.8 kB] Get:2 http://archive.ubuntu.com/ubuntu cosmic/main amd64 libcap2 amd64 1:2.25-1.2 [13.0 kB] Get:3 http://archive.ubuntu.com/ubuntu cosmic/main amd64 libpopt0 amd64 1.16-11 [26.2 kB] Get:4 http://archive.ubuntu.com/ubuntu cosmic-updates/main amd64 libssl1.1 amd64 1.1.1-1ubuntu2.1 [1297 kB] Get:5 http://archive.ubuntu.com/ubuntu cosmic/main amd64 logrotate amd64 3.14.0-4ubuntu1 [44.6 kB] Get:6 http://archive.ubuntu.com/ubuntu cosmic/main amd64 libevent-2.1-6 amd64 2.1.8-stable-4build1 [133 kB] Get:7 http://archive.ubuntu.com/ubuntu cosmic/universe amd64 tor amd64 0.3.3.9-1 [1277 kB] Get:8 http://archive.ubuntu.com/ubuntu cosmic/universe amd64 torsocks amd64 2.2.0-2 [59.1 kB] Get:9 http://archive.ubuntu.com/ubuntu cosmic/universe amd64 tor-geoipdb all 0.3.3.9-1 [810 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 3729 kB in 4s (978 kB/s) Selecting previously unselected package cron. (Reading database ... 4091 files and directories currently installed.) Preparing to unpack .../0-cron_3.0pl1-128.1ubuntu1_amd64.deb ... Unpacking cron (3.0pl1-128.1ubuntu1) ... Selecting previously unselected package libcap2:amd64. Preparing to unpack .../1-libcap2_1%3a2.25-1.2_amd64.deb ... Unpacking libcap2:amd64 (1:2.25-1.2) ... Selecting previously unselected package libpopt0:amd64. Preparing to unpack .../2-libpopt0_1.16-11_amd64.deb ... Unpacking libpopt0:amd64 (1.16-11) ... Selecting previously unselected package libssl1.1:amd64. Preparing to unpack .../3-libssl1.1_1.1.1-1ubuntu2.1_amd64.deb ... Unpacking libssl1.1:amd64 (1.1.1-1ubuntu2.1) ... Selecting previously unselected package logrotate. Preparing to unpack .../4-logrotate_3.14.0-4ubuntu1_amd64.deb ... Unpacking logrotate (3.14.0-4ubuntu1) ... Selecting previously unselected package libevent-2.1-6:amd64. Preparing to unpack .../5-libevent-2.1-6_2.1.8-stable-4build1_amd64.deb ... Unpacking libevent-2.1-6:amd64 (2.1.8-stable-4build1) ... Selecting previously unselected package tor. Preparing to unpack .../6-tor_0.3.3.9-1_amd64.deb ... Unpacking tor (0.3.3.9-1) ... Selecting previously unselected package torsocks. Preparing to unpack .../7-torsocks_2.2.0-2_amd64.deb ... Unpacking torsocks (2.2.0-2) ... Selecting previously unselected package tor-geoipdb. Preparing to unpack .../8-tor-geoipdb_0.3.3.9-1_all.deb ... Unpacking tor-geoipdb (0.3.3.9-1) ... Setting up libpopt0:amd64 (1.16-11) ... Setting up libevent-2.1-6:amd64 (2.1.8-stable-4build1) ... Setting up libcap2:amd64 (1:2.25-1.2) ... Processing triggers for libc-bin (2.28-0ubuntu1) ... Setting up libssl1.1:amd64 (1.1.1-1ubuntu2.1) ... debconf: unable to initialize frontend: Dialog debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.2 /usr/local/share/perl/5.26.2 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.) debconf: falling back to frontend: Teletype Setting up torsocks (2.2.0-2) ... Setting up cron (3.0pl1-128.1ubuntu1) ... Adding group `crontab' (GID 101) ... Done. update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults invoke-rc.d: could not determine current runlevel invoke-rc.d: policy-rc.d denied execution of start. Setting up logrotate (3.14.0-4ubuntu1) ... Setting up tor (0.3.3.9-1) ... Something or somebody made /var/lib/tor disappear. Creating one for you again. Something or somebody made /var/log/tor disappear. Creating one for you again. invoke-rc.d: could not determine current runlevel invoke-rc.d: policy-rc.d denied execution of start. Setting up tor-geoipdb (0.3.3.9-1) ... Processing triggers for libc-bin (2.28-0ubuntu1) ... Removing intermediate container 9191fe27c645 ---> 1c0a7eaf41cb Step 5/9 : RUN sed -i 's/#ORPort 9001/ORPort 9004/' /etc/tor/torrc ---> Running in 63500794f762 Removing intermediate container 63500794f762 ---> f96bae4e5968 Step 6/9 : RUN sed -i 's/#Nickname ididnteditheconfig/Nickname torrelay/' /etc/tor/torrc ---> Running in 36c9562b8452 Removing intermediate container 36c9562b8452 ---> a5594aa4ead5 Step 7/9 : RUN sed -i 's/#ExitRelay 0/ExitRelay 0/' /etc/tor/torrc ---> Running in 4fb9a8c75ba9 Removing intermediate container 4fb9a8c75ba9 ---> 3bf53a398442 Step 8/9 : EXPOSE 9004 ---> Running in 9bb28e8436fc Removing intermediate container 9bb28e8436fc ---> eb842da5c536 Step 9/9 : ENTRYPOINT tor ---> Running in c4ded714248b Removing intermediate container c4ded714248b ---> d0038bf8c2fa Successfully built d0038bf8c2fa SECURITY WARNING: You are building a Docker image from Windows against a non-Windows Docker host. All files and directories added to build context will have '-rwxr-xr-x' permissions. It is recommended to double check and reset permissions for sensitive files and directories. C:\Users\Alessandro Fiori\Desktop\TorSwarm\Middle>SET /P iid= 0<"C:\Users\Alessandro Fiori\Desktop\TorSwarm\Middle\image.txt" C:\Users\Alessandro Fiori\Desktop\TorSwarm\Middle>SET iid=d0038bf8c2fa718d9dda95841540b6b9fb39b483c49e4aad3c843fe4fc4b350a C:\Users\Alessandro Fiori\Desktop\TorSwarm\Middle>docker create d0038bf8c2fa718d9dda95841540b6b9fb39b483c49e4aad3c843fe4fc4b350a c064ca4c91a8ac3d16f5c78d9edd9390feed824223024a9e20a784d5f6421589 C:\Users\Alessandro Fiori\Desktop\TorSwarm\Middle>docker ps -l -q 1>>container.txt C:\Users\Alessandro Fiori\Desktop\TorSwarm\Middle>SET /P ciid= 0<"C:\Users\Alessandro Fiori\Desktop\TorSwarm\Middle\container.txt" C:\Users\Alessandro Fiori\Desktop\TorSwarm\Middle>docker commit c064ca4c91a8 9004 sha256:7c817265205a6f529987803c58fb99b0ccbba27d49f80adc71605c868f7b571a C:\Users\Alessandro Fiori\Desktop\TorSwarm\Middle>docker run -p 9004:9004 9004 Mar 31 19:43:52.641 [notice] Tor 0.3.3.9 (git-ca1a436fa8e53a32) running on Linux with Libevent 2.1.8-stable, OpenSSL 1.1.1, Zlib 1.2.11, Liblzma 5.2.2, and Libzstd 1.3.5. Mar 31 19:43:52.641 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning Mar 31 19:43:52.641 [notice] Read configuration file "/etc/tor/torrc". Mar 31 19:43:52.645 [notice] Your ContactInfo config option is not set. Please consider setting it, so we can contact you if your server is misconfigured or something else goes wrong. Mar 31 19:43:52.645 [notice] Based on detected system memory, MaxMemInQueues is set to 1485 MB. You can override this by setting MaxMemInQueues by hand. Mar 31 19:43:52.646 [warn] Tor is running as an exit relay with the default exit policy. If you did not want this behavior, please set the ExitRelay option to 0. If you do want to run an exit Relay, please set the ExitRelay option to 1 to disable this warning, and for forward compatibility. Mar 31 19:43:52.646 [warn] In a future version of Tor, ExitRelay 0 may become the default when no ExitPolicy is given. Mar 31 19:43:52.646 [notice] Scheduler type KIST has been enabled. Mar 31 19:43:52.646 [notice] Opening Socks listener on 127.0.0.1:9050 Mar 31 19:43:52.646 [notice] Opening OR listener on 0.0.0.0:9004 Mar 31 19:43:52.000 [notice] Parsing GEOIP IPv4 file /usr/share/tor/geoip. Mar 31 19:43:52.000 [notice] Parsing GEOIP IPv6 file /usr/share/tor/geoip6. Mar 31 19:43:52.000 [notice] Configured to measure statistics. Look for the *-stats files that will first be written to the data directory in 24 hours from now. Mar 31 19:43:52.000 [warn] You are running Tor as root. You don't need to, and you probably shouldn't. Mar 31 19:43:52.000 [notice] You are running a new relay. Thanks for helping the Tor network! If you wish to know what will happen in the upcoming weeks regarding its usage, have a look at https://blog.torproject.org/blog/lifecycle-of-a-new-relay Mar 31 19:43:52.000 [notice] It looks like I need to generate and sign a new medium-term signing key, because I don't have one. To do that, I need to load (or create) the permanent master identity key. If the master identity key was not moved or encrypted with a passphrase, this will be done automatically and no further action is required. Otherwise, provide the necessary data using 'tor --keygen' to do it manually. Mar 31 19:43:53.000 [notice] Your Tor server's identity key fingerprint is 'torrelay 0AC0752B20D908077C76327BC040BFB2C9FF64A2' Mar 31 19:43:53.000 [notice] Bootstrapped 0%: Starting Mar 31 19:43:53.000 [notice] Starting with guard context "default" Mar 31 19:43:53.000 [notice] Guessed our IP address as 5.88.73.115 (source: 86.59.21.38). Mar 31 19:43:53.000 [warn] Received http status code 404 ("Not Found") from server '178.62.60.37:80' while fetching consensus directory. Mar 31 19:43:54.000 [notice] I learned some more directory information, but not enough to build a circuit: We have no usable consensus. Mar 31 19:43:55.000 [notice] Bootstrapped 45%: Asking for relay descriptors Mar 31 19:43:55.000 [notice] I learned some more directory information, but not enough to build a circuit: We need more microdescriptors: we have 0/6604, and can only build 0% of likely paths. (We have 0% of guards bw, 0% of midpoint bw, and 0% of exit bw = 0% of path bw.) Mar 31 19:43:56.000 [notice] Bootstrapped 50%: Loading relay descriptors Mar 31 19:43:57.000 [notice] Bootstrapped 55%: Loading relay descriptors Mar 31 19:43:57.000 [notice] Bootstrapped 60%: Loading relay descriptors Mar 31 19:43:58.000 [notice] Bootstrapped 65%: Loading relay descriptors Mar 31 19:43:58.000 [notice] Bootstrapped 70%: Loading relay descriptors Mar 31 19:43:58.000 [notice] Bootstrapped 76%: Loading relay descriptors Mar 31 19:43:58.000 [notice] Bootstrapped 80%: Connecting to the Tor network Mar 31 19:43:59.000 [notice] Bootstrapped 85%: Finishing handshake with first hop Mar 31 19:43:59.000 [notice] Bootstrapped 90%: Establishing a Tor circuit Mar 31 19:43:59.000 [notice] Tor has successfully opened a circuit. Looks like client functionality is working. Mar 31 19:43:59.000 [notice] Bootstrapped 100%: Done Mar 31 19:43:59.000 [notice] Now checking whether ORPort 5.88.73.115:9004 is reachable... (this may take up to 20 minutes -- look for log messages indicating success) Mar 31 19:44:00.000 [notice] Self-testing indicates your ORPort is reachable from the outside. Excellent. Publishing server descriptor. Mar 31 19:44:03.000 [notice] Performing bandwidth self-test...done. Mar 31 19:44:57.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
C:\Users\Alessandro Fiori\Desktop\TorSwarm\Middle>DEL /F /Q /A "C:\Users\Alessandro Fiori\Desktop\TorSwarm\Middle\image.txt" C:\Users\Alessandro Fiori\Desktop\TorSwarm\Middle>DEL /F /Q /A "C:\Users\Alessandro Fiori\Desktop\TorSwarm\Middle\container.txt" C:\Users\Alessandro Fiori\Desktop\TorSwarm\Middle>docker build --no-cache=true "C:\Users\Alessandro Fiori\Desktop\TorSwarm\Middle\9006" --iidfile "C:\Users\Alessandro Fiori\Desktop\TorSwarm\Middle\image.txt" Sending build context to Docker daemon 2.048kB Step 1/9 : FROM ubuntu:rolling ---> b977ae81df17 Step 2/9 : RUN apt-get update && apt-get upgrade -y ---> Running in 13ecb8604dd7 Get:1 http://archive.ubuntu.com/ubuntu cosmic InRelease [242 kB] Get:2 http://security.ubuntu.com/ubuntu cosmic-security InRelease [88.7 kB] Get:3 http://archive.ubuntu.com/ubuntu cosmic-updates InRelease [88.7 kB] Get:4 http://archive.ubuntu.com/ubuntu cosmic-backports InRelease [74.6 kB] Get:5 http://security.ubuntu.com/ubuntu cosmic-security/restricted amd64 Packages [5433 B] Get:6 http://security.ubuntu.com/ubuntu cosmic-security/main amd64 Packages [184 kB] Get:7 http://archive.ubuntu.com/ubuntu cosmic/multiverse amd64 Packages [195 kB] Get:8 http://security.ubuntu.com/ubuntu cosmic-security/multiverse amd64 Packages [3635 B] Get:9 http://security.ubuntu.com/ubuntu cosmic-security/universe amd64 Packages [79.2 kB] Get:10 http://archive.ubuntu.com/ubuntu cosmic/universe amd64 Packages [11.6 MB] Get:11 http://archive.ubuntu.com/ubuntu cosmic/main amd64 Packages [1342 kB] Get:12 http://archive.ubuntu.com/ubuntu cosmic/restricted amd64 Packages [13.6 kB] Get:13 http://archive.ubuntu.com/ubuntu cosmic-updates/multiverse amd64 Packages [3635 B] Get:14 http://archive.ubuntu.com/ubuntu cosmic-updates/main amd64 Packages [322 kB] Get:15 http://archive.ubuntu.com/ubuntu cosmic-updates/restricted amd64 Packages [5433 B] Get:16 http://archive.ubuntu.com/ubuntu cosmic-updates/universe amd64 Packages [306 kB] Get:17 http://archive.ubuntu.com/ubuntu cosmic-backports/universe amd64 Packages [3009 B] Fetched 14.6 MB in 11s (1272 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... The following packages will be upgraded: apt libapt-pkg5.0 2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 1992 kB of archives. After this operation, 6144 B of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu cosmic-updates/main amd64 libapt-pkg5.0 amd64 1.7.4 [816 kB] Get:2 http://archive.ubuntu.com/ubuntu cosmic-updates/main amd64 apt amd64 1.7.4 [1176 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 1992 kB in 2s (1209 kB/s) (Reading database ... 4032 files and directories currently installed.) Preparing to unpack .../libapt-pkg5.0_1.7.4_amd64.deb ... Unpacking libapt-pkg5.0:amd64 (1.7.4) over (1.7.2) ... Setting up libapt-pkg5.0:amd64 (1.7.4) ... (Reading database ... 4032 files and directories currently installed.) Preparing to unpack .../archives/apt_1.7.4_amd64.deb ... Unpacking apt (1.7.4) over (1.7.2) ... Setting up apt (1.7.4) ... Processing triggers for libc-bin (2.28-0ubuntu1) ... Removing intermediate container 13ecb8604dd7 ---> 2bcd460a8aaf Step 3/9 : RUN apt-get install sudo -y ---> Running in 3d571611607c Reading package lists... Building dependency tree... Reading state information... The following NEW packages will be installed: sudo 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 490 kB of archives. After this operation, 2114 kB of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu cosmic/main amd64 sudo amd64 1.8.23-2ubuntu1 [490 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 490 kB in 1s (843 kB/s) Selecting previously unselected package sudo. (Reading database ... 4033 files and directories currently installed.) Preparing to unpack .../sudo_1.8.23-2ubuntu1_amd64.deb ... Unpacking sudo (1.8.23-2ubuntu1) ... Setting up sudo (1.8.23-2ubuntu1) ... Removing intermediate container 3d571611607c ---> ebc2e7c4faf7 Step 4/9 : RUN sudo apt-get install tor -y ---> Running in 0ee1095b8c86 Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: cron libcap2 libevent-2.1-6 libpopt0 libssl1.1 logrotate tor-geoipdb torsocks Suggested packages: anacron checksecurity exim4 | postfix | mail-transport-agent bsd-mailx | mailx mixmaster torbrowser-launcher socat tor-arm apparmor-utils obfs4proxy The following NEW packages will be installed: cron libcap2 libevent-2.1-6 libpopt0 libssl1.1 logrotate tor tor-geoipdb torsocks 0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded. Need to get 3729 kB of archives. After this operation, 16.2 MB of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu cosmic/main amd64 cron amd64 3.0pl1-128.1ubuntu1 [68.8 kB] Get:2 http://archive.ubuntu.com/ubuntu cosmic/main amd64 libcap2 amd64 1:2.25-1.2 [13.0 kB] Get:3 http://archive.ubuntu.com/ubuntu cosmic/main amd64 libpopt0 amd64 1.16-11 [26.2 kB] Get:4 http://archive.ubuntu.com/ubuntu cosmic-updates/main amd64 libssl1.1 amd64 1.1.1-1ubuntu2.1 [1297 kB] Get:5 http://archive.ubuntu.com/ubuntu cosmic/main amd64 logrotate amd64 3.14.0-4ubuntu1 [44.6 kB] Get:6 http://archive.ubuntu.com/ubuntu cosmic/main amd64 libevent-2.1-6 amd64 2.1.8-stable-4build1 [133 kB] Get:7 http://archive.ubuntu.com/ubuntu cosmic/universe amd64 tor amd64 0.3.3.9-1 [1277 kB] Get:8 http://archive.ubuntu.com/ubuntu cosmic/universe amd64 torsocks amd64 2.2.0-2 [59.1 kB] Get:9 http://archive.ubuntu.com/ubuntu cosmic/universe amd64 tor-geoipdb all 0.3.3.9-1 [810 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 3729 kB in 1s (4907 kB/s) Selecting previously unselected package cron. (Reading database ... 4091 files and directories currently installed.) Preparing to unpack .../0-cron_3.0pl1-128.1ubuntu1_amd64.deb ... Unpacking cron (3.0pl1-128.1ubuntu1) ... Selecting previously unselected package libcap2:amd64. Preparing to unpack .../1-libcap2_1%3a2.25-1.2_amd64.deb ... Unpacking libcap2:amd64 (1:2.25-1.2) ... Selecting previously unselected package libpopt0:amd64. Preparing to unpack .../2-libpopt0_1.16-11_amd64.deb ... Unpacking libpopt0:amd64 (1.16-11) ... Selecting previously unselected package libssl1.1:amd64. Preparing to unpack .../3-libssl1.1_1.1.1-1ubuntu2.1_amd64.deb ... Unpacking libssl1.1:amd64 (1.1.1-1ubuntu2.1) ... Selecting previously unselected package logrotate. Preparing to unpack .../4-logrotate_3.14.0-4ubuntu1_amd64.deb ... Unpacking logrotate (3.14.0-4ubuntu1) ... Selecting previously unselected package libevent-2.1-6:amd64. Preparing to unpack .../5-libevent-2.1-6_2.1.8-stable-4build1_amd64.deb ... Unpacking libevent-2.1-6:amd64 (2.1.8-stable-4build1) ... Selecting previously unselected package tor. Preparing to unpack .../6-tor_0.3.3.9-1_amd64.deb ... Unpacking tor (0.3.3.9-1) ... Selecting previously unselected package torsocks. Preparing to unpack .../7-torsocks_2.2.0-2_amd64.deb ... Unpacking torsocks (2.2.0-2) ... Selecting previously unselected package tor-geoipdb. Preparing to unpack .../8-tor-geoipdb_0.3.3.9-1_all.deb ... Unpacking tor-geoipdb (0.3.3.9-1) ... Setting up libpopt0:amd64 (1.16-11) ... Setting up libevent-2.1-6:amd64 (2.1.8-stable-4build1) ... Setting up libcap2:amd64 (1:2.25-1.2) ... Processing triggers for libc-bin (2.28-0ubuntu1) ... Setting up libssl1.1:amd64 (1.1.1-1ubuntu2.1) ... debconf: unable to initialize frontend: Dialog debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.2 /usr/local/share/perl/5.26.2 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.) debconf: falling back to frontend: Teletype Setting up torsocks (2.2.0-2) ... Setting up cron (3.0pl1-128.1ubuntu1) ... Adding group `crontab' (GID 101) ... Done. update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults invoke-rc.d: could not determine current runlevel invoke-rc.d: policy-rc.d denied execution of start. Setting up logrotate (3.14.0-4ubuntu1) ... Setting up tor (0.3.3.9-1) ... Something or somebody made /var/lib/tor disappear. Creating one for you again. Something or somebody made /var/log/tor disappear. Creating one for you again. invoke-rc.d: could not determine current runlevel invoke-rc.d: policy-rc.d denied execution of start. Setting up tor-geoipdb (0.3.3.9-1) ... Processing triggers for libc-bin (2.28-0ubuntu1) ... Removing intermediate container 0ee1095b8c86 ---> 0d107620deb0 Step 5/9 : RUN sed -i 's/#ORPort 9001/ORPort 9006/' /etc/tor/torrc ---> Running in ebb23eef3e89 Removing intermediate container ebb23eef3e89 ---> 9973287d3a54 Step 6/9 : RUN sed -i 's/#Nickname ididnteditheconfig/Nickname torrelay/' /etc/tor/torrc ---> Running in 195123b4d1ff Removing intermediate container 195123b4d1ff ---> 20d7c5916736 Step 7/9 : RUN sed -i 's/#ExitRelay 0/ExitRelay 0/' /etc/tor/torrc ---> Running in 6df6c1a9d6a5 Removing intermediate container 6df6c1a9d6a5 ---> f8ba47a52e0b Step 8/9 : EXPOSE 9006 ---> Running in de6ee74e31c7 Removing intermediate container de6ee74e31c7 ---> 08838bae4750 Step 9/9 : ENTRYPOINT tor ---> Running in 273110920e26 Removing intermediate container 273110920e26 ---> a2cb6a52cdc9 Successfully built a2cb6a52cdc9 SECURITY WARNING: You are building a Docker image from Windows against a non-Windows Docker host. All files and directories added to build context will have '-rwxr-xr-x' permissions. It is recommended to double check and reset permissions for sensitive files and directories. C:\Users\Alessandro Fiori\Desktop\TorSwarm\Middle>SET /P iid= 0<"C:\Users\Alessandro Fiori\Desktop\TorSwarm\Middle\image.txt" C:\Users\Alessandro Fiori\Desktop\TorSwarm\Middle>SET iid=a2cb6a52cdc9326cc4c41e481d3ddf6fae851b9b524c3b701b4c16f8e376c590 C:\Users\Alessandro Fiori\Desktop\TorSwarm\Middle>docker create a2cb6a52cdc9326cc4c41e481d3ddf6fae851b9b524c3b701b4c16f8e376c590 9a487c993c66a166b7a88fc20993213c040db9f8cadfcc4ddb7a9f160c548f01 C:\Users\Alessandro Fiori\Desktop\TorSwarm\Middle>docker ps -l -q 1>>container.txt C:\Users\Alessandro Fiori\Desktop\TorSwarm\Middle>SET /P ciid= 0<"C:\Users\Alessandro Fiori\Desktop\TorSwarm\Middle\container.txt" C:\Users\Alessandro Fiori\Desktop\TorSwarm\Middle>docker commit 9a487c993c66 9006 sha256:568e65807e7e1544855b429168c1424cabef1eaf67821f51ab5be3bbcd46cd5e C:\Users\Alessandro Fiori\Desktop\TorSwarm\Middle>docker run -p 9006:9006 9006 Mar 31 19:50:46.001 [notice] Tor 0.3.3.9 (git-ca1a436fa8e53a32) running on Linux with Libevent 2.1.8-stable, OpenSSL 1.1.1, Zlib 1.2.11, Liblzma 5.2.2, and Libzstd 1.3.5. Mar 31 19:50:46.001 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning Mar 31 19:50:46.001 [notice] Read configuration file "/etc/tor/torrc". Mar 31 19:50:46.008 [notice] Your ContactInfo config option is not set. Please consider setting it, so we can contact you if your server is misconfigured or something else goes wrong. Mar 31 19:50:46.008 [notice] Based on detected system memory, MaxMemInQueues is set to 1485 MB. You can override this by setting MaxMemInQueues by hand. Mar 31 19:50:46.008 [warn] Tor is running as an exit relay with the default exit policy. If you did not want this behavior, please set the ExitRelay option to 0. If you do want to run an exit Relay, please set the ExitRelay option to 1 to disable this warning, and for forward compatibility. Mar 31 19:50:46.008 [warn] In a future version of Tor, ExitRelay 0 may become the default when no ExitPolicy is given. Mar 31 19:50:46.009 [notice] Scheduler type KIST has been enabled. Mar 31 19:50:46.009 [notice] Opening Socks listener on 127.0.0.1:9050 Mar 31 19:50:46.009 [notice] Opening OR listener on 0.0.0.0:9006 Mar 31 19:50:46.000 [notice] Parsing GEOIP IPv4 file /usr/share/tor/geoip. Mar 31 19:50:46.000 [notice] Parsing GEOIP IPv6 file /usr/share/tor/geoip6. Mar 31 19:50:46.000 [notice] Configured to measure statistics. Look for the *-stats files that will first be written to the data directory in 24 hours from now. Mar 31 19:50:46.000 [warn] You are running Tor as root. You don't need to, and you probably shouldn't. Mar 31 19:50:46.000 [notice] You are running a new relay. Thanks for helping the Tor network! If you wish to know what will happen in the upcoming weeks regarding its usage, have a look at https://blog.torproject.org/blog/lifecycle-of-a-new-relay Mar 31 19:50:46.000 [notice] It looks like I need to generate and sign a new medium-term signing key, because I don't have one. To do that, I need to load (or create) the permanent master identity key. If the master identity key was not moved or encrypted with a passphrase, this will be done automatically and no further action is required. Otherwise, provide the necessary data using 'tor --keygen' to do it manually. Mar 31 19:50:46.000 [notice] Your Tor server's identity key fingerprint is 'torrelay 13E85D718F991742E5F9B0A975A3C1F8207452D0' Mar 31 19:50:46.000 [notice] Bootstrapped 0%: Starting Mar 31 19:50:46.000 [notice] Starting with guard context "default" Mar 31 19:50:46.000 [notice] Guessed our IP address as 5.88.73.115 (source: 171.25.193.9). Mar 31 19:50:48.000 [notice] I learned some more directory information, but not enough to build a circuit: We have no usable consensus. Mar 31 19:50:49.000 [notice] I learned some more directory information, but not enough to build a circuit: We have no usable consensus. Mar 31 19:50:50.000 [notice] Bootstrapped 45%: Asking for relay descriptors Mar 31 19:50:50.000 [notice] I learned some more directory information, but not enough to build a circuit: We need more microdescriptors: we have 0/6604, and can only build 0% of likely paths. (We have 0% of guards bw, 0% of midpoint bw, and 0% of exit bw = 0% of path bw.) Mar 31 19:50:52.000 [notice] Bootstrapped 50%: Loading relay descriptors Mar 31 19:50:57.000 [notice] Bootstrapped 55%: Loading relay descriptors Mar 31 19:50:57.000 [notice] Bootstrapped 60%: Loading relay descriptors Mar 31 19:50:57.000 [notice] Bootstrapped 65%: Loading relay descriptors Mar 31 19:50:57.000 [notice] Bootstrapped 70%: Loading relay descriptors Mar 31 19:50:57.000 [notice] Bootstrapped 75%: Loading relay descriptors Mar 31 19:50:58.000 [notice] Bootstrapped 80%: Connecting to the Tor network Mar 31 19:51:03.000 [notice] Bootstrapped 85%: Finishing handshake with first hop Mar 31 19:51:03.000 [notice] Bootstrapped 90%: Establishing a Tor circuit Mar 31 19:51:04.000 [notice] Tor has successfully opened a circuit. Looks like client functionality is working. Mar 31 19:51:04.000 [notice] Bootstrapped 100%: Done Mar 31 19:51:04.000 [notice] Now checking whether ORPort 5.88.73.115:9006 is reachable... (this may take up to 20 minutes -- look for log messages indicating success) Mar 31 19:51:05.000 [notice] Self-testing indicates your ORPort is reachable from the outside. Excellent. Publishing server descriptor. Mar 31 19:51:08.000 [notice] Performing bandwidth self-test...done.
_______________________________________________ tor-dev mailing list tor-dev@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev