Task #1888

Clarify relationship of client.conf and nfd.conf to NRD / NFD

Added by Jeff Burke about 7 years ago. Updated almost 6 years ago.

Target version:
Start date:
Due date:
% Done:


Estimated time:
2.00 h


There appear to be inconsistencies in the NFD/NRD use of client.conf and ndn.conf. This leads to confusion about what is host-wide and what is per-user / per-application configuration.

For example:

Certain aspects of NRD are configured by nfd.conf on a host-wide basis. However, it appears that NRD relies on ~/.ndn/client.conf for the unix socket location. This inconsistency, while understandable in terms of the details of ndn-cxx is confusing in practice. Reproduce by changing the client.conf unix_socket entry to not match nfd.conf and restarting nfd and nrd.

Further, TPM settings in client.conf also appear to impact both NRD and NFD conf, while all other security aspects are configured host-wide in nfd.conf.


  1. NFD, NRD, and any other processes for which a single instance per host is the typical configuration should be typically configured by host-wide parameters in nfd.conf or another file in the same location only, and not affected by the client.conf of a particular user.

  2. ~/.ndn/client.conf should continue to provide default configuration for all other binaries compiled against NDN-CXX and NDN-CCL.

  3. This distinction should be documented clearly in the developer's guide and online documentation.

  4. The PIB/TPM used to store NFD and NRD should be clarified in the documentation, and should be host-wide.

Related issues

Related to ndn-cxx - Task #1906: Write documentation about client.confClosedAlex Afanasyev


Updated by Junxiao Shi about 7 years ago

  • Subject changed from Clarify relationship of client.conf and ndn.conf to NRD / NFD to Clarify relationship of client.conf and nfd.conf to NRD / NFD
  • Category set to Docs
  • Target version set to v0.3
  • Start date deleted (08/18/2014)
  • Estimated time set to 2.00 h

Updated by Junxiao Shi almost 7 years ago

  • Related to Task #1906: Write documentation about client.conf added

Updated by Yingdi Yu almost 7 years ago

  • Assignee set to Yingdi Yu

Updated by Junxiao Shi about 6 years ago

  • Description updated (diff)

20151008 conference call decides that documentation update is needed to give examples about TPM location used by NFD-RIB.


Updated by Yingdi Yu almost 6 years ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 90

Updated NFD developer guide (d5b83f1897f37dffc7aa4df9883b97b156ecf834).


Updated by Alex Afanasyev almost 6 years ago

  • Status changed from Feedback to Closed
  • % Done changed from 90 to 100

Also available in: Atom PDF