Steve DiBenedetto | 62a9394 | 2014-08-24 17:13:52 -0600 | [diff] [blame] | 1 | Getting Started with NFD |
| 2 | ======================== |
Alexander Afanasyev | 284257b | 2014-04-11 14:16:51 -0700 | [diff] [blame] | 3 | |
Davide Pesavento | 69857c3 | 2020-04-05 16:36:26 -0400 | [diff] [blame] | 4 | Supported platforms |
| 5 | ------------------- |
Steve DiBenedetto | 62a9394 | 2014-08-24 17:13:52 -0600 | [diff] [blame] | 6 | |
Davide Pesavento | 69857c3 | 2020-04-05 16:36:26 -0400 | [diff] [blame] | 7 | NFD is built against a continuous integration system and has been tested on the |
| 8 | following platforms: |
| 9 | |
| 10 | - Ubuntu 16.04 (amd64) |
| 11 | - Ubuntu 18.04 (amd64, armhf, i386) |
| 12 | - Ubuntu 19.10 (amd64) |
| 13 | - macOS 10.13 |
| 14 | - macOS 10.14 |
| 15 | - macOS 10.15 |
| 16 | |
| 17 | NFD is known to work on the following platforms, although they are not officially |
| 18 | supported: |
| 19 | |
| 20 | - Debian >= 9 |
| 21 | - Gentoo Linux |
| 22 | - Raspbian >= 2017-08-16 |
| 23 | |
| 24 | .. _Install NFD on Ubuntu Linux using the NDN PPA repository: |
| 25 | |
| 26 | Install NFD on Ubuntu Linux using the NDN PPA repository |
Steve DiBenedetto | 62a9394 | 2014-08-24 17:13:52 -0600 | [diff] [blame] | 27 | -------------------------------------------------------- |
| 28 | |
Davide Pesavento | 69857c3 | 2020-04-05 16:36:26 -0400 | [diff] [blame] | 29 | NFD binaries and related tools for supported versions of Ubuntu can be installed using |
| 30 | PPA packages from the **named-data** repository. First, you will need to add the |
| 31 | ``named-data/ppa`` repository to the binary package sources and update the list of |
| 32 | available packages. |
Steve DiBenedetto | 62a9394 | 2014-08-24 17:13:52 -0600 | [diff] [blame] | 33 | |
Alexander Afanasyev | 84dd4ca | 2017-10-15 14:56:08 -0400 | [diff] [blame] | 34 | Preliminary steps if you have not used PPA packages before |
| 35 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
Steve DiBenedetto | 62a9394 | 2014-08-24 17:13:52 -0600 | [diff] [blame] | 36 | |
Davide Pesavento | 69857c3 | 2020-04-05 16:36:26 -0400 | [diff] [blame] | 37 | To simplify adding new PPA repositories, Ubuntu provides the ``add-apt-repository`` tool, |
Davide Pesavento | cc7bee7 | 2016-04-22 02:21:13 +0200 | [diff] [blame] | 38 | which is not installed by default on some systems. |
Steve DiBenedetto | 62a9394 | 2014-08-24 17:13:52 -0600 | [diff] [blame] | 39 | |
| 40 | :: |
| 41 | |
Davide Pesavento | 69857c3 | 2020-04-05 16:36:26 -0400 | [diff] [blame] | 42 | sudo apt install software-properties-common |
Steve DiBenedetto | 62a9394 | 2014-08-24 17:13:52 -0600 | [diff] [blame] | 43 | |
Davide Pesavento | 69857c3 | 2020-04-05 16:36:26 -0400 | [diff] [blame] | 44 | Adding the NDN PPA |
| 45 | ~~~~~~~~~~~~~~~~~~ |
Steve DiBenedetto | 62a9394 | 2014-08-24 17:13:52 -0600 | [diff] [blame] | 46 | |
Davide Pesavento | 69857c3 | 2020-04-05 16:36:26 -0400 | [diff] [blame] | 47 | After installing ``add-apt-repository``, run the following commands to add the `NDN PPA |
| 48 | repository`_:: |
Steve DiBenedetto | 62a9394 | 2014-08-24 17:13:52 -0600 | [diff] [blame] | 49 | |
| 50 | sudo add-apt-repository ppa:named-data/ppa |
Davide Pesavento | 69857c3 | 2020-04-05 16:36:26 -0400 | [diff] [blame] | 51 | sudo apt update |
Steve DiBenedetto | 62a9394 | 2014-08-24 17:13:52 -0600 | [diff] [blame] | 52 | |
| 53 | Installing NFD and other NDN packages |
| 54 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 55 | |
Davide Pesavento | 69857c3 | 2020-04-05 16:36:26 -0400 | [diff] [blame] | 56 | After you have added the `NDN PPA repository`_, NFD and other NDN packages can be easily |
| 57 | installed either using ``apt``, as shown below, or any other compatible package manager. |
Steve DiBenedetto | 62a9394 | 2014-08-24 17:13:52 -0600 | [diff] [blame] | 58 | |
| 59 | :: |
| 60 | |
Davide Pesavento | 69857c3 | 2020-04-05 16:36:26 -0400 | [diff] [blame] | 61 | sudo apt install nfd |
Steve DiBenedetto | 62a9394 | 2014-08-24 17:13:52 -0600 | [diff] [blame] | 62 | |
Davide Pesavento | 69857c3 | 2020-04-05 16:36:26 -0400 | [diff] [blame] | 63 | For the list of available packages, refer to the `NDN PPA repository`_ page. |
Steve DiBenedetto | 62a9394 | 2014-08-24 17:13:52 -0600 | [diff] [blame] | 64 | |
| 65 | .. _NDN PPA repository: https://launchpad.net/~named-data/+archive/ppa |
| 66 | |
Davide Pesavento | 69857c3 | 2020-04-05 16:36:26 -0400 | [diff] [blame] | 67 | Building from source |
Steve DiBenedetto | 62a9394 | 2014-08-24 17:13:52 -0600 | [diff] [blame] | 68 | -------------------- |
| 69 | |
Davide Pesavento | 69857c3 | 2020-04-05 16:36:26 -0400 | [diff] [blame] | 70 | Downloading from git |
Steve DiBenedetto | 62a9394 | 2014-08-24 17:13:52 -0600 | [diff] [blame] | 71 | ~~~~~~~~~~~~~~~~~~~~ |
| 72 | |
Davide Pesavento | 69857c3 | 2020-04-05 16:36:26 -0400 | [diff] [blame] | 73 | The first step is to obtain the source code for NFD and its main dependency, the |
| 74 | *ndn-cxx* library. If you do not want a development version of NFD, make sure you |
| 75 | checkout the correct release tag (e.g., ``*-0.7.0``) from both repositories. |
Steve DiBenedetto | 62a9394 | 2014-08-24 17:13:52 -0600 | [diff] [blame] | 76 | |
| 77 | :: |
| 78 | |
| 79 | # Download ndn-cxx |
Davide Pesavento | 69857c3 | 2020-04-05 16:36:26 -0400 | [diff] [blame] | 80 | git clone https://github.com/named-data/ndn-cxx.git |
Steve DiBenedetto | 62a9394 | 2014-08-24 17:13:52 -0600 | [diff] [blame] | 81 | |
| 82 | # Download NFD |
Davide Pesavento | 69857c3 | 2020-04-05 16:36:26 -0400 | [diff] [blame] | 83 | git clone --recursive https://github.com/named-data/NFD.git |
Alexander Afanasyev | 284257b | 2014-04-11 14:16:51 -0700 | [diff] [blame] | 84 | |
Alexander Afanasyev | 84dd4ca | 2017-10-15 14:56:08 -0400 | [diff] [blame] | 85 | .. note:: |
Davide Pesavento | 69857c3 | 2020-04-05 16:36:26 -0400 | [diff] [blame] | 86 | While we strive to ensure that the latest version (git master branch) of NFD and ndn-cxx |
| 87 | always compiles and works properly, we cannot guarantee that there will be no issues. |
| 88 | If this is discovered to be the case, please use matching released versions (git tag or |
| 89 | tarball) of NFD and ndn-cxx instead. |
Alexander Afanasyev | 84dd4ca | 2017-10-15 14:56:08 -0400 | [diff] [blame] | 90 | |
Alexander Afanasyev | 284257b | 2014-04-11 14:16:51 -0700 | [diff] [blame] | 91 | Prerequisites |
Steve DiBenedetto | 62a9394 | 2014-08-24 17:13:52 -0600 | [diff] [blame] | 92 | ~~~~~~~~~~~~~ |
Alexander Afanasyev | 284257b | 2014-04-11 14:16:51 -0700 | [diff] [blame] | 93 | |
Davide Pesavento | 69857c3 | 2020-04-05 16:36:26 -0400 | [diff] [blame] | 94 | Install the `ndn-cxx library <https://named-data.net/doc/ndn-cxx/current/INSTALL.html>`__ |
| 95 | and its prerequisites. |
Alexander Afanasyev | 284257b | 2014-04-11 14:16:51 -0700 | [diff] [blame] | 96 | |
Davide Pesavento | 69857c3 | 2020-04-05 16:36:26 -0400 | [diff] [blame] | 97 | On Linux, NFD needs the following dependencies to enable optional features: |
Junxiao Shi | e5e1e25 | 2014-12-13 22:07:35 -0700 | [diff] [blame] | 98 | |
Davide Pesavento | 69857c3 | 2020-04-05 16:36:26 -0400 | [diff] [blame] | 99 | - On Ubuntu:: |
Junxiao Shi | e5e1e25 | 2014-12-13 22:07:35 -0700 | [diff] [blame] | 100 | |
Davide Pesavento | 69857c3 | 2020-04-05 16:36:26 -0400 | [diff] [blame] | 101 | sudo apt install libpcap-dev libsystemd-dev |
Alexander Afanasyev | 284257b | 2014-04-11 14:16:51 -0700 | [diff] [blame] | 102 | |
Steve DiBenedetto | 62a9394 | 2014-08-24 17:13:52 -0600 | [diff] [blame] | 103 | Build |
| 104 | ~~~~~ |
| 105 | |
Davide Pesavento | 69857c3 | 2020-04-05 16:36:26 -0400 | [diff] [blame] | 106 | The following commands can be used to build and install NFD from source:: |
Alexander Afanasyev | 284257b | 2014-04-11 14:16:51 -0700 | [diff] [blame] | 107 | |
| 108 | ./waf configure |
| 109 | ./waf |
| 110 | sudo ./waf install |
| 111 | |
Davide Pesavento | 69857c3 | 2020-04-05 16:36:26 -0400 | [diff] [blame] | 112 | If you have installed ndn-cxx and/or any other dependencies into a non-standard path, |
| 113 | you may need to modify the ``PKG_CONFIG_PATH`` environment variable before running |
| 114 | ``./waf configure``. For example:: |
Alexander Afanasyev | 284257b | 2014-04-11 14:16:51 -0700 | [diff] [blame] | 115 | |
Davide Pesavento | 69857c3 | 2020-04-05 16:36:26 -0400 | [diff] [blame] | 116 | export PKG_CONFIG_PATH="/custom/lib/pkgconfig:$PKG_CONFIG_PATH" |
Alexander Afanasyev | 284257b | 2014-04-11 14:16:51 -0700 | [diff] [blame] | 117 | ./waf configure |
| 118 | ./waf |
| 119 | sudo ./waf install |
| 120 | |
Davide Pesavento | 69857c3 | 2020-04-05 16:36:26 -0400 | [diff] [blame] | 121 | Refer to ``./waf --help`` for more options that can be used during the ``configure`` stage. |
Steve DiBenedetto | 62a9394 | 2014-08-24 17:13:52 -0600 | [diff] [blame] | 122 | |
Alexander Afanasyev | 508411e | 2014-12-16 13:27:59 -0800 | [diff] [blame] | 123 | .. note:: |
Davide Pesavento | 69857c3 | 2020-04-05 16:36:26 -0400 | [diff] [blame] | 124 | If you are working on a source repository that has been compiled before, and you have |
| 125 | upgraded one of the dependencies, please execute ``./waf distclean`` to clear object files |
| 126 | and start over. |
Alexander Afanasyev | 508411e | 2014-12-16 13:27:59 -0800 | [diff] [blame] | 127 | |
Alexander Afanasyev | 2618153 | 2014-05-07 23:38:51 -0700 | [diff] [blame] | 128 | Debug symbols |
Steve DiBenedetto | 62a9394 | 2014-08-24 17:13:52 -0600 | [diff] [blame] | 129 | ~~~~~~~~~~~~~ |
Alexander Afanasyev | 2618153 | 2014-05-07 23:38:51 -0700 | [diff] [blame] | 130 | |
Davide Pesavento | 69857c3 | 2020-04-05 16:36:26 -0400 | [diff] [blame] | 131 | The default compiler flags enable debug symbols to be included in binaries. This should |
| 132 | provide more meaningful debugging information if NFD or other tools happen to crash. |
Alexander Afanasyev | 2618153 | 2014-05-07 23:38:51 -0700 | [diff] [blame] | 133 | |
Davide Pesavento | 69857c3 | 2020-04-05 16:36:26 -0400 | [diff] [blame] | 134 | If this is undesirable, the default flags can be overridden to disable debug symbols. |
| 135 | The following example shows how to completely disable debug symbols and configure NFD |
| 136 | to be installed into ``/usr`` with configuration in the ``/etc`` directory. |
Alexander Afanasyev | 2618153 | 2014-05-07 23:38:51 -0700 | [diff] [blame] | 137 | |
| 138 | :: |
| 139 | |
| 140 | CXXFLAGS="-O2" ./waf configure --prefix=/usr --sysconfdir=/etc |
| 141 | ./waf |
| 142 | sudo ./waf install |
| 143 | |
Davide Pesavento | 69857c3 | 2020-04-05 16:36:26 -0400 | [diff] [blame] | 144 | For Ubuntu PPA packages, debug symbols are available in ``*-dbg`` packages. |
Alexander Afanasyev | 84dd4ca | 2017-10-15 14:56:08 -0400 | [diff] [blame] | 145 | |
Davide Pesavento | 69857c3 | 2020-04-05 16:36:26 -0400 | [diff] [blame] | 146 | Customizing the compiler |
| 147 | ~~~~~~~~~~~~~~~~~~~~~~~~ |
Alexander Afanasyev | 7c10b3b | 2015-01-20 12:24:27 -0800 | [diff] [blame] | 148 | |
Davide Pesavento | 69857c3 | 2020-04-05 16:36:26 -0400 | [diff] [blame] | 149 | To build NFD with a different compiler (rather than the platform default), set the |
| 150 | ``CXX`` environment variable to point to the compiler binary. For example, to build |
| 151 | with clang on Linux, use the following:: |
Alexander Afanasyev | 7c10b3b | 2015-01-20 12:24:27 -0800 | [diff] [blame] | 152 | |
Eric Newberry | 81a9a86 | 2016-12-27 22:59:27 -0700 | [diff] [blame] | 153 | CXX=clang++ ./waf configure |
Alexander Afanasyev | 7c10b3b | 2015-01-20 12:24:27 -0800 | [diff] [blame] | 154 | |
Davide Pesavento | 69857c3 | 2020-04-05 16:36:26 -0400 | [diff] [blame] | 155 | Building the documentation |
| 156 | ~~~~~~~~~~~~~~~~~~~~~~~~~~ |
Alexander Afanasyev | 284257b | 2014-04-11 14:16:51 -0700 | [diff] [blame] | 157 | |
Davide Pesavento | 69857c3 | 2020-04-05 16:36:26 -0400 | [diff] [blame] | 158 | NFD tutorials and API documentation can be built using the following commands:: |
Alexander Afanasyev | 284257b | 2014-04-11 14:16:51 -0700 | [diff] [blame] | 159 | |
| 160 | # Full set of documentation (tutorials + API) in build/docs |
| 161 | ./waf docs |
| 162 | |
Davide Pesavento | 69857c3 | 2020-04-05 16:36:26 -0400 | [diff] [blame] | 163 | # Only tutorials in build/docs |
Alexander Afanasyev | 284257b | 2014-04-11 14:16:51 -0700 | [diff] [blame] | 164 | ./waf sphinx |
| 165 | |
Davide Pesavento | 69857c3 | 2020-04-05 16:36:26 -0400 | [diff] [blame] | 166 | # Only API docs in build/docs/doxygen |
| 167 | ./waf doxygen |
Alexander Afanasyev | 284257b | 2014-04-11 14:16:51 -0700 | [diff] [blame] | 168 | |
Davide Pesavento | 69857c3 | 2020-04-05 16:36:26 -0400 | [diff] [blame] | 169 | If ``sphinx-build`` is detected during ``./waf configure``, manpages are automatically |
| 170 | built and installed during the normal build process (i.e., during ``./waf`` and ``./waf |
| 171 | install``). By default, manpages are installed into ``${PREFIX}/share/man`` (the default |
| 172 | value for ``PREFIX`` is ``/usr/local``). This location can be changed during the ``./waf |
| 173 | configure`` stage using the ``--prefix``, ``--datarootdir``, or ``--mandir`` options. |
Alexander Afanasyev | 284257b | 2014-04-11 14:16:51 -0700 | [diff] [blame] | 174 | |
Davide Pesavento | 69857c3 | 2020-04-05 16:36:26 -0400 | [diff] [blame] | 175 | For more details, please refer to ``./waf --help``. |
Steve DiBenedetto | 62a9394 | 2014-08-24 17:13:52 -0600 | [diff] [blame] | 176 | |
Steve DiBenedetto | 62a9394 | 2014-08-24 17:13:52 -0600 | [diff] [blame] | 177 | Initial configuration |
| 178 | --------------------- |
| 179 | |
| 180 | .. note:: |
| 181 | If you have installed NFD from binary packages, the package manager has already |
Davide Pesavento | 69857c3 | 2020-04-05 16:36:26 -0400 | [diff] [blame] | 182 | installed a working configuration and you can safely skip this section. |
Steve DiBenedetto | 62a9394 | 2014-08-24 17:13:52 -0600 | [diff] [blame] | 183 | |
| 184 | General |
| 185 | ~~~~~~~ |
| 186 | |
Davide Pesavento | 69857c3 | 2020-04-05 16:36:26 -0400 | [diff] [blame] | 187 | After installing NFD from source, you need to create a proper configuration file. |
| 188 | If the default installation directories were used with ``./waf configure``, this |
| 189 | can be accomplished by simply copying the sample configuration file as follows:: |
Steve DiBenedetto | 62a9394 | 2014-08-24 17:13:52 -0600 | [diff] [blame] | 190 | |
| 191 | sudo cp /usr/local/etc/ndn/nfd.conf.sample /usr/local/etc/ndn/nfd.conf |
| 192 | |
| 193 | NFD Security |
| 194 | ~~~~~~~~~~~~ |
| 195 | |
| 196 | NFD provides mechanisms to enable strict authorization for all management commands. In |
Davide Pesavento | 69857c3 | 2020-04-05 16:36:26 -0400 | [diff] [blame] | 197 | particular, one can authorize only specific public keys to create new faces or change the |
Steve DiBenedetto | 62a9394 | 2014-08-24 17:13:52 -0600 | [diff] [blame] | 198 | forwarding strategy for specific namespaces. For more information about how to generate |
Davide Pesavento | 69857c3 | 2020-04-05 16:36:26 -0400 | [diff] [blame] | 199 | public/private key pairs, generate self-signed certificates, and use them to authorize |
| 200 | NFD management commands, refer to the :ref:`How do I configure NFD security` FAQ question. |
Steve DiBenedetto | 62a9394 | 2014-08-24 17:13:52 -0600 | [diff] [blame] | 201 | |
Davide Pesavento | 69857c3 | 2020-04-05 16:36:26 -0400 | [diff] [blame] | 202 | In the sample configuration file, all security mechanisms are disabled for local clients, |
| 203 | effectively allowing anybody on the local machine to issue NFD management commands. |
| 204 | |
| 205 | .. note:: |
| 206 | The sample configuration file is intended only for demo purposes and should NOT be |
| 207 | used in production environments. |
Steve DiBenedetto | 62a9394 | 2014-08-24 17:13:52 -0600 | [diff] [blame] | 208 | |
| 209 | Running |
| 210 | ------- |
| 211 | |
Steve DiBenedetto | 62a9394 | 2014-08-24 17:13:52 -0600 | [diff] [blame] | 212 | Starting |
| 213 | ~~~~~~~~ |
| 214 | |
Davide Pesavento | 69857c3 | 2020-04-05 16:36:26 -0400 | [diff] [blame] | 215 | If you have installed NFD from source, it is recommended to start NFD with the |
| 216 | ``nfd-start`` script:: |
Steve DiBenedetto | 62a9394 | 2014-08-24 17:13:52 -0600 | [diff] [blame] | 217 | |
| 218 | nfd-start |
| 219 | |
Davide Pesavento | 69857c3 | 2020-04-05 16:36:26 -0400 | [diff] [blame] | 220 | On macOS, this command may ask for your keychain password or ask "nfd wants to sign using |
| 221 | key [xyz] in your keychain". Enter your keychain password and click "Always Allow". |
Steve DiBenedetto | 62a9394 | 2014-08-24 17:13:52 -0600 | [diff] [blame] | 222 | |
| 223 | Later, you can stop NFD with ``nfd-stop`` or by simply killing the ``nfd`` process. |
| 224 | |
Davide Pesavento | 2849fd4 | 2019-01-03 18:30:05 -0500 | [diff] [blame] | 225 | If you have installed NFD using a package manager, you can start and stop NFD using the |
Davide Pesavento | 69857c3 | 2020-04-05 16:36:26 -0400 | [diff] [blame] | 226 | operating system's service manager, such as ``systemctl`` or ``launchctl``. |
Steve DiBenedetto | 62a9394 | 2014-08-24 17:13:52 -0600 | [diff] [blame] | 227 | |
Davide Pesavento | 69857c3 | 2020-04-05 16:36:26 -0400 | [diff] [blame] | 228 | Connecting to remote forwarders |
| 229 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
Steve DiBenedetto | 62a9394 | 2014-08-24 17:13:52 -0600 | [diff] [blame] | 230 | |
Davide Pesavento | 69857c3 | 2020-04-05 16:36:26 -0400 | [diff] [blame] | 231 | To create a UDP tunnel to a remote instance of NFD, execute the following command |
| 232 | in a terminal:: |
Steve DiBenedetto | 62a9394 | 2014-08-24 17:13:52 -0600 | [diff] [blame] | 233 | |
Davide Pesavento | 69857c3 | 2020-04-05 16:36:26 -0400 | [diff] [blame] | 234 | nfdc face create udp://<other-host> |
Steve DiBenedetto | 62a9394 | 2014-08-24 17:13:52 -0600 | [diff] [blame] | 235 | |
Davide Pesavento | 69857c3 | 2020-04-05 16:36:26 -0400 | [diff] [blame] | 236 | where ``<other-host>`` is the name or IP address of the other host (e.g., |
| 237 | ``udp://ndn.example.net``). If successful, this will print something like:: |
Steve DiBenedetto | 62a9394 | 2014-08-24 17:13:52 -0600 | [diff] [blame] | 238 | |
Junxiao Shi | 849e12a | 2017-08-02 00:14:57 +0000 | [diff] [blame] | 239 | face-created id=308 local=udp4://10.0.2.15:6363 remote=udp4://131.179.196.46:6363 persistency=persistent |
| 240 | |
Davide Pesavento | 69857c3 | 2020-04-05 16:36:26 -0400 | [diff] [blame] | 241 | To add a route ``/ndn`` toward this remote forwarder, execute the following command |
| 242 | in a terminal:: |
Junxiao Shi | 849e12a | 2017-08-02 00:14:57 +0000 | [diff] [blame] | 243 | |
Davide Pesavento | 69857c3 | 2020-04-05 16:36:26 -0400 | [diff] [blame] | 244 | nfdc route add /ndn udp://<other-host> |
Junxiao Shi | 849e12a | 2017-08-02 00:14:57 +0000 | [diff] [blame] | 245 | |
Davide Pesavento | 69857c3 | 2020-04-05 16:36:26 -0400 | [diff] [blame] | 246 | This will print:: |
Junxiao Shi | 849e12a | 2017-08-02 00:14:57 +0000 | [diff] [blame] | 247 | |
| 248 | route-add-accepted prefix=/ndn nexthop=308 origin=static cost=0 flags=child-inherit expires=never |
Steve DiBenedetto | 62a9394 | 2014-08-24 17:13:52 -0600 | [diff] [blame] | 249 | |
Davide Pesavento | 69857c3 | 2020-04-05 16:36:26 -0400 | [diff] [blame] | 250 | This indicates that NFD will forward all Interests that start with ``/ndn`` through the |
| 251 | face to the other host. This forwards Interests to the other host, but does not provide |
| 252 | a "back route" for the other host to forward Interests to you. For this, you can rely on |
| 253 | the "automatic prefix propagation" feature of NFD or use the ``nfdc`` command on the other |
| 254 | host to add the route. |
Steve DiBenedetto | 62a9394 | 2014-08-24 17:13:52 -0600 | [diff] [blame] | 255 | |
| 256 | Playing with NFD |
| 257 | ---------------- |
| 258 | |
Davide Pesavento | 69857c3 | 2020-04-05 16:36:26 -0400 | [diff] [blame] | 259 | After you have installed, configured, and started NFD, you can demonstrate the features |
| 260 | of NDN using the following applications and libraries. |
Steve DiBenedetto | 62a9394 | 2014-08-24 17:13:52 -0600 | [diff] [blame] | 261 | |
| 262 | Sample applications: |
| 263 | |
Davide Pesavento | 69857c3 | 2020-04-05 16:36:26 -0400 | [diff] [blame] | 264 | + `Simple examples using the ndn-cxx library <https://named-data.net/doc/ndn-cxx/current/examples.html>`_ |
| 265 | + `Introductory examples of NDN-CCL |
| 266 | <https://redmine.named-data.net/projects/application-development-documentation-guides/wiki/Step-By-Step_-_Common_Client_Libraries>`_ |
Steve DiBenedetto | 62a9394 | 2014-08-24 17:13:52 -0600 | [diff] [blame] | 267 | |
| 268 | Real applications and libraries: |
| 269 | |
Davide Pesavento | 69857c3 | 2020-04-05 16:36:26 -0400 | [diff] [blame] | 270 | + `ndn-tools - Essential NDN command-line tools <https://github.com/named-data/ndn-tools>`_ |
| 271 | + `ndn-traffic-generator - Traffic generator for NDN <https://github.com/named-data/ndn-traffic-generator>`_ |
| 272 | + `repo-ng - Next generation NDN repository <https://github.com/named-data/repo-ng>`_ |
| 273 | + `ChronoSync - Sync library for multi-user real-time applications <https://github.com/named-data/ChronoSync>`_ |
| 274 | + `PSync - Partial and full synchronization library <https://github.com/named-data/PSync>`_ |