1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333
|
<pre>Internet Engineering Task Force (IETF) P. Mohapatra
Request for Comments: 8097 Sproute Networks
Category: Standards Track K. Patel
ISSN: 2070-1721 Arrcus, Inc.
J. Scudder
Juniper Networks
D. Ward
Cisco
R. Bush
Internet Initiative Japan, Inc.
March 2017
<span class="h1">BGP Prefix Origin Validation State Extended Community</span>
Abstract
This document defines a new BGP opaque extended community to carry
the origination Autonomous System (AS) validation state inside an
autonomous system. Internal BGP (IBGP) speakers that receive this
validation state can configure local policies that allow it to
influence their decision process.
Status of This Memo
This is an Internet Standards Track document.
This document is a product of the Internet Engineering Task Force
(IETF). It represents the consensus of the IETF community. It has
received public review and has been approved for publication by the
Internet Engineering Steering Group (IESG). Further information on
Internet Standards is available in <a href="./rfc7841#section-2">Section 2 of RFC 7841</a>.
Information about the current status of this document, any errata,
and how to provide feedback on it may be obtained at
<a href="http://www.rfc-editor.org/info/rfc8097">http://www.rfc-editor.org/info/rfc8097</a>.
<span class="grey">Mohapatra, et al. Standards Track [Page 1]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-2" ></span>
<span class="grey"><a href="./rfc8097">RFC 8097</a> Prefix Origin Validation State Ext. Comm. March 2017</span>
Copyright Notice
Copyright (c) 2017 IETF Trust and the persons identified as the
document authors. All rights reserved.
This document is subject to <a href="https://www.rfc-editor.org/bcp/bcp78">BCP 78</a> and the IETF Trust's Legal
Provisions Relating to IETF Documents
(<a href="http://trustee.ietf.org/license-info">http://trustee.ietf.org/license-info</a>) in effect on the date of
publication of this document. Please review these documents
carefully, as they describe your rights and restrictions with respect
to this document. Code Components extracted from this document must
include Simplified BSD License text as described in Section 4.e of
the Trust Legal Provisions and are provided without warranty as
described in the Simplified BSD License.
Table of Contents
<a href="#section-1">1</a>. Introduction . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-3">3</a>
<a href="#section-1.1">1.1</a>. Requirements Language . . . . . . . . . . . . . . . . . . <a href="#page-3">3</a>
<a href="#section-2">2</a>. Origin Validation State Extended Community . . . . . . . . . <a href="#page-3">3</a>
<a href="#section-3">3</a>. Deployment Considerations . . . . . . . . . . . . . . . . . . <a href="#page-4">4</a>
<a href="#section-4">4</a>. IANA Considerations . . . . . . . . . . . . . . . . . . . . . <a href="#page-4">4</a>
<a href="#section-5">5</a>. Security Considerations . . . . . . . . . . . . . . . . . . . <a href="#page-4">4</a>
<a href="#section-6">6</a>. References . . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-5">5</a>
<a href="#section-6.1">6.1</a>. Normative References . . . . . . . . . . . . . . . . . . <a href="#page-5">5</a>
<a href="#section-6.2">6.2</a>. Informative References . . . . . . . . . . . . . . . . . <a href="#page-5">5</a>
Acknowledgements . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-6">6</a>
Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-6">6</a>
<span class="grey">Mohapatra, et al. Standards Track [Page 2]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-3" ></span>
<span class="grey"><a href="./rfc8097">RFC 8097</a> Prefix Origin Validation State Ext. Comm. March 2017</span>
<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>. Introduction</span>
This document defines a new BGP opaque extended community to carry
the origination AS validation state inside an autonomous system.
IBGP speakers that receive this validation state can configure local
policies that allow it to influence their decision process.
<span class="h3"><a class="selflink" id="section-1.1" href="#section-1.1">1.1</a>. Requirements Language</span>
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
"SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
document are to be interpreted as described in <a href="./rfc2119">RFC 2119</a> [<a href="./rfc2119" title=""Key words for use in RFCs to Indicate Requirement Levels"">RFC2119</a>].
<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a>. Origin Validation State Extended Community</span>
The origin validation state extended community is an opaque extended
community [<a href="./rfc4360" title=""BGP Extended Communities Attribute"">RFC4360</a>] with the following encoding:
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| 0x43 | 0x00 | Reserved |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Reserved |validationstate|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
The value of the high-order octet of the extended Type field is 0x43,
which indicates it is non-transitive. The value of the low-order
octet of the extended Type field as assigned by IANA is 0x00. The
Reserved field MUST be set to 0 and ignored upon the receipt of this
community. The last octet of the extended community is an unsigned
integer that gives the route's validation state [<a href="./rfc6811" title=""BGP Prefix Origin Validation"">RFC6811</a>]. It can
assume the following values:
+-------+-----------------------------+
| Value | Meaning |
+-------+-----------------------------+
| 0 | Lookup result = "valid" |
| 1 | Lookup result = "not found" |
| 2 | Lookup result = "invalid" |
+-------+-----------------------------+
If the router is configured to support the extensions defined in this
document, it SHOULD attach the origin validation state extended
community to BGP UPDATE messages sent to IBGP peers by mapping the
computed validation state in the last octet of the extended
<span class="grey">Mohapatra, et al. Standards Track [Page 3]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-4" ></span>
<span class="grey"><a href="./rfc8097">RFC 8097</a> Prefix Origin Validation State Ext. Comm. March 2017</span>
community. Similarly, a receiving BGP speaker, in the absence of
validation state set based on local data, SHOULD derive a validation
state from the last octet of the extended community, if present.
An implementation SHOULD NOT send more than one instance of the
origin validation state extended community. However, if more than
one instance is received, an implementation MUST disregard all
instances other than the one with the numerically greatest validation
state value. If the value received is greater than the largest
specified value (2), the implementation MUST apply a strategy similar
to attribute discard [<a href="./rfc7606" title=""Revised Error Handling for BGP UPDATE Messages"">RFC7606</a>] by discarding the erroneous community
and logging the error for further analysis.
By default, implementations MUST drop the origin validation state
extended community if received from an External BGP (EBGP) peer,
without processing it further. Similarly, by default, an
implementation SHOULD NOT send the community to EBGP peers. However,
it SHOULD be possible to configure an implementation to send or
accept the community when warranted. An example of a case where the
community would reasonably be received from, or sent to, an EBGP peer
is when two adjacent ASes are under control of the same
administration. A second example is documented in [<a href="#ref-SIDR-RPKI" title=""Signaling Prefix Origin Validation Results from a Route- Server to Peers"">SIDR-RPKI</a>].
<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>. Deployment Considerations</span>
In deployment scenarios in which not all the speakers in an
autonomous system are upgraded to support the extensions defined in
this document, it is necessary to define policies that match on the
origin validation extended community and set another BGP attribute
[<a href="./rfc6811" title=""BGP Prefix Origin Validation"">RFC6811</a>] that influences selection of the best path in the same way
that an implementation of this extension would.
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>. IANA Considerations</span>
IANA has registered the value 0x00, with the name "BGP Origin
Validation State Extended Community", in the "Non-Transitive Opaque
Extended Community Sub-Types" registry.
<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>. Security Considerations</span>
Security considerations such as those described in [<a href="./rfc4272" title=""BGP Security Vulnerabilities Analysis"">RFC4272</a>] continue
to apply. Because this document introduces an extended community
that will generally be used to affect route selection, the analysis
in <a href="#section-4.5">Section 4.5</a> ("Falsification") of [<a href="./rfc4593" title=""Generic Threats to Routing Protocols"">RFC4593</a>] is relevant. These
issues are neither new nor unique to the origin validation extended
community.
<span class="grey">Mohapatra, et al. Standards Track [Page 4]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-5" ></span>
<span class="grey"><a href="./rfc8097">RFC 8097</a> Prefix Origin Validation State Ext. Comm. March 2017</span>
The security considerations provided in [<a href="./rfc6811" title=""BGP Prefix Origin Validation"">RFC6811</a>] apply equally to
this application of origin validation. In addition, this document
describes a scheme where router A outsources validation to some
router B. If this scheme is used, the participating routers should
have the appropriate trust relationship -- B should trust A either
because they are under the same administrative control or for some
other reason (for example, consider [<a href="#ref-SIDR-RPKI" title=""Signaling Prefix Origin Validation Results from a Route- Server to Peers"">SIDR-RPKI</a>]). The security
properties of the TCP connection between the two routers should also
be considered. See <a href="./rfc7454#section-5.1">Section 5.1 of [RFC7454]</a> for advice regarding
protection of the TCP connection.
<span class="h2"><a class="selflink" id="section-6" href="#section-6">6</a>. References</span>
<span class="h3"><a class="selflink" id="section-6.1" href="#section-6.1">6.1</a>. Normative References</span>
[<a id="ref-RFC2119">RFC2119</a>] Bradner, S., "Key words for use in RFCs to Indicate
Requirement Levels", <a href="https://www.rfc-editor.org/bcp/bcp14">BCP 14</a>, <a href="./rfc2119">RFC 2119</a>,
DOI 10.17487/RFC2119, March 1997,
<<a href="http://www.rfc-editor.org/info/rfc2119">http://www.rfc-editor.org/info/rfc2119</a>>.
[<a id="ref-RFC4360">RFC4360</a>] Sangli, S., Tappan, D., and Y. Rekhter, "BGP Extended
Communities Attribute", <a href="./rfc4360">RFC 4360</a>, DOI 10.17487/RFC4360,
February 2006, <<a href="http://www.rfc-editor.org/info/rfc4360">http://www.rfc-editor.org/info/rfc4360</a>>.
[<a id="ref-RFC6811">RFC6811</a>] Mohapatra, P., Scudder, J., Ward, D., Bush, R., and R.
Austein, "BGP Prefix Origin Validation", <a href="./rfc6811">RFC 6811</a>,
DOI 10.17487/RFC6811, January 2013,
<<a href="http://www.rfc-editor.org/info/rfc6811">http://www.rfc-editor.org/info/rfc6811</a>>.
<span class="h3"><a class="selflink" id="section-6.2" href="#section-6.2">6.2</a>. Informative References</span>
[<a id="ref-RFC4272">RFC4272</a>] Murphy, S., "BGP Security Vulnerabilities Analysis",
<a href="./rfc4272">RFC 4272</a>, DOI 10.17487/RFC4272, January 2006,
<<a href="http://www.rfc-editor.org/info/rfc4272">http://www.rfc-editor.org/info/rfc4272</a>>.
[<a id="ref-RFC4593">RFC4593</a>] Barbir, A., Murphy, S., and Y. Yang, "Generic Threats to
Routing Protocols", <a href="./rfc4593">RFC 4593</a>, DOI 10.17487/RFC4593,
October 2006, <<a href="http://www.rfc-editor.org/info/rfc4593">http://www.rfc-editor.org/info/rfc4593</a>>.
[<a id="ref-RFC7454">RFC7454</a>] Durand, J., Pepelnjak, I., and G. Doering, "BGP
Operations and Security", <a href="https://www.rfc-editor.org/bcp/bcp194">BCP 194</a>, <a href="./rfc7454">RFC 7454</a>,
DOI 10.17487/RFC7454, February 2015,
<<a href="http://www.rfc-editor.org/info/rfc7454">http://www.rfc-editor.org/info/rfc7454</a>>.
[<a id="ref-RFC7606">RFC7606</a>] Chen, E., Ed., Scudder, J., Ed., Mohapatra, P., and K.
Patel, "Revised Error Handling for BGP UPDATE Messages",
<a href="./rfc7606">RFC 7606</a>, DOI 10.17487/RFC7606, August 2015,
<<a href="http://www.rfc-editor.org/info/rfc7606">http://www.rfc-editor.org/info/rfc7606</a>>.
<span class="grey">Mohapatra, et al. Standards Track [Page 5]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-6" ></span>
<span class="grey"><a href="./rfc8097">RFC 8097</a> Prefix Origin Validation State Ext. Comm. March 2017</span>
[<a id="ref-SIDR-RPKI">SIDR-RPKI</a>] King, T., Kopp, D., Lambrianidis, A., and A. Fenioux,
"Signaling Prefix Origin Validation Results from a Route-
Server to Peers", Work in Progress,
<a href="./draft-ietf-sidrops-route-server-rpki-light-01">draft-ietf-sidrops-route-server-rpki-light-01</a>, January
2017.
Acknowledgements
The authors would like to acknowledge the valuable review and
suggestions from Wesley George, Roque Gagliano, and Bruno Decraene on
this document.
Authors' Addresses
Pradosh Mohapatra
Sproute Networks
Email: mpradosh@yahoo.com
Keyur Patel
Arrcus, Inc.
Email: keyur@arrcus.com
John Scudder
Juniper Networks
1194 N. Mathilda Ave
Sunnyvale, CA 94089
United States of America
Email: jgs@juniper.net
Dave Ward
Cisco
170 W. Tasman Drive
San Jose, CA 95124
United States of America
Email: dward@cisco.com
Randy Bush
Internet Initiative Japan, Inc.
5147 Crystal Springs
Bainbridge Island, WA 98110
United States of America
Email: randy@psg.com
Mohapatra, et al. Standards Track [Page 6]
</pre>
|