Skip to content
This repository has been archived by the owner on Jan 18, 2021. It is now read-only.
/ NDNSF Public archive

NDN Slim Forwarder for Node.js

License

Notifications You must be signed in to change notification settings

yoursunny/NDNSF

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

NDN Slim Forwarder for Node.js

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published