Giter Site home page Giter Site logo

sumukus / ndnsim Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 10 KB

This is the simulation of ICN-IoT device security. Authentication of the devices instead of securing data.

Home Page: https://learn.drukinfotech.com

named-data-networking icn icn-iot iot

ndnsim's Introduction

ndnSIM Simulator

Named Data Networking(NDN) is one of the architectures of Information-Centric Networking.

Installation of Required Packages

I have used Ubuntu 20.04 to run and simulate it.

  1. sudo apt install build-essential libsqlite3-dev libboost-all-dev libssl-dev git python3-setuptools castxml
  2. sudo apt install gir1.2-goocanvas-2.0 gir1.2-gtk-3.0 libgirepository1.0-dev python3-dev python3-gi python3-gi-cairo python3-pip python3-pygraphviz python3-pygccxml
  3. sudo pip3 install kiwi

Download the Source Code of ndnSIM

Make the directory called ndnSIM and navigate inside it. Then download the following source codes.

  1. git clone --recursive https://github.com/named-data-ndnSIM/ndnSIM.git ns-3/src/ndnSIM

Compiling and Running ndnSIM with Visualizer.

  1. cd ns-3
  2. ./waf configure --enable-examples
  3. ./waf

Note: Due to the hardware specification of my laptop, the installation ran infinitely. The laptop RAM was just 4GiB. It used up 100% of it. So, the reason was due to the compilation of visualizers. Therefore, I decided to disable the visualizer and install it.

Compiling and Running ndnSIM without Visualizer.

  1. cd ns-3
  2. ./waf configure --disable-python --enable-examples
  3. ./waf

Now I was able to compile and build the source code successfully.

Running Simulation

You can run the simmulation using the commands given below. There are builtin simulation available. So I will write the command to run the simulation for "ndn-simple" builtin simulation.

./waf --run=ndn-simple

You can also run in the logging mode. Which will be more informative.

NS_LOG=ndn.Producer:ndn.Consumer ./waf --run=ndn-simple

ndnsim's People

Contributors

sumukus avatar

Watchers

 avatar  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.