Code Monkey home page Code Monkey logo

ndnsf's Introduction

NDNSF - NDN Slim Forwarder

NDNSF is a lightweight Named Data Networking forwarder based on NDN-On-Node, compatible with NDNx and CCNx. NDNSF is tested on Ubuntu 12.04 and Windows 7.

NDNSF is not designed for speed, and is not a replacement of ndnd or NDNFD. NDNSF is not endorsed by NDN project group.

Installation

  1. Install Node.js v0.10.15 or above.
  2. Download NDNSF source code.
  3. Install dependencies: npm install ndn-on-node ws
  4. Create configuration files: cp -r config-sample config (on linux) or XCOPY /E config-sample config\ (on Windows)
  5. Modify configuration files config/* if desired.

Usage

  • Start NDNSF by executing nodejs . or node . in NDNSF code directory.
    • Make sure any other programs that listens on port 9695 and 9696 are stopped.
  • Ask local apps to use TCP or WebSocket transport instead of UNIX sockets:
    • NDN-On-Node apps and CCNx Java apps can be used directly.
    • NDNx apps need NDN_LOCAL_TRANSPORT=tcp environment variable.
    • CCNx apps need CCN_LOCAL_TRANSPORT=tcp environment variable.
    • NDN-JS apps can connect to ws://localhost:9696/
  • Access NDNSF manager webapp at http://localhost:9696/

Features

NDNSF supports the following features:

  • FIB - Forwarding Information Base
  • PIT - Pending Interest Table
  • Prefix Registration Protocol: selfreg command only
  • broadcast forwarding strategy
  • smart forwarding strategy
  • TCP transport
  • WebSocket transport
  • status web page with operator key authentication

NDNSF does not yet support:

  • CS - Content Store
  • ForwardingFlags
  • UDP transport
  • Face Management Protocol

ndnsf's People

Contributors

yoursunny avatar

Watchers

 avatar  avatar  avatar

Forkers

bboalimoe

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.