Skip to content

NS-unina/DSP_Repo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

223 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NS-Unina DSP Labs

The following project contains the list of official DSP labs.

The main contribution to this project should be given to the students of the Network Security course of the Professor Simon Pietro Romano in the University of Naples Federico II.

How to create a new DSP Lab?

Take a look to the developed lab and check if you already have a similar project. You can use DSP to make a copy of a lab.

Docker images used in your lab

All the Docker images that you develop during your development should be shared with us. You can also upload them in DockerHub, but before accepting the Pull Request we need to analyze them in order to understand if those satisfy Quality Criteria

DSP images and repository convention

The workflow that you should use when developing the image is the following:

  1. Check if there a Docker image in the .docker-images/base folder that satisfies your needs.
  2. If not, create a new folder in the .docker-images with the name of your lab. For example, if you are creating a lab called NS_Escalation , you need to create a new falder named .docker-images/NS_Escalation
  3. For each new Docker image, create a subfolder in the create folder with the name of the image.

DSP Quality Criteria

DSP images should be optimized. Our main criteria is basically to minimize the Docker image by using the best practices provided by the Docker team.

Here some hints:

  • Dockerfile builds should be performed by using the multi-stage build option.
  • You should not install binaries that are not used into the lab.

Some DSP-added criteria:

  • All the images that you develop should start from a DSP image. Check at the list in the base folder.

Docker build

The Docker image should contain a version. Each folder that contains the Dockerfile will contain a VERSION file that is used to build the images.

Default: v1.0

Utility script

You can use the create_new_image.sh script to create a new image that will create the base folder structure for a new image.

How to contribute

In order to contribute to the labs realization:

  1. Fork the repository
  2. Sycnrhonize your personal repo inside the DSP application
  3. Perform changes
  4. Send a PR

License

Distributed under the GPLv3 License. See LICENSE.md for more information.

About

A template for Docker Security Playground projects

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors