141e0a2fce | ||
---|---|---|
C++Verifier | ||
Setup | ||
config | ||
cppkafka@5e4b350806 | ||
firewall | ||
generateSFA | ||
out | ||
runme | ||
traffic | ||
verification | ||
.gitignore | ||
.gitmodules | ||
CODE_OF_CONDUCT.md | ||
LICENSE | ||
README.md | ||
SECURITY.md | ||
parse-config.sh |
README.md
Scalable Runtime Verification of Distributed Middleboxes
Table of Content
Techonologies
- JAVA 9.0.4
- Maven
- z3
- Symbolic Automata
- Cppkafka
- Apache Flink
Setup
First step is to set up topology at cloudlab. If you do not access Cloudlab. Please reach out to me (Nofel Yaseen). I will add your ssh key to the required machines.
How to set up cloud lab machines
First click on experiments and then create experiment profile.
Second step is to fill out the name (anything would work). Click on edit source, copy the file ./Setup/cloudlabProfile.txt
and paste it in the textbox. Click Accept. Click Create.
In the next screen. Click Instantiate.
Select APT UTAH as the cluster and finish.
Wait for the experiment to get ready.
Invariant Compilation
We have already compiled invariants for firewall and put it out/
folder.
Invariant compilation was tested on MacOS. For compiling invariants by yourself, please follow these:
git clone --recurse-submodules https://github.com/microsoft/aaragog.git
cd aaragog
./install.sh
cd generateSFA
./install_z3.sh
mvn clean package
Example Compilation:
cd aaragog/generateSFA
mvn exec:java -Dexec.args="--packet_format ../out/packetformat.json --invar_file ../config/firewall/new_established.invar"
Verifier Setup
Assuming Cloublab is up and running with ssh key in all the servers. Please paste the server list in Setup/servers.txt.
cd Setup
./setup.sh
It installs the required software and sets up Apache Flink, Kafka and install the firewall rules accordingly.
Run
cd runme
./runme.sh
Authors
This code was mainly written by:
Nofel Yaseen and Vincent Liu
Contributing
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.
When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.