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@lists.torproject.org wrote:
Send tor-relays mailing list submissions to tor-relays@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@lists.torproject.org
You can reach the person managing the list at tor-relays-owner@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:
- Re: IPv6 HiddenServicePort (teor)
- Tor Cloud/AWS relay set up but no Tor installed (aredocilla@gmail.com)
- Re: Tor Cloud/AWS relay set up but no Tor installed (SiNA Rabbani)
- Tor-Tshirts (Nchinda Nchinda)
- Re: Tor-Tshirts (Roger Dingledine)
Message: 2 Date: Sun, 22 Mar 2015 03:10:53 +0000 From: aredocilla@gmail.com To: tor-relays@lists.torproject.org Subject: [tor-relays] Tor Cloud/AWS relay set up but no Tor installed Message-ID: 20150322031053.GB5948@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@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@ip-172-31-28-207:~$ ps -ely | grep tor ubuntu@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@redteam.net To: tor-relays@lists.torproject.org Subject: Re: [tor-relays] Tor Cloud/AWS relay set up but no Tor installed Message-ID: 1101716784.98280.1426999954497.JavaMail.zimbra@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:
- the harcoded pgp key is expired
- the debian experimental repository is returning a 404
W: Failed to fetch http://deb.torproject.org/torproject.org/dists/experimental-precise/main/bin... 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@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@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@ip-172-31-28-207:~$ ps -ely | grep tor ubuntu@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@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
End of tor-relays Digest, Vol 50, Issue 31
tor-relays@lists.torproject.org