NDN Control Center

{align="right" style="max-width:60%"}

NDN Control Center is a software module for desktop systems to manage local instance of Named Data Forwarding Daemon (NFD). The current released macOS version of the NDN Control Center is built with newest ndn-cxx (0.5.1) and bundles in a newest version of NFD (0.5.1) and NDN tools (0.4). NDN Control Center provides macOS users a simple way to get NDN connectivity and keep up with the latest updates of NFD. The NDN Control Center supplies various features, such as:

  • Start Control Center as soon as computers starts
  • Start NFD daemon as soon as Control Center starts
  • Monitor detailed NFD status information
  • Modify NFD parameters
  • Start/Stop NDN auto-configuration to connect to NDN testbed automatically
  • Shut down NFD daemon when exit the Control Center
  • Automatically upgrade NDN Control Center application
  • View the NDN keys on local system
  • Enable NDN Command line usage in terminal
  • Enable Ad Hoc WiFi communication

Soon to be released version will also include NDN security management, discovering available data within the network.

Download

Getting Started

Download .dmg of the latest version of the NDN control center and install it by simply double clicking dmg package and dragging NDN.app to Application folder.

{style="display: block; margin:0 auto 0 auto; max-width:90%"}

Launch NDN Control Center

In the Launchpad, click on NDN application icon to launch NDN Control Center. Application icon will show on the menu bar and the main menu can be opened from there.

{style="display: block; margin:0 auto 0 auto; max-width:90%"}

Settings and Usage

Preferences

Preferences window contains 3 tab views. The first tab General is the general settings for NDN Control Center. The NDN Control Center application will save the user's settings permanently in local system no matter the application is upgraded or reinstalled. The default setting is false.

  • Launch NDN Control Center as soon as system login
  • Start NFD daemon as soon as NDN Control Center starts
  • Start auto-configuration daemon as soon as NFD starts
  • Shutdown NFD daemon when NDN Control Center quits
  • Open NDN testbed webpage
  • Open NDN routing status webpage
  • Version information display

{style="display: block; margin:0 auto 0 auto; max-width:90%"}

Auto-config status tab displays the detailed auto-configuration information generated by NDN auto-config tool. It logs the auto-configuration information until application exits. When start auto-configuration on the system for the first time, macOS will ask you for permission to access keychain. Choose Always Allow to avoid the window pops up again.

Management tab contains various operations for modifying the NFD parameters, including create/destroy face, add/remove FIB next-hop, register/unregister RIB entry and set/unset strategy for a name.

{style="display: block; margin:0 auto 0 auto; max-width:40%"}

Status

Status window has 6 tab views to show the detailed information about local running NFD, including general forwarder status, channels, faces, FIB, RIB, strategies.

{style="display: block; margin:0 auto 0 auto; max-width:90%"}

Enable Ad Hoc WiFi

Simply click on this menu entry and the ad hoc WiFi mode will be turned on. It will connect to NDNDirect automatically. Once disable the ad hoc WiFi, it will re-connect to de default WiFi again.

Enable Command Terminal Usage

Choosing this menu entry will let the users be able to use the command-line tools in terminal on local macOS system. Simply click on it and fill in the user name and password in the popup dialog. Then users will be able to use all NDN related command-line tools in terminal afterwards.

{style="display: block; margin:0 auto 0 auto; max-width:90%"} After enabling command-line tools in terminal, users can type in the command line to launch NDN tools, checking NFD status and so on. One example shown below is that users can use "ndn nfd-status" command to check the general NFD status.

{style="display: block; margin:0 auto 0 auto; max-width:90%"} Currently, ndn supports the following command-line tools:

  • NFD and supporting tools

    • nfd
    • nfdc
    • nfd-status
    • nfd-status-http-server
    • nfd-autoreg
    • ndn-autoconfig
    • ndn-autoconfig-server
  • NDN Essential Tools

    • ndn-dissect
    • ndncatchunks
    • ndndump
    • ndnpeek
    • ndnping
    • ndnpingserver
    • ndnpoke
    • ndnputchunks
  • NDN security tools

    • ndnsec
    • ndnsec-cert-dump
    • ndnsec-cert-gen
    • ndnsec-cert-install
    • ndnsec-cert-revoke
    • ndnsec-certgen
    • ndnsec-delete
    • ndnsec-dsk-gen
    • ndnsec-dskgen
    • ndnsec-dump-certificate
    • ndnsec-export
    • ndnsec-get-default
    • ndnsec-import
    • ndnsec-install-cert
    • ndnsec-key-gen
    • ndnsec-keygen
    • ndnsec-list
    • ndnsec-ls-identity
    • ndnsec-op-tool
    • ndnsec-operator-tool
    • ndnsec-set-acl
    • ndnsec-set-default
    • ndnsec-sig-verify
    • ndnsec-sign-req
    • ndnsec-unlock-tpm

Check for updates

This menu entry is designed for automatically upgrading. Everytime when NDN Control Center starts, it will automatically check the upgrade information from the server. If there is an available upgrading, upgrading dialog will pop up and users can choose the their preferred action. During the upgrade, NFD and NDN auto-configuration will be stopped. Users also can check the upgrading information manually by clicking this menu entry.

{style="display: block; margin:0 auto 0 auto; max-width:90%"}

Quit

Users can check the "Shutdown NFD daemon on quit" box to terminate NFD daemon along with quitting NDN Control Center. Otherwise, NFD daemon will keep running even if user quits the NDN Control Center.

Future Development Plan

  • NDN security management, integrating with ndncert
  • Support for different OS other than macOS