This is an ONOS app component designed to not only provide normal operation of the ICS network but also defend both injection attack on Modbus/TCP and Slowloris on HTTP. This one is not compatible with "An ICS Forwarding" and they can't be both activated.
- Clone the repo with IntelliJ IDEA, and then select OpenJDK11 as the SDK from "Project Structure".
- Use the "Reload" button in Maven sidebar to download all required Maven packages.
- Run
mvn clean
andmvn install
using the "clean" and "install" button in Maven lifecycle to generate the app component as a ".oar" archive file in "./target" folder. You can also download the ".oar" file here. - Upload that ".oar" file onto ONOS web UI following this guide.
- Activate the "An ICS Guard" app in ONOS web UI following this guide.