[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #16650 [Obfuscation/BridgeDB]: Set up domain fronting for BridgeDB
#16650: Set up domain fronting for BridgeDB
-------------------------------------------------+-------------------------
Reporter: isis | Owner: isis
Type: enhancement | Status: new
Priority: Medium | Milestone:
Component: Obfuscation/BridgeDB | Version:
Severity: Normal | Resolution:
Keywords: bridgedb-dist, bridgedb-usability, | Actual Points:
tbb-wants, usability, bridge-distribution, |
TorCoreTeam201608 |
Parent ID: | Points:
Reviewer: | Sponsor:
-------------------------------------------------+-------------------------
Comment (by isis):
Okay, meek-server is installed. Here's what I did:
{{{
#!/usr/bin/env bash
GOROOT=/home/bridgedb/go
# Download the official GoTools
curl -O https://storage.googleapis.com/golang/go1.8.1.linux-amd64.tar.gz
# Ensure the checksum is correct
hash=`sha256sum go1.8.1.linux-amd64.tar.gz | cut -d ' ' -f 1`
if [[ "$hash" !=
"a579ab19d5237e263254f1eac5352efcf1d70b9dacadb6d6bb12b0911ede8994" ]] ;
then
printf "Bad download of GoTools! Hashes did not match! Exiting...\n"
exit 127
fi
# Untar the archive
tar -C "${GOROOT%%/go}" -xzf go1.8.1.linux-amd64.tar.gz
# Add /home/bridgedb/go/bin to our PATH
PATH="${GOROOT}"/bin:${PATH}
export GOROOT
export PATH
# Go should now be installed
if test -z `which go` ; then
printf "It seems Go is not installed! Exiting...\n"
exit 2
fi
# Create the tree for projects and dependencies
PT_PATH=${GOROOT}/src/git.torproject.org/pluggable-transports
X_PATH=${GOROOT}/src/golang.org/x
for path in "$PT_PATH" "$X_PATH" ; do
if ! test -d "$path" ; then
mkdir -p "$path"
fi
done
MEEK_REPO=https://git.torproject.org/pluggable-transports/meek
PTLIB_REPO=https://git.torproject.org/pluggable-transports/goptlib
CRYPTO_REPO=https://go.googlesource.com/crypto
# Clone meek and goptlib
cd "$PT_PATH"
for repo in "$MEEK_REPO" "$PTLIB_REPO" ; do
git clone $repo
done
# For some reason, it expects the goptlib repo to live in a directory
# called "goptlib.git"
mv goptlib goptlib.git
# Clone golang.org/x/crypto
cd "$X_PATH"
git clone "$CRYPTO_REPO"
# Build meek-server
cd "${PT_PATH}/meek/meek-server"
go build
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/16650#comment:11>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs