|
@@ -14,10 +14,12 @@ For the client:
|
|
|
libpng-dev libjpeg-dev python libx11-dev libxext-dev
|
|
|
|
|
|
1. Fetch all necessary git repositories:
|
|
|
- git clone git@git-crysp.uwaterloo.ca:openssl
|
|
|
- git clone git@git-crysp.uwaterloo.ca:phantomjs
|
|
|
+ git clone git://git-crysp.uwaterloo.ca/slitheen
|
|
|
+ git clone -b slitheen git://git-crysp.uwaterloo.ca/openssl
|
|
|
+ git clone -b slitheen git://git-crysp.uwaterloo.ca/phantomjs
|
|
|
|
|
|
2. Build our modified version of openssl
|
|
|
+ mkdir sslout
|
|
|
cd openssl
|
|
|
./config --prefix=../sslout --openssldir=../sslout/openssl
|
|
|
make
|
|
@@ -27,6 +29,7 @@ For the client:
|
|
|
|
|
|
3. Build phantomJS (Note: this takes a ridiculously long time)
|
|
|
cd phantomjs
|
|
|
+ sed -i 's/sslout/<absolute-path-to-sslout/g' build.py
|
|
|
./build.py
|
|
|
cp bin/phantomjs ../client/
|
|
|
|
|
@@ -36,28 +39,23 @@ For the relay station:
|
|
|
|
|
|
0. Install dependencies
|
|
|
apt-get libpcap-dev
|
|
|
+ apt-get libssl-dev
|
|
|
|
|
|
1. Fetch necessary git repository:
|
|
|
- git clone git@git-crysp.uwaterloo.ca:openssl
|
|
|
+ git clone git://git-crysp.uwaterloo.ca/slitheen
|
|
|
|
|
|
-2. Build openssl
|
|
|
- cd openssl
|
|
|
- ./config --prefix=../sslout --openssldir=../sslout/openssl
|
|
|
- make
|
|
|
- make test
|
|
|
- make install
|
|
|
- cd ..
|
|
|
-
|
|
|
-4. Generate public/private key pair
|
|
|
+2. Generate public/private key pair
|
|
|
cd telex-tag-v3
|
|
|
make
|
|
|
./genkeys
|
|
|
cp pubkey ../relay_station
|
|
|
cd ..
|
|
|
|
|
|
-3. Build slitheen proxy
|
|
|
+3. Update slitheen.h with correct MAC addresses for client-side and world-side interfaces
|
|
|
+
|
|
|
+4. Build slitheen proxy
|
|
|
cd relay_station
|
|
|
make
|
|
|
|
|
|
-4. Run proxy
|
|
|
+5. Run proxy
|
|
|
./slitheen-proxy [interface to client] [interface to world]
|