NFD Control Center

NFD 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 NFD Control Center (0.2.1) is built with newest ndn-cxx (0.5.1) and bundles in a newest version of NFD (0.5.1) and NDN Essential tools (0.4). NFD Control Center provides macOS users a simple way to get NDN connectivity and keep up with the latest updates of NFD. The NFD Control Center supplies various features, such as:

  • Start Control Center as soon as computers starts
  • Start NFD daemon as soon as Control Center starts
  • Start/Stop NDN auto-configuration to connect to NDN testbed automatically
  • Shut down NFD daemon when exit the Control Center
  • Automatically upgrade NFD Control Center application
  • View the NDN keys on local system
  • Enable NDN Command line usage in terminal

Soon to be released version will also include NDN security management, a simple interface to enable ad hoc WiFi communication, discovering available data within the network.

Download

Getting Started

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

Launch NFD Control Center

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

Settings and Usage

Preferences

Preferences window contains 5 tab views. The first tab General is the general settings for NFD Control Center. The NFD 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 NFD Control Center as soon as system login
  • Start NFD daemon as soon as NFD Control Center starts
  • Start auto-configuration daemon as soon as NFD starts
  • Shutdown NFD daemon when NFD Control Center quits
  • Open NDN testbed webpage
  • Open NDN routing status webpage
  • Version information display

Forwarder status tab displays the detailed forwarder status information. Nothing will show up if NFD daemon is not on.

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.

Security tab is under construction currently.

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.

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.

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

Quit

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

Future Development Plan

  • NDN security management, integrating with ndncert
  • Enable ad hoc WiFi communication
  • Full NFD management
  • Support for different OS other than macOS