Giter VIP home page Giter VIP logo

amrta-coder / ns2.35-with-docker Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 96.32 MB

Development environment of ns-2.35 on the Mac OS , containing malicious study in Ad hoc network simulation. (eg. blackhole-aodv, grayhole-aodv, watchdog(aodv), and Bayesian-watchdog(aodv))

License: MIT License

Dockerfile 0.01% Python 0.76% Jupyter Notebook 0.01% Makefile 0.44% HTML 0.11% C++ 51.04% Shell 1.99% C 2.58% Tcl 29.43% Awk 0.25% Gnuplot 0.08% Perl 1.65% Raku 0.01% Lua 0.01% TeX 7.55% PostScript 1.71% Roff 0.55% Mathematica 1.79% MATLAB 0.01% DIGITAL Command Language 0.03%

ns2.35-with-docker's Introduction

The development environment of ns2.35

This work is for the development environment of ns-2.35 on the Mac OS. It also contains some basic works for the malicious study in Ad hoc network simulation. (eg. blackhole-aodv, grayhole-aodv, watchdog(aodv), and Bayesian-watchdog(aodv))

Base environment

  • Host OS: macOS High Sierra version 10.13.4 (may have issue in other OS)
  • Docker base image is ubuntu:14:04
  • Docker files are based on docker-ns2
  • Docker develop environment ns2.35-with-docker can be found in docker hub
  • Miniconda3 ( python3.6 and pip3.6 ) is installed along with jupyter notebook.

Composition

This project includes:

  • How to simulation and project description in Readthedocs
  • Already being installed source code of ns2.35
  • New protocols including mflood, blackhole-aodv, grayhole-aodv, watchdog(aodv), and Bayesian-watchdog(aodv)
  • Simulation analyze tools: NSG2.1, APP-tool, py-parser, jupyter notebook

Tools

  • tcl generation tool

NSG2.1 is developed in Java to make the generation of tcl files easy with GUI

NSG2.1

  • trace file parser

APP Tool (Automated Post Processing tool) is a ns2 tracefile analyser with GUI

APP Tool

  • nam: network animator

Nam is a Tcl/TK-based animation tool for viewing network simulation traces and real-world packet traces.

Nam

  • jupyter lab

Access to http://localhost:8888 with login password: "jupyter" (or set the password by yourself)

Jupyterlab

  • python tools

ns2 tools for simulation preparation and results parser

Virtualization

To display the GUI (nam / NSG / APP Tool) from docker to macOS you should:

  1. Confirm X11 is already installed
  2. Run xhost + 127.0.0.1 in the host Mac OS in advance.

Related publications

  1. Historical evidence-based trust management strategy against black hole attacks in MANET
@INPROCEEDINGS{6174693,
  author={Yang, Bo and Yamamoto, Ryo and Tanaka, Yoshiaki},
  booktitle={2012 14th International Conference on Advanced Communication Technology (ICACT)}, 
  title={Historical evidence-based trust management strategy against black hole attacks in MANET}, 
  year={2012},
  volume={},
  number={},
  pages={394-399},
  doi={}}
}
  1. Dempster-Shafer evidence theory based trust management strategy against cooperative black hole attacks and gray hole attacks in MANETs
@INPROCEEDINGS{6779177,
  author={Yang, Bo and Yamamoto, Ryo and Tanaka, Yoshiaki},
  booktitle={16th International Conference on Advanced Communication Technology}, 
  title={Dempster-Shafer evidence theory based trust management strategy against cooperative black hole attacks and gray hole attacks in MANETs}, 
  year={2014},
  volume={},
  number={},
  pages={223-232},
  doi={10.1109/ICACT.2014.6779177}}

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.