idnits 2.17.1 draft-ietf-manet-nhdp-olsrv2-tlv-extension-04.txt: Checking boilerplate required by RFC 5378 and the IETF Trust (see https://trustee.ietf.org/license-info): ---------------------------------------------------------------------------- No issues found here. Checking nits according to https://www.ietf.org/id-info/1id-guidelines.txt: ---------------------------------------------------------------------------- No issues found here. Checking nits according to https://www.ietf.org/id-info/checklist : ---------------------------------------------------------------------------- == The 'Updates: ' line in the draft header should list only the _numbers_ of the RFCs which will be updated by this document (if approved); it should not include the word 'RFC' in the list. Miscellaneous warnings: ---------------------------------------------------------------------------- == The copyright year in the IETF Trust and authors Copyright Line does not match the current year -- The document date (March 4, 2014) is 3705 days in the past. Is this intentional? Checking references for intended status: Proposed Standard ---------------------------------------------------------------------------- (See RFCs 3967 and 4897 for information about using normative references to lower-maturity documents in RFCs) -- Obsolete informational reference (is this intentional?): RFC 5226 (Obsoleted by RFC 8126) Summary: 0 errors (**), 0 flaws (~~), 2 warnings (==), 2 comments (--). Run idnits with the --verbose option for more detailed information about the items above. -------------------------------------------------------------------------------- 2 Mobile Ad hoc Networking (MANET) C. Dearlove 3 Internet-Draft BAE Systems ATC 4 Updates: RFC6130, OLSRv2 T. Clausen 5 (if approved) LIX, Ecole Polytechnique 6 Intended status: Standards Track March 4, 2014 7 Expires: September 5, 2014 9 Optimized Link State Routing Protocol version 2 (OLSRv2) and MANET 10 Neighborhood Discovery Protocol (NHDP) Extension TLVs 11 draft-ietf-manet-nhdp-olsrv2-tlv-extension-04 13 Abstract 15 This specification describes extensions to definitions of TLVs used 16 by the Optimized Link State Routing Protocol version 2 (OLSRv2) and 17 the MANET Neighborhood Discovery Protocol (NHDP), to increase their 18 abilities to accommodate protocol extensions. This document updates 19 OLSRv2 and RFC6130. 21 Status of this Memo 23 This Internet-Draft is submitted in full conformance with the 24 provisions of BCP 78 and BCP 79. 26 Internet-Drafts are working documents of the Internet Engineering 27 Task Force (IETF). Note that other groups may also distribute 28 working documents as Internet-Drafts. The list of current Internet- 29 Drafts is at http://datatracker.ietf.org/drafts/current/. 31 Internet-Drafts are draft documents valid for a maximum of six months 32 and may be updated, replaced, or obsoleted by other documents at any 33 time. It is inappropriate to use Internet-Drafts as reference 34 material or to cite them other than as "work in progress." 36 This Internet-Draft will expire on September 5, 2014. 38 Copyright Notice 40 Copyright (c) 2014 IETF Trust and the persons identified as the 41 document authors. All rights reserved. 43 This document is subject to BCP 78 and the IETF Trust's Legal 44 Provisions Relating to IETF Documents 45 (http://trustee.ietf.org/license-info) in effect on the date of 46 publication of this document. Please review these documents 47 carefully, as they describe your rights and restrictions with respect 48 to this document. Code Components extracted from this document must 49 include Simplified BSD License text as described in Section 4.e of 50 the Trust Legal Provisions and are provided without warranty as 51 described in the Simplified BSD License. 53 Table of Contents 55 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . 3 56 2. Terminology . . . . . . . . . . . . . . . . . . . . . . . . . 3 57 3. Applicability Statement . . . . . . . . . . . . . . . . . . . 3 58 4. TLV Values . . . . . . . . . . . . . . . . . . . . . . . . . . 4 59 4.1. Unrecognized TLV Values . . . . . . . . . . . . . . . . . 4 60 4.2. TLV Value Lengths . . . . . . . . . . . . . . . . . . . . 5 61 4.3. Undefined TLV Values . . . . . . . . . . . . . . . . . . . 5 62 4.3.1. NHDP TLVs: LOCAL_IF, LINK_STATUS and OTHER_NEIGHB . . 6 63 4.3.2. OLSRv2 TLVs: MPR and NBR_ADDR_TYPE . . . . . . . . . . 6 64 4.3.3. Unspecified TLV Values . . . . . . . . . . . . . . . . 6 65 5. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 7 66 5.1. LOCAL_IF Address Block TLVs . . . . . . . . . . . . . . . 7 67 5.1.1. Create New Registry . . . . . . . . . . . . . . . . . 7 68 5.1.2. Modification to Existing Registry . . . . . . . . . . 8 69 5.2. LINK_STATUS Address Block TLVs . . . . . . . . . . . . . . 9 70 5.2.1. Create New Registry . . . . . . . . . . . . . . . . . 9 71 5.2.2. Modification to Existing Registry . . . . . . . . . . 10 72 5.3. OTHER_NEIGHB Address Block TLVs . . . . . . . . . . . . . 11 73 5.3.1. Create New Registry . . . . . . . . . . . . . . . . . 11 74 5.3.2. Modification to Existing Registry . . . . . . . . . . 12 75 5.4. MPR Address Block TLVs . . . . . . . . . . . . . . . . . . 12 76 5.4.1. Create New Registry . . . . . . . . . . . . . . . . . 12 77 5.4.2. Modification to Existing Registry . . . . . . . . . . 13 78 5.5. NBR_ADDR_TYPE Address Block TLVs . . . . . . . . . . . . . 14 79 5.5.1. Create New Registry . . . . . . . . . . . . . . . . . 14 80 5.5.2. Modification to Existing Registry . . . . . . . . . . 15 81 6. Security Considerations . . . . . . . . . . . . . . . . . . . 15 82 7. Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . 16 83 8. References . . . . . . . . . . . . . . . . . . . . . . . . . . 16 84 8.1. Normative References . . . . . . . . . . . . . . . . . . . 16 85 8.2. Informative References . . . . . . . . . . . . . . . . . . 16 86 Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . . 17 88 1. Introduction 90 The MANET Neighborhood Discovery Protocol (NHDP) [RFC6130] and the 91 Optimized Link State Routing Protocol, version 2 (OLSRv2) [OLSRv2] 92 are protocols for use in mobile ad hoc networks (MANETs) [RFC2501], 93 based on the Generalized Mobile Ad Hoc Network (MANET) Packet/Message 94 Format [RFC5444]. 96 This document updates [RFC6130] and [OLSRv2], specifically their use 97 of TLV (Type-Length-Value) elements, to increase the extensibility of 98 these protocols, and to enable some improvements in their 99 implementation. 101 This specification reduces the latitude of implementations of 102 [OLSRv2] and [RFC6130] to consider some messages, which will not be 103 created by implementations simply following those specifications, as 104 a reason to consider the message as "badly formed", and thus as a 105 reason to reject the message. This gives greater latitude to the 106 creation of extensions of these protocols, in particular extensions 107 that will interoperate with unextended implementations of those 108 protocols. As part of that, it indicates how TLVs (Type-Length-Value 109 elements) [RFC5444] with unexpected value fields must be handled, and 110 adds some additional options to those TLVs. 112 Note that TLVs with unknown type or type extension are already 113 specified as to be ignored by [RFC6130] and [OLSRv2], and also are 114 not a reason to reject a message. 116 2. Terminology 118 The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", 119 "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and 120 "OPTIONAL" in this document are to be interpreted as described in 121 [RFC2119]. 123 Additionally, this document uses the terminology of [RFC5444], 124 [RFC6130], and [OLSRv2]. 126 3. Applicability Statement 128 This document updates the specification of the protocols [OLSRv2] and 129 [RFC6130]. 131 Specifically, this specification updates [RFC6130] and [OLSRv2] in 132 the following way: 134 o Removes the latitude of rejecting a message with a TLV with a 135 known type, but with an unexpected TLV Value field, for the TLV 136 Types defined in [RFC6130] and [OLSRv2]. 138 o Specifies the handling of a TLV Value field with unexpected 139 length. 141 o Sets up IANA registries for TLV Values for the Address Block TLVs: 143 * LOCAL_IF, defined in [RFC6130]. 145 * LINK_STATUS, defined in [RFC6130]. 147 * OTHER_NEIGHB, defined in [RFC6130]. 149 * MPR, defined in [OLSRv2], now considered as a bit field. 151 * NBR_ADDR_TYPE, defined in [OLSRv2], now considered as a bit 152 field. 154 o Defines a well-known TLV Value for "UNSPECIFIED" for the Address 155 Block TLV Types LOCAL_IF, LINK_STATUS, and OTHER_NEIGHB, all 156 defined in [RFC6130]. 158 4. TLV Values 160 NHDP [RFC6130] and OLSRv2 [OLSRv2] define a number of TLVs within the 161 framework of [RFC5444]. These TLVs define the meaning of only some 162 of the contents that can be found in a TLV Value field. This 163 limitation may be either only defining certain TLV Values, or 164 considering only some lengths of the TLV Value fields (or single 165 value field in a multi value Address-Block TLV). This specification 166 describes how NHDP [RFC6130] and OLSRv2 [OLSRv2] are to handle TLVs 167 with other TLV Value fields. 169 4.1. Unrecognized TLV Values 171 NHDP and OLSRv2 specify that, in addition to well-defined reasons (in 172 the respective protocol specifications), an implementation of these 173 protocols MAY recognize a message as "badly formed" and therefore 174 "invalid for processing" for other reasons (Section 12.1 of [RFC6130] 175 and Section 16.3.1 of [OLSRv2]). These sections could be interpreted 176 as allowing rejection of a message because a TLV Value field is 177 unrecognized. This specification removes that latitude: 179 o An implementation MUST NOT reject a message because it contains an 180 unrecognized TLV value. Instead, any unrecognised TLV Value field 181 MUST be processed or ignored by an unextended implementation of 182 NHDP or OLSRv2, as described in the following sections. 184 It should be stressed that this is not a change to [RFC6130] or 185 [OLSRv2], except with regard to not allowing this to be a reason for 186 rejection of a message. [RFC6130] or [OLSRv2] are specified in terms 187 such as "if an address is associated with a value of LOST by a 188 LINK_STATUS TLV". Association with an unrecognized value has no 189 effect on any implementation strictly following such a specification. 191 4.2. TLV Value Lengths 193 The TLVs specified in [RFC6130] and [OLSRv2] may be either single- 194 value or multi-value TLVs. In either case, the length of each item 195 of information encoded in the TLV Value field is the "single-length", 196 defined and calculated as in section 5.4.1 in [RFC5444]. All TLVs 197 specified in [RFC6130] and [OLSRv2] have a one or two octet single- 198 length. These are considered the expected single-lengths of such a 199 received TLV. 201 Other single-length TLV Value fields may be introduced by extensions 202 to [RFC6130] and [OLSRv2]. This document specifies how 203 implementations of [RFC6130] and [OLSRv2], or extensions thereof, 204 MUST behave on receiving TLVs of the TLV types defined in [RFC6130] 205 and [OLSRv2], but with TLV Value fields with other single-length 206 values. 208 The following principles apply: 210 o If the received single-length is greater than the expected single- 211 length, then the excess octets MUST be ignored. 213 o If the received single-length is less than the expected single- 214 length, then the absent octets MUST considered to have all bits 215 cleared (0). 217 Exceptions: 219 o A received CONT_SEQ_NUM with a single-length < 2 SHOULD be 220 considered an error. 222 4.3. Undefined TLV Values 224 [RFC6130] and [OLSRv2] define a number of TLVs, but for some of these 225 TLVs specify meanings for only some TLV Values. This document 226 establishes IANA registries for these TLV Values, with initial 227 registrations reflecting those used by [RFC6130] and [OLSRv2], and as 228 specified in Section 4.3.3. 230 There are different cases of TLV Values with different 231 characteristics. These cases are considered in this section. 233 4.3.1. NHDP TLVs: LOCAL_IF, LINK_STATUS and OTHER_NEIGHB 235 For the Address-Block TLVs LOCAL_IF, LINK_STATUS and OTHER_NEIGHB 236 TLVs, defined in [RFC6130], only a limited number of values are 237 specified for each. These are converted, by this specification, into 238 extensible registries with initial registrations for values defined 239 and used by [RFC6130] - see Section 5. 241 An implementation of [RFC6130], receiving a LOCAL_IF, LINK_STATUS, or 242 OTHER_NEIGHB TLV with any TLV Value other than the values which are 243 defined in [RFC6130] MUST ignore that TLV Value, as well as any 244 corresponding attribute association to the address. 246 4.3.2. OLSRv2 TLVs: MPR and NBR_ADDR_TYPE 248 The Address-Block TLVs MPR and NBR_ADDR_TYPE, defined in [OLSRv2], 249 are similar to those defined in [RFC6130] in having only limited 250 values specified (1, 2 and 3): 1 and 2, represent presence of two 251 different attributes associated to an address, and 3 represents "both 252 1 and 2". 254 These TLV Value fields, are by this specification, converted to bit 255 fields, and MUST be interpreted as such. As the existing definitions 256 of values 1, 2, and 3 behave in that manner, it is likely that this 257 will involve no change to an implementation, but any test of (for 258 example) Value = 1 or Value = 3 MUST be converted to a test of (for 259 example) Value bitand 1 = 1, where "bitand" denotes a bitwise and 260 operation. 262 This specification creates registries for recording reservations of 263 the individual bits in these bitfields, with initial registrations 264 for values defined and used by [OLSRv2] - see Section 5. 266 Other TLVs defined by [OLSRv2] are not affected by this 267 specification. 269 4.3.3. Unspecified TLV Values 271 The registries defined in Section 5 for the LOCAL_IF, LINK_STATUS and 272 OTHER_NEIGHB TLVs each include an additional TLV Value UNSPECIFIED. 273 This TLV Value represents a defined value that, like currently 274 undefined TLV Values, indicates that no information is associated 275 with this address, but will always have this meaning. Such a TLV 276 Value may be used to enable the creation of more efficient multivalue 277 Address Block TLVs, or to simplify an implementation. 279 The similar requirement for the MPR and NBR_ADDR_TYPES TLVs is 280 already satisfied by the TLV Value zero, provided that each bit in 281 the TLV Value is defined as set ('1') when indicating the presence of 282 an attribute, or clear ('0') when indicating the absence of an 283 attribute; this is therefore required for registrations from the 284 relevant registries, see Section 5. 286 For the LINK_METRIC TLV, this is already possible by clearing the 287 most significant bits (0 to 3) of the first octet of the TLV Value. 288 It is RECOMMENDED that in this case the remaining bits of the TLV 289 Value are either all clear ('0') or all set ('1'). 291 5. IANA Considerations 293 IANA is requested to take a total of ten actions as set out in the 294 following sections. 296 5.1. LOCAL_IF Address Block TLVs 298 5.1.1. Create New Registry 300 IANA maintains a registry called "Mobile Ad hoc NETwork (MANET) 301 Parameters". IANA is requested to create a new sub-registry called 302 "LOCAL_IF TLV Values". 304 IANA is requested to populate this registry as specified in Table 1. 306 +---------+-------------+------------------------------+------------+ 307 | Value | Name | Description | Reference | 308 +---------+-------------+------------------------------+------------+ 309 | 0 | THIS_IF | The network address is | [This.I-D] | 310 | | | associated with this local | | 311 | | | interface of the sending | | 312 | | | router | | 313 | 1 | OTHER_IF | The network address is | [This.I-D] | 314 | | | associated with another | | 315 | | | local interface of the | | 316 | | | sending router | | 317 | 2-223 | | Unallocated: Expert Review | | 318 | 224-254 | | Experimental Use | [This.I-D] | 319 | 255 | UNSPECIFIED | No information about this | [This.I-D] | 320 | | | network address is provided | | 321 +---------+-------------+------------------------------+------------+ 323 Table 1: LOCAL_IF TLV Values 325 New assignments are to be made by Expert Review [RFC5226]. 327 The Designated Experts are required to use the guidelines specified 328 in [RFC6130] and [OLSRv2]. IANA is not expected to record this fact 329 in the registry. 331 5.1.2. Modification to Existing Registry 333 IANA maintains a registry called "Mobile Ad hoc NETwork (MANET) 334 Parameters" with a sub-registry called "LOCAL_IF Address Block TLV 335 Type Extensions". This sub-registry currently has an entry for value 336 0. IANA is requested to replace the entry in the Description column 337 for this value with the text "The value is to be interpreted 338 according to the registry LOCAL_IF TLV Values". The resulting table 339 should look as specified in Table 2. 341 +-----------+-----------------------------------------+-------------+ 342 | Type | Description | Reference | 343 | Extension | | | 344 +-----------+-----------------------------------------+-------------+ 345 | 0 | The value is to be interpreted | [RFC6130] | 346 | | according to the registry LOCAL_IF TLV | [This.I-D] | 347 | | Values | | 348 | 1-255 | Unassigned | [This.I-D] | 349 +-----------+-----------------------------------------+-------------+ 351 Table 2: LOCAL_IF Address Block TLV Type Extensions Modifications 353 5.2. LINK_STATUS Address Block TLVs 355 5.2.1. Create New Registry 357 IANA maintains a registry called "Mobile Ad hoc NETwork (MANET) 358 Parameters". IANA is requested to create a new sub-registry called 359 "LINK_STATUS TLV Values". 361 IANA is requested to populate this registry as specified in Table 3. 363 +---------+-------------+------------------------------+------------+ 364 | Value | Name | Description | Reference | 365 +---------+-------------+------------------------------+------------+ 366 | 0 | LOST | The link on this interface | [This.I-D] | 367 | | | from the router with that | | 368 | | | network address has been | | 369 | | | lost | | 370 | 1 | SYMMETRIC | The link on this interface | [This.I-D] | 371 | | | from the router with that | | 372 | | | network address has the | | 373 | | | status of symmetric | | 374 | 2 | HEARD | The link on this interface | [This.I-D] | 375 | | | from the router with that | | 376 | | | network address has the | | 377 | | | status of heard | | 378 | 3-223 | | Unallocated: Expert Review | | 379 | 224-254 | | Experimental Use | [This.I-D] | 380 | 255 | UNSPECIFIED | No information about this | [This.I-D] | 381 | | | network address is provided | | 382 +---------+-------------+------------------------------+------------+ 384 Table 3: LINK_STATUS TLV Values 386 New assignments are to be made by Expert Review [RFC5226]. 388 The Designated Experts are required to use the guidelines specified 389 in [RFC6130] and [OLSRv2]. IANA is not expected to record this fact 390 in the registry. 392 5.2.2. Modification to Existing Registry 394 IANA maintains a registry called "Mobile Ad hoc NETwork (MANET) 395 Parameters" with a sub-registry called "LINK_STATUS Address Block TLV 396 Type Extensions". This sub-registry currently has an entry for value 397 0. IANA is requested to replace the entry in the Description column 398 for this value with the text "The value is to be interpreted 399 according to the registry LINK_STATUS TLV Values". The resulting 400 table should look as specified in Table 4. 402 +-----------+-----------------------------------------+-------------+ 403 | Type | Description | Reference | 404 | Extension | | | 405 +-----------+-----------------------------------------+-------------+ 406 | 0 | The value is to be interpreted | [RFC6130] | 407 | | according to the registry LINK_STATUS | [This.I-D] | 408 | | TLV Values | | 409 | 1-255 | Unassigned | [This.I-D] | 410 +-----------+-----------------------------------------+-------------+ 412 Table 4: LINK_STATUS Address Block TLV Type Extensions Modifications 414 5.3. OTHER_NEIGHB Address Block TLVs 416 5.3.1. Create New Registry 418 IANA maintains a registry called "Mobile Ad hoc NETwork (MANET) 419 Parameters". IANA is requested to create a new sub-registry called 420 "OTHER_NEIGHB TLV Values". 422 IANA is requested to populate this registry as specified in Table 5. 424 +---------+-------------+------------------------------+------------+ 425 | Value | Name | Description | Reference | 426 +---------+-------------+------------------------------+------------+ 427 | 0 | LOST | The neighbor relationship | [This.I-D] | 428 | | | with the router with that | | 429 | | | network address has been | | 430 | | | lost | | 431 | 1 | SYMMETRIC | The neighbor relationship | [This.I-D] | 432 | | | with the router with that | | 433 | | | network address is symmetric | | 434 | 2-223 | | Unallocated: Expert Review | | 435 | 224-254 | | Experimental Use | [This.I-D] | 436 | 255 | UNSPECIFIED | No information about this | [This.I-D] | 437 | | | network address is provided | | 438 +---------+-------------+------------------------------+------------+ 440 Table 5: OTHER_NEIGHB Address Block TLV Values 442 New assignments are to be made by Expert Review [RFC5226]. 444 The Designated Experts are required to use the guidelines specified 445 in [RFC6130] and [OLSRv2]. IANA is not expected to record this fact 446 in the registry. 448 5.3.2. Modification to Existing Registry 450 IANA maintains a registry called "Mobile Ad hoc NETwork (MANET) 451 Parameters" with a sub-registry called "OTHER_NEIGHB Address Block 452 TLV Type Extensions". This sub-registry currently has an entry for 453 value 0. IANA is requested to replace the entry in the Description 454 column for this value with the text "The value is to be interpreted 455 according to the registry OTHER_NEIGHB TLV Values". The resulting 456 table should look as specified in Table 6. 458 +-----------+-----------------------------------------+-------------+ 459 | Type | Description | Reference | 460 | Extension | | | 461 +-----------+-----------------------------------------+-------------+ 462 | 0 | The value is to be interpreted | [RFC6130] | 463 | | according to the registry OTHER_NEIGHB | [This.I-D] | 464 | | TLV Values | | 465 | 1-255 | Unassigned | [This.I-D] | 466 +-----------+-----------------------------------------+-------------+ 468 Table 6: OTHER_NEIGHB Address Block TLV Type Extensions Modifications 470 5.4. MPR Address Block TLVs 472 5.4.1. Create New Registry 474 IANA maintains a registry called "Mobile Ad hoc NETwork (MANET) 475 Parameters". IANA is requested to create a new sub-registry called 476 "MPR TLV Bit Values". 478 IANA is requested to populate this registry as specified in Table 7. 480 +-----+-------+----------+-----------------------------+------------+ 481 | Bit | Value | Name | Description | Reference | 482 +-----+-------+----------+-----------------------------+------------+ 483 | 7 | 0x01 | Flooding | The neighbor with that | [This.I-D] | 484 | | | | network address has been | | 485 | | | | selected as flooding MPR | | 486 | 6 | 0x02 | Routing | The neighbor with that | [This.I-D] | 487 | | | | network address has been | | 488 | | | | selected as routing MPR | | 489 | 0-5 | | | Unallocated: Expert Review | | 490 +-----+-------+----------+-----------------------------+------------+ 492 Table 7: MPR Address Block TLV Bit Values 494 New assignments are to be made by Expert Review [RFC5226]. 496 The Designated Experts are required to use the guidelines specified 497 in [RFC6130] and [OLSRv2]. Additionally, the Designated Experts are 498 required to ensure that the following sense is preserved: 500 o For each bit in the field, a set bit (1) means that the address 501 has the designated property, while an unset bit (0) means that no 502 information about the designated property is provided. In 503 particular, an unset bit must not be used to convey any specific 504 information about the designated property. IANA is not expected 505 to record these facts in the registry. 507 5.4.2. Modification to Existing Registry 509 IANA maintains a registry called "Mobile Ad hoc NETwork (MANET) 510 Parameters" with a sub-registry called "MPR Address Block TLV Type 511 Extensions". This sub-registry currently has an entry for value 0. 512 IANA is requested to replace the entry in the Description column for 513 this value with the text "The value is to be interpreted according to 514 the registry MPR TLV Bit Values". The resulting table should look as 515 specified in Table 8. 517 +-----------+-----------------------------------------+-------------+ 518 | Type | Description | Reference | 519 | Extension | | | 520 +-----------+-----------------------------------------+-------------+ 521 | 0 | The value is to be interpreted | [OLSRv2] | 522 | | according to the registry MPR TLV Bit | [This.I-D] | 523 | | Values | | 524 | 1-255 | Unassigned | [This.I-D] | 525 +-----------+-----------------------------------------+-------------+ 527 Table 8: MPR Address Block TLV Type Extensions Modifications 529 5.5. NBR_ADDR_TYPE Address Block TLVs 531 5.5.1. Create New Registry 533 IANA maintains a registry called "Mobile Ad hoc NETwork (MANET) 534 Parameters". IANA is requested to create a new sub-registry called 535 "NBR_ADDR_TYPE Address Block TLV Bit Values". 537 IANA is requested to populate this registry as specified in Table 9. 539 +-----+-------+------------+---------------------------+------------+ 540 | Bit | Value | Name | Description | Reference | 541 +-----+-------+------------+---------------------------+------------+ 542 | 7 | 0x01 | ORIGINATOR | The network address is an | [This.I-D] | 543 | | | | originator address | | 544 | | | | reachable via the | | 545 | | | | originating router | | 546 | 6 | 0x02 | ROUTABLE | The network address is a | [This.I-D] | 547 | | | | routable address | | 548 | | | | reachable via the | | 549 | | | | originating router | | 550 | 0-5 | | | Unallocated: Expert | | 551 | | | | Review | | 552 +-----+-------+------------+---------------------------+------------+ 554 Table 9: NBR_ADDR_TYPE Address Block TLV Bit Values 556 New assignments are to be made by Expert Review [RFC5226]. 558 The Designated Experts are required to use the guidelines specified 559 in [RFC6130] and [OLSRv2]. Additionally, the Designated Experts are 560 required to ensure that the following sense is preserved: 562 o For each bit in the field, a set bit (1) means that the address 563 has the designated property, while an unset bit (0) means that no 564 information about the designated property is provided. In 565 particular, an unset bit must not be used to convey any specific 566 information about the designated property. IANA is not expected 567 to record these facts in the registry. 569 5.5.2. Modification to Existing Registry 571 IANA maintains a registry called "Mobile Ad hoc NETwork (MANET) 572 Parameters" with a sub-registry called "NBR_ADDR_TYPE Address Block 573 TLV Type Extensions". This sub-registry currently has an entry for 574 value 0. IANA is requested to replace the entry in the Description 575 column for this value with the text "The value is to be interpreted 576 according to the registry NBR_ADDR_TYPE TLV Bit Values". The 577 resulting table should look as specified in Table 10. 579 +-----------+------------------------------------------+------------+ 580 | Type | Description | Reference | 581 | Extension | | | 582 +-----------+------------------------------------------+------------+ 583 | 0 | The value is to be interpreted according | [OLSRv2] | 584 | | to the registry NBR_ADDR_TYPE Address | [This.I-D] | 585 | | Block TLV Bit Values | | 586 | 1-255 | Unassigned | [This.I-D] | 587 +-----------+------------------------------------------+------------+ 589 Table 10: NBR_ADDR_TYPE Address Block TLV Type Extensions 590 Modifications 592 6. Security Considerations 594 The presented updates to [RFC6130] and [OLSRv2]: 596 o Create IANA registries for retaining TLV values for TLVs, already 597 defined in the already published specifications of the two 598 protocols, and with initial registrations for the TLV values 599 defined by these specifications. This does not give rise to any 600 additional security considerations. 602 o Enable protocol extensions to be able to register TLV values in 603 the created IANA registries. Such extensions MUST specify 604 appropriate security considerations. 606 o Create, in some registries, a registration for "UNSPECIFIED" 607 values, for more efficient use of multi-value Address Block TLVs. 608 The interpretation of an address being associated with a TLV of a 609 given type and with the value "UNSPECIFIED" is identical to that 610 address not being associated with a TLV of that type. Thus, this 611 update does not give rise to any additional security 612 considerations. 614 o Reduces the latitude of implementations of the two protocols to 615 reject a message as "badly formed", due to the value field of a 616 TLV being unexpected. These protocols are specified in terms such 617 as "if an address is associated with a value of LOST by a 618 LINK_STATUS TLV". Association with an unknown value (or a value 619 newly defined to mean no link status information) has no effect on 620 such a specification. Thus, this update does not give rise to any 621 additional security considerations. 623 o Do not introduce any opportunities for attacks on the protocols 624 through signal modification that are not already present in the 625 two protocols. 627 7. Acknowledgments 629 The authors would like to gratefully acknowledge the following people 630 for intense technical discussions, early reviews, and comments on the 631 specification (listed alphabetically): Ulrich Herberg (Fujitsu 632 Laboratories of America) and Henning Rogge (Frauenhofer FKIE). 634 The authors would also like to express their gratitude to Adrian 635 Farrel, for his assistance and contributions to successful and timely 636 completion of this specification. 638 8. References 640 8.1. Normative References 642 [OLSRv2] Clausen, T., Dearlove, C., Jacquet, P., and U. Herberg, 643 "The Optimized Link State Routing Protocol version 2", 644 work in progress draft-ietf-manet-olsrv2-19, March 2013. 646 [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate 647 Requirement Levels", BCP 14, RFC 2119, March 1997. 649 [RFC5444] Clausen, T., Dearlove, C., Dean, J., and C. Adjih, 650 "Generalized MANET Packet/Message Format", RFC 5444, 651 February 2009. 653 [RFC6130] Clausen, T., Dean, J., and C. Dearlove, "Mobile Ad Hoc 654 Network (MANET) Neighborhood Discovery Protocol (NHDP)", 655 RFC 6130, April 2011. 657 8.2. Informative References 659 [RFC2501] Macker, J. and S. Corson, "Mobile Ad hoc Networking 660 (MANET): Routing Protocol Performance Issues and 661 Evaluation Considerations", RFC 2501, January 1999. 663 [RFC5226] Narten, T. and H. Alvestrand, "Guidelines for Writing an 664 IANA Considerations Section in RFCs", BCP 26, RFC 5226, 665 May 2008. 667 Authors' Addresses 669 Christopher Dearlove 670 BAE Systems Advanced Technology Centre 671 West Hanningfield Road 672 Great Baddow, Chelmsford 673 United Kingdom 675 Phone: +44 1245 242194 676 Email: chris.dearlove@baesystems.com 677 URI: http://www.baesystems.com/ 679 Thomas Heide Clausen 680 LIX, Ecole Polytechnique 682 Phone: +33 6 6058 9349 683 Email: T.Clausen@computer.org 684 URI: http://www.ThomasClausen.org/