GithubHelp home page GithubHelp logo

saket-upadhyay / ns3-cybersecurity-simulations Goto Github PK

View Code? Open in Web Editor NEW
9.0 1.0 2.0 29.62 MB

Collection of Common Cybersecurity Scenarios/Simulations in NS3 w/ NetAnim.

Home Page: https://saketupadhyay.com/blog/posts/DDoS-Simulation-in-NS3-C++/

License: GNU General Public License v3.0

Python 64.09% Makefile 0.11% QMake 0.01% C++ 35.07% Shell 0.17% C 0.42% HTML 0.01% JavaScript 0.01% CSS 0.01% Gnuplot 0.01% MATLAB 0.07% Click 0.03% Perl 0.01% Batchfile 0.01%
cybersecurity simulation ns3 netanim cpp

ns3-cybersecurity-simulations's Introduction

NS3 Cybersecurity Simulations

Common Cybersecurity Scenarios Simulations in NS3 and NetAnim [C++]

Included

  • NS3 Suite [Supporting]
    • NS3 Version = 3.31
    • NetAnim
    • Bake
  • Cybersecurity Scenarios [Main]
    • Added Simulations
      • lowrateTCP DoS
      • Common DDoS
  • Build Instructions [Supporting]

How To Build ?

Build NS3

For building NS3 source, please check official documentation at Official Installation for Linux and MacOS

Build Scenatio / Simulation

To build a simulation from source (*.cc)

Copy the source code from to "scratch" folder inside NS3 directory
Build with ./WAF

Use waf to build the scenario, replace with your prefered source (without extension .cc)

./waf --run <name_of_source_file>

for example the following command will build and run DDoSim.cc when put in scratch folder.

./waf --run DDoSim

After build it can be found under /build/scratch/ directory

Simulate with NetAnim

After Execution, the program will produce respective XML file supported by NetAnim. Load the XML in NetAnim via interface and it will visualise the simulation.

How to contribute ?

Just create the pull request with clear title of scenario, it should follow following basic rules :

  • Follow general naming convention
  • Try to make code clutter free
  • Try to comment about main parts of code

License

GNU General Public License v3.0

ns3-cybersecurity-simulations's People

Contributors

saket-upadhyay avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.