Example Module
A library of example modules can be found here https://github.com/Cgboal/C2F-Modules
Last updated
A library of example modules can be found here https://github.com/Cgboal/C2F-Modules
Last updated
The below screenshots detail the files required to create a module which performs a ping sweep of the Agents local network, and reports the results to the Master Node. Hopefully, through reviewing this example it will be evident how little overhead there is when converting a normal Dockerized application to function within C2F.
Below is the Module File as described in the C2F Module Files chapter, which would be uploaded to the web interface to assimilate the Module into C2F.
This file is the script which will be put inside the Docker container to perform the ping sweep, and report the data.
Below is the Dockerfile used to generate the PingSweep module.