Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CYBER - Cyber Security
T
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
Showing
2 changed files
with
40 additions
and
0 deletions
+40
-0
evaluation/demonstration/inputData.json
evaluation/demonstration/inputData.json
+20
-0
evaluation/demonstration/quickrun.sh
evaluation/demonstration/quickrun.sh
+20
-0
No files found.
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
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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