[tor-relays] Tor Cloud/AWS relay set up but no Tor installed

aredocilla at gmail.com aredocilla at gmail.com
Tue Apr 28 01:25:45 UTC 2015


Hi there,

After a long month of not having time for this, I've got it working thanks to
Sina's help. I've attached patches to the ec2-prep.sh script that should make
it work again (nothing extensive, basically just what Sina pointed out plus
something about ExtORPort I saw it complaining about in the log.

Bridge is now up. :)

Best wishes,
allicoder

On Sun, Mar 22, 2015 at 10:51:42AM +0000, tor-relays-request at lists.torproject.org wrote:
> Send tor-relays mailing list submissions to
> 	tor-relays at lists.torproject.org
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
> or, via email, send a message with subject or body 'help' to
> 	tor-relays-request at lists.torproject.org
> 
> You can reach the person managing the list at
> 	tor-relays-owner at lists.torproject.org
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of tor-relays digest..."
> 
> 
> Today's Topics:
> 
>    1. Re: IPv6 HiddenServicePort (teor)
>    2. Tor Cloud/AWS relay set up but no Tor installed
>       (aredocilla at gmail.com)
>    3. Re: Tor Cloud/AWS relay set up but no Tor installed (SiNA Rabbani)
>    4. Tor-Tshirts (Nchinda Nchinda)
>    5. Re: Tor-Tshirts (Roger Dingledine)
> 
> Message: 2
> Date: Sun, 22 Mar 2015 03:10:53 +0000
> From: aredocilla at gmail.com
> To: tor-relays at lists.torproject.org
> Subject: [tor-relays] Tor Cloud/AWS relay set up but no Tor installed
> Message-ID: <20150322031053.GB5948 at MadHatter>
> Content-Type: text/plain; charset=us-ascii
> 
> Hello,
> 
> I've been trying to set up a tor relay on AWS using the free tier using the
> instructions in various places (e.g. https://cloud.torproject.org/,
> https://www.fak3r.com/2012/08/11/howto-run-a-tor-node-in-the-cloud-for-free/).
> But sshing in from my PC shows clearly that not only is tor not running, it's
> not even installed!
> 
> ubuntu at ip-172-31-28-207:~$ aptitude show tor
> Package: tor                      
> State: not installed
> Version: 0.2.5.11-1~precise+1
> Priority: optional
> Section: net
> ...
> 
> ubuntu at ip-172-31-28-207:~$ ps -ely | grep tor
> ubuntu at ip-172-31-28-207:~$ ls /var/log
> alternatives.log  auth.log  btmp            dist-upgrade  dmesg.0     dmesg.2.gz  fsck      landscape  mail.err  news    udev     unattended-upgrades  wtmp
> apt               boot.log  cloud-init.log  dmesg         dmesg.1.gz  dpkg.log    kern.log  lastlog    mail.log  syslog  ufw.log  upstart
> 
> Has something changed, and the images no longer include tor on start-up (I made
> sure I followed the gist of the cloud.torproject.org steps, given that the
> interface has changed significantly; even went to the previous page from the
> linked one to check that the AMI thing mentioned tor)? I've noticed various
> people have posted online saying it's not safe to run Tor on cloud services -
> has the image been deleted because of this? I wanted to try it anyway because
> the main torproject website still says in several places that running a relay
> on AWS is A Good Thing.
> 
> Or did I just do something wrong?
> 
> Best wishes,
> allicoder.
> 
> -- 
> PGP key available on request
> 
> 
> ------------------------------
> 
> Message: 3
> Date: Sun, 22 Mar 2015 04:52:34 +0000 (UTC)
> From: SiNA Rabbani <sina at redteam.net>
> To: tor-relays at lists.torproject.org
> Subject: Re: [tor-relays] Tor Cloud/AWS relay set up but no Tor
> 	installed
> Message-ID:
> 	<1101716784.98280.1426999954497.JavaMail.zimbra at redteam.net>
> Content-Type: text/plain; charset=utf-8
> 
> Hi allicoder,
> 
> The images on Tor Cloud website have not been updated for a while. The project is lacking someone
> that can keep it up to date. I tried to take on the responsibility but so far I have failed to dedicate
> the necessary time. Sorry for the bad experience.
> 
> As far as the specific problem with the Cloud image itself, there is a script that is supposed to install the relay
> on first boot. See /etc/rc.local.
> 
> You can also find that script here: https://gitweb.torproject.org/tor-cloud.git/plain/ec2-prep.sh
> 
> There are a couple of issues with the script itself that I noticed immediately:
> 1) the harcoded pgp key is expired
> 2) the debian experimental repository is returning a 404
> W: Failed to fetch http://deb.torproject.org/torproject.org/dists/experimental-precise/main/binary-i386/Packages  404  Not Found [IP: 38.229.72.16 80]
> 
> If you wish to do some trouble-shooting, try to get these commands to run without any errors:
> sudo apt-get -y update
> sudo apt-get -y upgrade
> sudo bash /etc/ec2-prep.sh bridge
> 
> Finally, now that you have a running image and ssh access, you can just follow the Tor relay installations here:
> https://www.torproject.org/docs/debian.html.en
> 
> I apologize for the inconvenience and thank you for running a relay.
> 
> All the best,
> Sina
> 
> 
> 
> 
> "Be the change that you wish to see in the world." - Mahatma Gandhi
> 
> ----- On Mar 21, 2015, at 11:10 PM,  aredocilla at gmail.com wrote:
> 
> > Hello,
> > 
> > I've been trying to set up a tor relay on AWS using the free tier using the
> > instructions in various places (e.g. https://cloud.torproject.org/,
> > https://www.fak3r.com/2012/08/11/howto-run-a-tor-node-in-the-cloud-for-free/).
> > But sshing in from my PC shows clearly that not only is tor not running, it's
> > not even installed!
> > 
> > ubuntu at ip-172-31-28-207:~$ aptitude show tor
> > Package: tor
> > State: not installed
> > Version: 0.2.5.11-1~precise+1
> > Priority: optional
> > Section: net
> > ...
> > 
> > ubuntu at ip-172-31-28-207:~$ ps -ely | grep tor
> > ubuntu at ip-172-31-28-207:~$ ls /var/log
> > alternatives.log  auth.log  btmp            dist-upgrade  dmesg.0     dmesg.2.gz
> > fsck      landscape  mail.err  news    udev     unattended-upgrades  wtmp
> > apt               boot.log  cloud-init.log  dmesg         dmesg.1.gz  dpkg.log
> > kern.log  lastlog    mail.log  syslog  ufw.log  upstart
> > 
> > Has something changed, and the images no longer include tor on start-up (I made
> > sure I followed the gist of the cloud.torproject.org steps, given that the
> > interface has changed significantly; even went to the previous page from the
> > linked one to check that the AMI thing mentioned tor)? I've noticed various
> > people have posted online saying it's not safe to run Tor on cloud services -
> > has the image been deleted because of this? I wanted to try it anyway because
> > the main torproject website still says in several places that running a relay
> > on AWS is A Good Thing.
> > 
> > Or did I just do something wrong?
> > 
> > Best wishes,
> > allicoder.
> > 
> > --
> > PGP key available on request
> > _______________________________________________
> > tor-relays mailing list
> > tor-relays at lists.torproject.org
> > https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
> 
> 
> ------------------------------
> 
> End of tor-relays Digest, Vol 50, Issue 31
> ******************************************

-- 
PGP key available on request
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ec2-prep.sh-experimental-repos-no-longer-exist.patch
Type: text/x-diff
Size: 734 bytes
Desc: not available
URL: <http://lists.torproject.org/pipermail/tor-relays/attachments/20150428/b8a7d3fc/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-ec2-prep-get-archive-key-from-keyserver.patch
Type: text/x-diff
Size: 3128 bytes
Desc: not available
URL: <http://lists.torproject.org/pipermail/tor-relays/attachments/20150428/b8a7d3fc/attachment-0001.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-ec2-prep-add-ExtORPort-to-torrc.patch
Type: text/x-diff
Size: 622 bytes
Desc: not available
URL: <http://lists.torproject.org/pipermail/tor-relays/attachments/20150428/b8a7d3fc/attachment-0002.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 299 bytes
Desc: Digital signature
URL: <http://lists.torproject.org/pipermail/tor-relays/attachments/20150428/b8a7d3fc/attachment.sig>


More information about the tor-relays mailing list