[tor-relays] Installing obfs4 on Raspberry Pi bridge

jchase jchase at riseup.net
Sat Apr 25 20:08:39 UTC 2015


Hello,
Thanks, everyone, for all the help. Obfs4proxy is up and running on a
Pi2. Although the information on the subject is scattered across several
issues on this list, I hope others can use it to build some bridges!
http://www.zipplet.co.uk/index.php/content/raspberrypi_golang
was a useful page on getting go 1.2 or higher installed on a Pi2.
Thanks again,
J Chase

> Message: 1
> Date: Thu, 23 Apr 2015 20:42:42 +0000
> From: Yawning Angel <yawning at schwanenlied.me>
> To: tor-relays at lists.torproject.org
> Subject: Re: [tor-relays] Installing obfs4 on Raspberry Pi bridge
> Message-ID: <20150423204242.65bed2f9 at schwanenlied.me>
> Content-Type: text/plain; charset="us-ascii"
> 
> On Thu, 23 Apr 2015 19:53:55 +0000
> jchase <jchase at riseup.net> wrote:
>> Hello,
>> When I run
>>
>>  $ go get git.torproject.org/pluggable-transports/obfs4.git/obfs4proxy
>>  $ sudo cp $GOPATH/bin/obfs4proxy /usr/local/bin
>>
>> on a laptop running linuxmint/ubuntu it produces a nice binary
>> executable. Unfortunately it doesn't work to copy it to the Pi2,
>> because it's not an ARM binary.
>> When I run the same script on the Pi2 I get the following error
>> messages:
>>
>> go get git.torproject.org/pluggable-transports/obfs4.git/obfs4proxy
>> # git.torproject.org/pluggable-transports/obfs4.git/common/ntor
>> /usr/lib/go/src/pkg/git.torproject.org/pluggable-transports/obfs4.git/common/ntor/ntor.go:272:
>> undefined: sha256.Sum256
>>
>>  [snip]
>>
>> Any idea how I can get it cleanly on a Pi2?
> 
> This is covered in the README.md:
>>  * Go 1.2.0 or later.   Prior versions of Go (Eg: 1.0.2) are missing
>>    certain important parts of the runtime library like a SHA256
>>    implementation.
> 
> Go 1.2 was released on December 1, 2013, so I'm not particularly
> inclined to support older versions, especially since it means
> re-implementing parts of the standard runtime library.
> 
> Regards,
> 


More information about the tor-relays mailing list