Alexander Afanasyev | 469cbcd | 2014-05-08 01:25:11 -0700 | [diff] [blame] | 1 | ; The general section contains settings of nfd process. |
Alexander Afanasyev | 3441206 | 2014-08-25 12:35:54 -0700 | [diff] [blame] | 2 | general |
| 3 | { |
Davide Pesavento | 59a0181 | 2019-02-09 19:14:02 -0500 | [diff] [blame] | 4 | ; Specify a user and/or group for NFD to drop privileges to |
| 5 | ; when not performing privileged tasks. NFD does not drop |
| 6 | ; privileges by default. |
Alexander Afanasyev | cc5661e | 2015-01-28 11:52:10 -0800 | [diff] [blame] | 7 | user ndn |
| 8 | group ndn |
Alexander Afanasyev | 3441206 | 2014-08-25 12:35:54 -0700 | [diff] [blame] | 9 | } |
Alexander Afanasyev | 469cbcd | 2014-05-08 01:25:11 -0700 | [diff] [blame] | 10 | |
| 11 | log |
| 12 | { |
| 13 | ; default_level specifies the logging level for modules |
| 14 | ; that are not explicitly named. All debugging levels |
| 15 | ; listed above the selected value are enabled. |
| 16 | ; |
| 17 | ; Valid values: |
| 18 | ; |
| 19 | ; NONE ; no messages |
| 20 | ; ERROR ; error messages |
| 21 | ; WARN ; warning messages |
| 22 | ; INFO ; informational messages (default) |
| 23 | ; DEBUG ; debugging messages |
| 24 | ; TRACE ; trace messages (most verbose) |
| 25 | ; ALL ; all messages |
| 26 | |
| 27 | default_level INFO |
| 28 | |
| 29 | ; You may override default_level by assigning a logging level |
| 30 | ; to the desired module name. Module names can be found in two ways: |
| 31 | ; |
| 32 | ; Run: |
| 33 | ; nfd --modules |
Alexander Afanasyev | 469cbcd | 2014-05-08 01:25:11 -0700 | [diff] [blame] | 34 | ; |
Davide Pesavento | 59a0181 | 2019-02-09 19:14:02 -0500 | [diff] [blame] | 35 | ; Or look for NFD_LOG_INIT(<module name>) statements in source files. |
| 36 | ; Note that the "nfd." prefix can be omitted. |
Alexander Afanasyev | 469cbcd | 2014-05-08 01:25:11 -0700 | [diff] [blame] | 37 | ; |
| 38 | ; Example module-level settings: |
| 39 | ; |
| 40 | ; FibManager DEBUG |
| 41 | ; Forwarder INFO |
| 42 | } |
| 43 | |
Alexander Afanasyev | 3441206 | 2014-08-25 12:35:54 -0700 | [diff] [blame] | 44 | ; The tables section configures the CS, PIT, FIB, Strategy Choice, and Measurements |
| 45 | tables |
| 46 | { |
Alexander Afanasyev | 3441206 | 2014-08-25 12:35:54 -0700 | [diff] [blame] | 47 | ; ContentStore size limit in number of packets |
| 48 | ; default is 65536, about 500MB with 8KB packet size |
| 49 | cs_max_packets 65536 |
Alexander Afanasyev | 3a90289 | 2015-12-30 22:42:20 +0000 | [diff] [blame] | 50 | |
Davide Pesavento | 59a0181 | 2019-02-09 19:14:02 -0500 | [diff] [blame] | 51 | ; Set the CS replacement policy. |
| 52 | ; Available policies are: priority_fifo, lru |
| 53 | cs_policy lru |
| 54 | |
| 55 | ; Set a policy to decide whether to cache or drop unsolicited Data. |
| 56 | ; Available policies are: drop-all, admit-local, admit-network, admit-all |
| 57 | cs_unsolicited_policy drop-all |
| 58 | |
Alexander Afanasyev | 3a90289 | 2015-12-30 22:42:20 +0000 | [diff] [blame] | 59 | ; Set the forwarding strategy for the specified prefixes: |
| 60 | ; <prefix> <strategy> |
| 61 | strategy_choice |
| 62 | { |
| 63 | / /localhost/nfd/strategy/best-route |
| 64 | /localhost /localhost/nfd/strategy/multicast |
| 65 | /localhost/nfd /localhost/nfd/strategy/best-route |
| 66 | /ndn/broadcast /localhost/nfd/strategy/multicast |
| 67 | } |
| 68 | |
| 69 | ; Declare network region names |
| 70 | ; These are used for mobility support. An Interest carrying a Link object is |
| 71 | ; assumed to have reached the producer region if any delegation name in the |
| 72 | ; Link object is a prefix of any region name. |
| 73 | network_region |
| 74 | { |
| 75 | ; /example/region1 |
| 76 | ; /example/region2 |
| 77 | } |
Alexander Afanasyev | 3441206 | 2014-08-25 12:35:54 -0700 | [diff] [blame] | 78 | } |
| 79 | |
Alexander Afanasyev | 469cbcd | 2014-05-08 01:25:11 -0700 | [diff] [blame] | 80 | ; The face_system section defines what faces and channels are created. |
| 81 | face_system |
| 82 | { |
Davide Pesavento | 59a0181 | 2019-02-09 19:14:02 -0500 | [diff] [blame] | 83 | ; This section contains options that apply to multiple face protocols. |
| 84 | general |
| 85 | { |
| 86 | ; Set to 'no' to disable congestion marking on supported faces, default 'yes' |
| 87 | enable_congestion_marking yes |
| 88 | } |
| 89 | |
| 90 | ; The unix section contains settings for Unix stream faces and channels. |
| 91 | ; A Unix channel is always listening; delete the unix section to disable |
Alexander Afanasyev | 3a90289 | 2015-12-30 22:42:20 +0000 | [diff] [blame] | 92 | ; Unix stream faces and channels. |
Alexander Afanasyev | 469cbcd | 2014-05-08 01:25:11 -0700 | [diff] [blame] | 93 | unix |
| 94 | { |
Junxiao Shi | 66337bb | 2024-02-01 15:01:45 +0000 | [diff] [blame] | 95 | ; The default transport is 'unix:///run/nfd/nfd.sock' (on Linux) or 'unix:///var/run/nfd/nfd.sock' (on |
| 96 | ; other platforms). This should match the 'transport' field in client.conf for ndn-cxx. If you wish |
| 97 | ; to use TCP instead of Unix sockets with ndn-cxx, change 'transport' to an appropriate TCP FaceUri. |
| 98 | path /run/nfd/nfd.sock ; Unix stream listener path |
Alexander Afanasyev | 469cbcd | 2014-05-08 01:25:11 -0700 | [diff] [blame] | 99 | } |
| 100 | |
Davide Pesavento | 59a0181 | 2019-02-09 19:14:02 -0500 | [diff] [blame] | 101 | ; The tcp section contains settings for TCP faces and channels. |
Alexander Afanasyev | 469cbcd | 2014-05-08 01:25:11 -0700 | [diff] [blame] | 102 | tcp |
| 103 | { |
| 104 | listen yes ; set to 'no' to disable TCP listener, default 'yes' |
| 105 | port 6363 ; TCP listener port number |
| 106 | enable_v4 yes ; set to 'no' to disable IPv4 channels, default 'yes' |
| 107 | enable_v6 yes ; set to 'no' to disable IPv6 channels, default 'yes' |
Davide Pesavento | 59a0181 | 2019-02-09 19:14:02 -0500 | [diff] [blame] | 108 | |
| 109 | ; A TCP face has local scope if the local and remote IP addresses match the whitelist but not the blacklist |
| 110 | local |
| 111 | { |
| 112 | whitelist |
| 113 | { |
| 114 | subnet 127.0.0.0/8 |
| 115 | subnet ::1/128 |
| 116 | } |
| 117 | blacklist |
| 118 | { |
| 119 | } |
| 120 | } |
Alexander Afanasyev | 469cbcd | 2014-05-08 01:25:11 -0700 | [diff] [blame] | 121 | } |
| 122 | |
Davide Pesavento | 59a0181 | 2019-02-09 19:14:02 -0500 | [diff] [blame] | 123 | ; The udp section contains settings for UDP faces and channels. |
Alexander Afanasyev | 469cbcd | 2014-05-08 01:25:11 -0700 | [diff] [blame] | 124 | udp |
| 125 | { |
Davide Pesavento | 59a0181 | 2019-02-09 19:14:02 -0500 | [diff] [blame] | 126 | ; UDP unicast settings. |
| 127 | listen yes ; set to 'no' to disable UDP listener, default 'yes' |
| 128 | port 6363 ; UDP listener port number |
Alexander Afanasyev | 469cbcd | 2014-05-08 01:25:11 -0700 | [diff] [blame] | 129 | enable_v4 yes ; set to 'no' to disable IPv4 channels, default 'yes' |
| 130 | enable_v6 yes ; set to 'no' to disable IPv6 channels, default 'yes' |
Alexander Afanasyev | 3a90289 | 2015-12-30 22:42:20 +0000 | [diff] [blame] | 131 | |
Davide Pesavento | 59a0181 | 2019-02-09 19:14:02 -0500 | [diff] [blame] | 132 | ; Time (in seconds) before closing an idle UDP unicast face. |
| 133 | ; The actual timeout will occur anytime between idle_timeout and 2*idle_timeout. |
| 134 | ; The default is 600 (10 minutes). |
Alexander Afanasyev | 3a90289 | 2015-12-30 22:42:20 +0000 | [diff] [blame] | 135 | idle_timeout 600 |
| 136 | |
Davide Pesavento | 59a0181 | 2019-02-09 19:14:02 -0500 | [diff] [blame] | 137 | ; UDP multicast settings. |
| 138 | ; By default, NFD creates one UDP multicast face per NIC. |
Alexander Afanasyev | 469cbcd | 2014-05-08 01:25:11 -0700 | [diff] [blame] | 139 | mcast yes ; set to 'no' to disable UDP multicast, default 'yes' |
Davide Pesavento | 59a0181 | 2019-02-09 19:14:02 -0500 | [diff] [blame] | 140 | mcast_group 224.0.23.170 ; UDP multicast group (IPv4) |
| 141 | mcast_port 56363 ; UDP multicast port number (IPv4) |
| 142 | mcast_group_v6 ff02::1234 ; UDP multicast group (IPv6) |
| 143 | mcast_port_v6 56363 ; UDP multicast port number (IPv6) |
| 144 | mcast_ad_hoc no ; set to 'yes' to make all UDP multicast faces "ad hoc", default 'no' |
| 145 | |
| 146 | ; Whitelist and blacklist can contain, in no particular order: |
| 147 | ; - interface names, including wildcard patterns (e.g., 'ifname eth0', 'ifname en*', 'ifname wlp?s0') |
| 148 | ; - MAC addresses (e.g., 'ether 85:3b:4d:d3:5f:c2') |
| 149 | ; - IPv4 subnets (e.g., 'subnet 192.0.2.0/24') |
| 150 | ; - IPv6 subnets (e.g., 'subnet 2001:db8::/32') |
| 151 | ; - a single asterisk ('*') that matches all interfaces |
| 152 | ; By default, all interfaces are whitelisted. |
| 153 | whitelist |
| 154 | { |
| 155 | * |
| 156 | } |
| 157 | blacklist |
| 158 | { |
| 159 | } |
Alexander Afanasyev | 469cbcd | 2014-05-08 01:25:11 -0700 | [diff] [blame] | 160 | } |
| 161 | |
Davide Pesavento | 59a0181 | 2019-02-09 19:14:02 -0500 | [diff] [blame] | 162 | ; The ether section contains settings for Ethernet faces and channels. |
Alexander Afanasyev | 469cbcd | 2014-05-08 01:25:11 -0700 | [diff] [blame] | 163 | ether |
| 164 | { |
Davide Pesavento | 59a0181 | 2019-02-09 19:14:02 -0500 | [diff] [blame] | 165 | ; Ethernet unicast settings. |
| 166 | listen yes ; set to 'no' to disable Ethernet listener, default 'yes' |
Alexander Afanasyev | 3a90289 | 2015-12-30 22:42:20 +0000 | [diff] [blame] | 167 | |
Davide Pesavento | 59a0181 | 2019-02-09 19:14:02 -0500 | [diff] [blame] | 168 | ; Time (in seconds) before closing an idle Ethernet unicast face. |
| 169 | ; The actual timeout will occur anytime between idle_timeout and 2*idle_timeout. |
| 170 | ; The default is 600 (10 minutes). |
| 171 | idle_timeout 600 |
| 172 | |
| 173 | ; Ethernet multicast settings. |
| 174 | ; By default, NFD creates one Ethernet multicast face per NIC. |
Alexander Afanasyev | 469cbcd | 2014-05-08 01:25:11 -0700 | [diff] [blame] | 175 | mcast yes ; set to 'no' to disable Ethernet multicast, default 'yes' |
| 176 | mcast_group 01:00:5E:00:17:AA ; Ethernet multicast group |
Davide Pesavento | 59a0181 | 2019-02-09 19:14:02 -0500 | [diff] [blame] | 177 | mcast_ad_hoc no ; set to 'yes' to make all Ethernet multicast faces "ad hoc", default 'no' |
| 178 | |
| 179 | ; Whitelist and blacklist can contain, in no particular order: |
| 180 | ; - interface names, including wildcard patterns (e.g., 'ifname eth0', 'ifname en*', 'ifname wlp?s0') |
| 181 | ; - MAC addresses (e.g., 'ether 85:3b:4d:d3:5f:c2') |
| 182 | ; - IPv4 subnets (e.g., 'subnet 192.0.2.0/24') |
| 183 | ; - IPv6 subnets (e.g., 'subnet 2001:db8::/32') |
| 184 | ; - a single asterisk ('*') that matches all interfaces |
| 185 | ; By default, all interfaces are whitelisted. |
| 186 | whitelist |
| 187 | { |
| 188 | * |
| 189 | } |
| 190 | blacklist |
| 191 | { |
| 192 | } |
Alexander Afanasyev | 469cbcd | 2014-05-08 01:25:11 -0700 | [diff] [blame] | 193 | } |
Alexander Afanasyev | 3a90289 | 2015-12-30 22:42:20 +0000 | [diff] [blame] | 194 | |
Davide Pesavento | 59a0181 | 2019-02-09 19:14:02 -0500 | [diff] [blame] | 195 | ; The websocket section contains settings for WebSocket faces and channels. |
Alexander Afanasyev | 3a90289 | 2015-12-30 22:42:20 +0000 | [diff] [blame] | 196 | websocket |
| 197 | { |
| 198 | listen yes ; set to 'no' to disable WebSocket listener, default 'yes' |
| 199 | port 9696 ; WebSocket listener port number |
| 200 | enable_v4 yes ; set to 'no' to disable listening on IPv4 socket, default 'yes' |
| 201 | enable_v6 yes ; set to 'no' to disable listening on IPv6 socket, default 'yes' |
| 202 | } |
Alexander Afanasyev | 469cbcd | 2014-05-08 01:25:11 -0700 | [diff] [blame] | 203 | } |
| 204 | |
Alexander Afanasyev | 3a90289 | 2015-12-30 22:42:20 +0000 | [diff] [blame] | 205 | ; The authorizations section grants privileges to authorized keys. |
Alexander Afanasyev | 469cbcd | 2014-05-08 01:25:11 -0700 | [diff] [blame] | 206 | authorizations |
| 207 | { |
Alexander Afanasyev | 3a90289 | 2015-12-30 22:42:20 +0000 | [diff] [blame] | 208 | ; An authorize section grants privileges to a NDN certificate. |
Alexander Afanasyev | 469cbcd | 2014-05-08 01:25:11 -0700 | [diff] [blame] | 209 | authorize |
| 210 | { |
Alexander Afanasyev | 790bb21 | 2015-03-15 19:19:25 -0700 | [diff] [blame] | 211 | certfile certs/localhost_daemons_nfd.ndncert |
Alexander Afanasyev | 469cbcd | 2014-05-08 01:25:11 -0700 | [diff] [blame] | 212 | privileges |
| 213 | { |
Davide Pesavento | 59a0181 | 2019-02-09 19:14:02 -0500 | [diff] [blame] | 214 | faces |
| 215 | fib |
| 216 | cs |
| 217 | strategy-choice |
Alexander Afanasyev | 469cbcd | 2014-05-08 01:25:11 -0700 | [diff] [blame] | 218 | } |
| 219 | } |
| 220 | |
| 221 | authorize |
| 222 | { |
Davide Pesavento | 59a0181 | 2019-02-09 19:14:02 -0500 | [diff] [blame] | 223 | certfile any ; "any" authorizes command interests signed under any certificate, |
| 224 | ; i.e., no actual validation. |
Alexander Afanasyev | 469cbcd | 2014-05-08 01:25:11 -0700 | [diff] [blame] | 225 | privileges |
| 226 | { |
Davide Pesavento | 59a0181 | 2019-02-09 19:14:02 -0500 | [diff] [blame] | 227 | faces |
| 228 | cs |
| 229 | strategy-choice |
Alexander Afanasyev | 469cbcd | 2014-05-08 01:25:11 -0700 | [diff] [blame] | 230 | } |
| 231 | } |
Alexander Afanasyev | 3a90289 | 2015-12-30 22:42:20 +0000 | [diff] [blame] | 232 | |
| 233 | ; You may have multiple authorize sections that specify additional |
| 234 | ; certificates and their privileges. |
| 235 | |
| 236 | ; authorize |
| 237 | ; { |
| 238 | ; certfile keys/this_cert_does_not_exist.ndncert |
| 239 | ; authorize |
| 240 | ; privileges |
| 241 | ; { |
| 242 | ; faces |
| 243 | ; } |
| 244 | ; } |
Alexander Afanasyev | 469cbcd | 2014-05-08 01:25:11 -0700 | [diff] [blame] | 245 | } |
| 246 | |
| 247 | rib |
| 248 | { |
| 249 | ; The following localhost_security allows anyone to register routing entries in local RIB |
| 250 | localhost_security |
| 251 | { |
| 252 | trust-anchor |
| 253 | { |
| 254 | type any |
| 255 | } |
| 256 | } |
| 257 | |
| 258 | ; localhop_security should be enabled when NFD runs on a hub. |
| 259 | ; "/localhop/nfd/fib" command prefix will be disabled when localhop_security section is missing. |
| 260 | ; localhop_security |
| 261 | ; { |
| 262 | ; ; This section defines the trust model for NFD RIB Management. It consists of rules and |
| 263 | ; ; trust-anchors, which are briefly defined in this file. For more information refer to |
Davide Pesavento | 59a0181 | 2019-02-09 19:14:02 -0500 | [diff] [blame] | 264 | ; ; validator configuration file format documentation: |
Alexander Afanasyev | 469cbcd | 2014-05-08 01:25:11 -0700 | [diff] [blame] | 265 | ; ; |
Davide Pesavento | 59a0181 | 2019-02-09 19:14:02 -0500 | [diff] [blame] | 266 | ; ; https://named-data.net/doc/ndn-cxx/current/tutorials/security-validator-config.html |
Alexander Afanasyev | 469cbcd | 2014-05-08 01:25:11 -0700 | [diff] [blame] | 267 | ; ; |
| 268 | ; ; A trust-anchor is a pre-trusted certificate. This can be any certificate that is the |
| 269 | ; ; root of certification chain (e.g., NDN testbed root certificate) or an existing |
| 270 | ; ; default system certificate `default.ndncert`. |
| 271 | ; ; |
| 272 | ; ; A rule defines conditions a valid packet MUST have. A packet must satisfy one of the |
| 273 | ; ; rules defined here. A rule can be broken into two parts: matching & checking. A packet |
| 274 | ; ; will be matched against rules from the first to the last until a matched rule is |
| 275 | ; ; encountered. The matched rule will be used to check the packet. If a packet does not |
| 276 | ; ; match any rule, it will be treated as invalid. The matching part of a rule consists |
| 277 | ; ; of `for` and `filter` sections. They collectively define which packets can be checked |
| 278 | ; ; with this rule. `for` defines packet type (data or interest) and `filter` defines |
| 279 | ; ; conditions on other properties of a packet. Right now, you can only define conditions |
| 280 | ; ; on packet name, and you can only specify ONLY ONE filter for packet name. The |
| 281 | ; ; checking part of a rule consists of `checker`, which defines the conditions that a |
| 282 | ; ; VALID packet MUST have. See comments in checker section for more details. |
| 283 | ; |
| 284 | ; rule |
| 285 | ; { |
Davide Pesavento | 59a0181 | 2019-02-09 19:14:02 -0500 | [diff] [blame] | 286 | ; id "RIB Registration Command Rule" |
Alexander Afanasyev | 469cbcd | 2014-05-08 01:25:11 -0700 | [diff] [blame] | 287 | ; for interest ; rule for Interests (to validate CommandInterests) |
| 288 | ; filter |
| 289 | ; { |
Davide Pesavento | 59a0181 | 2019-02-09 19:14:02 -0500 | [diff] [blame] | 290 | ; type name ; condition on interest name (w/o SignatureInfo/SignatureValue) |
| 291 | ; regex ^[<localhop><localhost>]<nfd><rib>[<register><unregister>]<><><>$ |
Alexander Afanasyev | 469cbcd | 2014-05-08 01:25:11 -0700 | [diff] [blame] | 292 | ; } |
| 293 | ; checker |
| 294 | ; { |
| 295 | ; type customized |
| 296 | ; sig-type rsa-sha256 ; interest must have a rsa-sha256 signature |
| 297 | ; key-locator |
| 298 | ; { |
| 299 | ; type name ; key locator must be the certificate name of the |
| 300 | ; ; signing key |
Davide Pesavento | 59a0181 | 2019-02-09 19:14:02 -0500 | [diff] [blame] | 301 | ; regex ^<>*<KEY><>$ |
Alexander Afanasyev | 469cbcd | 2014-05-08 01:25:11 -0700 | [diff] [blame] | 302 | ; } |
| 303 | ; } |
| 304 | ; } |
| 305 | ; rule |
| 306 | ; { |
| 307 | ; id "NDN Testbed Hierarchy Rule" |
| 308 | ; for data ; rule for Data (to validate NDN certificates) |
| 309 | ; filter |
| 310 | ; { |
| 311 | ; type name ; condition on data name |
Davide Pesavento | 59a0181 | 2019-02-09 19:14:02 -0500 | [diff] [blame] | 312 | ; regex ^<>*<KEY><><><>$ |
Alexander Afanasyev | 469cbcd | 2014-05-08 01:25:11 -0700 | [diff] [blame] | 313 | ; } |
| 314 | ; checker |
| 315 | ; { |
| 316 | ; type hierarchical ; the certificate name of the signing key and |
| 317 | ; ; the data name must follow the hierarchical model |
| 318 | ; sig-type rsa-sha256 ; data must have a rsa-sha256 signature |
| 319 | ; } |
| 320 | ; } |
| 321 | ; trust-anchor |
| 322 | ; { |
| 323 | ; type file |
| 324 | ; file-name keys/default.ndncert ; the file name, by default this file should be placed in the |
| 325 | ; ; same folder as this config file. |
| 326 | ; } |
| 327 | ; ; trust-anchor ; Can be repeated multiple times to specify multiple trust anchors |
| 328 | ; ; { |
| 329 | ; ; type file |
| 330 | ; ; file-name keys/ndn-testbed.ndncert |
| 331 | ; ; } |
| 332 | ; } |
Alexander Afanasyev | 3a90289 | 2015-12-30 22:42:20 +0000 | [diff] [blame] | 333 | |
Alexander Afanasyev | cc5661e | 2015-01-28 11:52:10 -0800 | [diff] [blame] | 334 | ; The following localhop_security should be enabled when NFD runs on a hub, |
| 335 | ; which accepts all remote registrations and is a short-term solution. |
| 336 | ; localhop_security |
| 337 | ; { |
| 338 | ; trust-anchor |
| 339 | ; { |
| 340 | ; type any |
| 341 | ; } |
| 342 | ; } |
| 343 | |
Alexander Afanasyev | 3a90289 | 2015-12-30 22:42:20 +0000 | [diff] [blame] | 344 | auto_prefix_propagate |
Alexander Afanasyev | cc5661e | 2015-01-28 11:52:10 -0800 | [diff] [blame] | 345 | { |
| 346 | cost 15 ; forwarding cost of prefix registered on remote router |
Alexander Afanasyev | 3a90289 | 2015-12-30 22:42:20 +0000 | [diff] [blame] | 347 | timeout 10000 ; timeout (in milliseconds) of prefix registration command for propagation |
Alexander Afanasyev | cc5661e | 2015-01-28 11:52:10 -0800 | [diff] [blame] | 348 | |
Alexander Afanasyev | 3a90289 | 2015-12-30 22:42:20 +0000 | [diff] [blame] | 349 | refresh_interval 300 ; interval (in seconds) before refreshing the propagation |
Alexander Afanasyev | cc5661e | 2015-01-28 11:52:10 -0800 | [diff] [blame] | 350 | ; This setting should be less than face_system.udp.idle_time, |
| 351 | ; so that the face is kept alive on the remote router. |
Alexander Afanasyev | 3a90289 | 2015-12-30 22:42:20 +0000 | [diff] [blame] | 352 | |
| 353 | base_retry_wait 50 ; base wait time (in seconds) before retrying propagation |
| 354 | max_retry_wait 3600 ; maximum wait time (in seconds) before retrying propagation |
| 355 | ; for consequent retries, the wait time before each retry is calculated based on the back-off |
| 356 | ; policy. Initially, the wait time is set to base_retry_wait, then it will be doubled for every |
| 357 | ; retry unless beyond the max_retry_wait, in which case max_retry_wait is set as the wait time. |
Alexander Afanasyev | cc5661e | 2015-01-28 11:52:10 -0800 | [diff] [blame] | 358 | } |
Davide Pesavento | 59a0181 | 2019-02-09 19:14:02 -0500 | [diff] [blame] | 359 | |
| 360 | ; If enabled, routes registered with origin=client (typically from auto_prefix_propagate) |
| 361 | ; will be readvertised into local NLSR daemon. |
| 362 | readvertise_nlsr no |
Alexander Afanasyev | 469cbcd | 2014-05-08 01:25:11 -0700 | [diff] [blame] | 363 | } |