Tor Bridge on chumby One

Tor is an open-source project that is dear to me for many reasons. For those who are unfamiliar with it, in a nutshell, Tor can enhance your anonymity on the internet: it obscures who you are, and what sites you are visiting. This is important, especially for people who live and work in oppressive regimes where direct access to on-line social networking is restricted, and where your opinions can put your life at risk. Protecting free speech is important to me.

Recently, Jacob Appelbaum pinged me and asked if it would be possible to make a Tor Bridge Relay client for the chumby One. Bridge relays are needed because policy-making entities can “filter” Tor by querying the list of public Tor exit and entrance nodes, and consequently direct the country’s internet authorities to block all Tor nodes. In other words, once you enter Tor, you have enhanced anonymity, but Tor itself has a clear and public footprint on the internet. Because of its well-defined footprint, someone with sufficient authority can “cut it out” by simply ripping out all of its connections to the rest of the world.

A Bridge Relay (or a bridge for short) “diffuses” the edges of Tor by adding another hop between a semi-secret distributed relay network and the public edge of Tor. Crossing the bridge requires getting a list of bridge relay nodes from a relay server that will only reveal a couple relay nodes at a time to a gmail email address, so as to foil regimes attempting to resolve the distributed relay network by simply repeatedly querying the relay server. However, the effectiveness of the bridge network is directly proportional to the number of devices that are serving as a relay. This is where you come in. A regime’s ability to determine the footprint of the bridge network is thwarted by having a large number of ordinary citizens around the world run bridges; in theory, a large and growing number of bridge nodes will keep Tor one step ahead of someone attempting to block Tor.

The chumby is a hackable linux device, with a sufficiently powerful CPU and just about enough memory to run a bridge. With the chumby One, it’s now cheap, too. And there’s a fair number of them out there. Which brings us back to Jacob. He emailed me about a week ago asking if it’d be possible to port Tor to chumby and run it in the background, and it certainly is. So, I’ve created a little “howto” guide on cross-compiling Tor for the chumby One, and I’ve even made a “no-touch” installer for Tor bridges on the chumby One (download and instructions). So, people who don’t have the time to build it from scratch can just download it and install it in just a few minutes using a USB dongle. Once it is installed, it will load every time at boot, even without the USB dongle in place; and, it can be quickly and fully removed by doing a factory reset. While Tor is running, I’ve noticed no performance degradation in widget playback, which is nice, but then again I’ve only been testing it for a day or so now. Again, the standard disclaimer — this blog does not represent chumby corporate, it’s my personal blog, so hacking your device to do this may void your warranty.

The no-touch install creates a swapfile on your chumby One, because the Tor client is just a wee heavy for the chumby without it. Note that swapfiles are hard on Flash memory, so you do run some risk of eventually wearing out the drive, but in my experience the swapfile hardly gets used. It also installs a cgi-script on your device so you can monitor the status of your Tor bridge, you can see a sample of what it looks like here. It does reveal a bit about what’s going on inside your chumby on a public web port, but this is all experimental stuff anyways; there are probably much better and more secure ways to do this. Being a hardware guy, my script-fu is only so good (but woe to the software guy who comes at me with a soldering iron), so the install scripts work, but need improvement; maybe someone out there can help with that.

This is a shout-out to my friends at 26c3. Wish I could be there with you in the hack center.

17 Responses to “Tor Bridge on chumby One”

  1. Chris says:

    Yes, I do envy your soldering iron skills. Come solder some wires to my Chumby serial port? I have them stuck down with masking tape right now for fear of destroying the thing :)

  2. anomalous says:

    The website should be http://www.torproject.org, not tor.eff.org

    Nice work by the way!

    • bunnie says:

      Serves me right for grabbing a tor logo off of Google images. The URL still works tho. :-) Thanks for pointing out the error!

  3. Erant says:

    You were missed at the console hacking table!

  4. […] Shared Tor Bridge on chumby One. […]

  5. […] project – Bunnie (designer of the Chumby) writes – Tor is an open-source project that is dear to me for many reasons. For those who are unfamiliar […]

  6. […] project – Bunnie (designer of the Chumby) writes – Tor is an open-source project that is dear to me for many reasons. For those who are unfamiliar […]

  7. […] on Chumby Filed under: Hardware, Linux, Security — 0ddn1x @ 2010-01-12 18:24:47 +0000 http://www.bunniestudios.com/blog/?p=800 Leave a Comment TrackBack […]

  8. annunci says:

    Thanks for the information you give

  9. Pearl Beads says:

    Could you pleasee provide more information on this topic??? Also your site is amazing. Best regards…

  10. Tatto Paper says:

    Cool, there is actually some great ideas on here some of my subscribers may find this relevant, I will send them a link, many thanks.

  11. Sheryl Kyl says:

    Hey, This is a superb thread. I found you on bing. Keep up the work.

  12. Oskar says:

    Excellent Article!

    If I could write like this I would be well chuffed ;-)

    The more I read articles of such quality as this (which is rare), the more I think there might be a future for the Web. Keep it up, as it were.

  13. Thanks very much for sharing.
    There is no doubt that the Christian louboutin is the best high heels in today’s fashion world.

  14. Cheese says:

    ” Protecting free speech is important to me.”

    Then why did you choose to manufacture your product in China?

  15. Max says:

    You were missed at the console hacking table!