rfc-8097

BGP Prefix Origin Validation State Extended Community

P. Mohapatra, K. Patel, J. Scudder, D. Ward, R. Bush
date2017-03 streamIETF areartg wgsidr statusPROPOSED STANDARD pages6 canonicalhttps://www.rfc-editor.org/rfc/rfc8097 doi10.17487/RFC8097
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.

Extracted elements (16)

design-rationale §2

The extended community is marked non-transitive (high-order octet 0x43) so that it is not propagated across AS boundaries by default, preventing external ASes from receiving or injecting validation state that could affect routing decisions inside another AS.

bgp, routing, security

design-rationale §2

When multiple instances of the community are received, the one with the numerically greatest validation state value takes precedence. This prioritizes 'invalid' (2) over 'not found' (1) over 'valid' (0), implementing a conservative preference for the most alarming state.

bgp, routing

interoperability-note §3

In deployments where not all speakers in an AS are upgraded to support this extension, operators must define policies that match on the origin validation extended community and set another BGP attribute (per RFC 6811) to influence best-path selection equivalently.

bgp, routing

normative-requirement §2 SHOULD

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.

bgp, routing

normative-requirement §2 SHOULD NOT

An implementation SHOULD NOT send more than one instance of the origin validation state extended community in a single UPDATE message.

bgp, routing

normative-requirement §2 SHOULD NOT

By default, an implementation SHOULD NOT send the origin validation state extended community to EBGP peers, though it SHOULD be possible to configure an implementation to send or accept the community when warranted (e.g., when adjacent ASes are under the same administration).

bgp, routing

normative-requirement §2 MUST

By default, implementations MUST drop the origin validation state extended community if received from an EBGP peer, without processing it further.

bgp, routing, security

normative-requirement §2 MUST

If more than one instance of the community is received, an implementation MUST disregard all instances other than the one with the numerically greatest validation state value.

bgp, routing

normative-requirement §2 MUST

If the received validation state value is greater than 2 (the largest specified value), the implementation MUST apply a strategy similar to attribute discard (RFC 7606) by discarding the erroneous community and logging the error.

bgp, routing

normative-requirement §2 SHOULD

If the router is configured to support this extension, it SHOULD attach the origin validation state extended community to BGP UPDATE messages sent to IBGP peers by mapping the computed validation state into the last octet of the extended community.

bgp, routing

normative-requirement §2 MUST

The Reserved field in the extended community encoding MUST be set to 0 on transmission and ignored upon receipt.

bgp, routing

protocol-element §2

The validation state field in the last octet of the extended community encodes three possible values: 0 (valid), 1 (not found), and 2 (invalid), corresponding to the BGP prefix origin validation lookup result defined in RFC 6811.

bgp, routing, security

registry §4

IANA registered the value 0x00 with the name 'BGP Origin Validation State Extended Community' in the 'Non-Transitive Opaque Extended Community Sub-Types' registry.

registry, bgp

security-consideration §5

This document introduces an extended community used to affect route selection; the falsification analysis of RFC 4593 Section 4.5 is relevant, as a compromised router could inject fraudulent validation states to influence path selection across the AS.

bgp, security, routing

security-consideration §5

This scheme allows router A to outsource validation to router B; participating routers must have an appropriate trust relationship (same administrative control or equivalent), and the TCP session between them should be secured per RFC 7454 Section 5.1.

bgp, security, routing

wire-format §2

The origin validation state extended community is an 8-octet opaque extended community. The first octet is 0x43 (non-transitive type), the second is 0x00 (sub-type assigned by IANA), octets 3-7 are Reserved (MUST be zero), and the last octet is an unsigned integer encoding the validation state (0=valid, 1=not found, 2=invalid).

bgp, routing, security