run_demo_reencrypt.sh 400 Bytes
Newer Older
1 2 3 4


echo "Starting Middlebox"
../middlebox 8423 127.0.0.1:8423 simpleMiddlebox ./replacementScript.sh &
5
mboxpid=$(pidof middlebox)
6 7 8 9 10

#sleep .3

echo "Starting Server"
../server ./simpleEchoScript.sh &
11
serverpid=$(pidof server)
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26

#sleep .3

n=0; while [[ $n -lt $1 ]]; do

    n=$((n+1))
    echo "Starting Client"
    ../client simple_input.json

done;

echo "Cleaning up"
kill $mboxpid
kill $serverpid