Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CYBER - Cyber Security
TS 103 523 MSP
TLMSP
MSP-OpenSSL
Commits
7d5c7dac
Commit
7d5c7dac
authored
Jun 07, 2018
by
canterburym
Browse files
Adding quickrun.sh and inputData.json to the main directory
parent
51a23f3e
Changes
2
Hide whitespace changes
Inline
Side-by-side
evaluation/demonstration/inputData.json
0 → 100644
View file @
7d5c7dac
{
"contexts"
:
[
"Context A"
],
"middleboxes"
:
[
{
"url"
:
"127.0.0.1:8423"
,
"readAccess"
:
[],
"writeAccess"
:
[]
}
],
"slicedData"
:
[
{
"slice"
:
0
,
"data"
:
"Just testing!"
}
]
}
evaluation/demonstration/quickrun.sh
0 → 100755
View file @
7d5c7dac
echo
"Starting Middlebox"
./middlebox 8423 127.0.0.1:8423 simpleMiddlebox &
mboxpid
=
$(
pidof ./middlebox
)
sleep
.3
echo
"Starting Server"
./server &
serverpid
=
$(
pidof ./server
)
sleep
.3
echo
"Starting Client"
./client
echo
"Cleaning up"
kill
$mboxpid
kill
$serverpid
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment