Internet-Draft Route Leak Detection by RS-Client November 2026
Herdes, et al. Expires 3 June 2027 [Page]
Workgroup:
Inter-Domain Routing
Internet-Draft:
draft-ietf-idr-otc-rs-verification-01
Updates:
9234 (if approved)
Published:
Intended Status:
Standards Track
Expires:
Authors:
B. Herdes
Cloudflare
A. Azimov
Yandex
A. Chariton
Cisco

Route Leak Detection by RS-Client Using Only to Customer (OTC) Attribute

Abstract

RFC 9234 can be used for both prevention and detection of route leaks by enforcing appropriate BGP Role configuration. However, RFC 9234 does not specify any route leak check for routes received from Route Servers (RS), causing leak detection and mitigation to be dependent on whether the RS implements BGP Roles. This document updates RFC 9234 and defines a new check for RS-Clients. This new check improves RFC 9234 partial deployment scenarios.

Status of This Memo

This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.

Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at https://datatracker.ietf.org/drafts/current/.

Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress."

This Internet-Draft will expire on 3 June 2027.

▲

Table of Contents

1. Introduction

[RFC9234] specifies OTC Attribute and Peering Roles: Customer, Provider, Peer, RS, and RS-Client. Section 5 of [RFC9234] specifies ingress filtering based on the OTC value for routes received from a Peer. It says:

If a route with the OTC Attribute is received from a Peer (i.e., remote AS with a Peer Role) and the Attribute has a value that is not equal to the remote (i.e., Peer's) AS number, then it is a route leak and MUST be considered ineligible.— RFC 9234

For the routes received from an RS, [RFC9234] doesn't specify any route leak check, though an RS basically provides service for indirect peering, thus the same procedure as for a Peer should be applied.

Section 3 extends this check to routes received from an RS, so that an RS-Client verifies that, if the OTC Attribute is present, its value matches the RS's AS number.

1.1. Requirements Language

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here.

1.2. Terminology

Terminology follows [RFC9234]: the BGP Roles Provider, Customer, RS, RS-Client, and Peer are as defined in its Sections 3.1 and 4, and "local AS" and "remote AS" are the two ends of an eBGP session. "Route is ineligible" is as in [RFC4271].

2. Problem Statement

An RS exists to redistribute routes between RS-Clients that peer laterally through it. [RFC9234] states that if a route received by an RS from an RS-Client has the OTC Attribute, it is a route leak. But if the RS is non-compliant, it will accept the route without checking the OTC value and redistribute it to its RS-Clients.

If the RS implements [RFC9234], it will reject routes received from its RS-Clients if the OTC Attribute is present. If the OTC Attribute is absent, a compliant RS will add the OTC Attribute with a value equal to its own AS number when advertising routes to its RS-Clients.

From the point of view of the RS-Client, a correct route received from an RS can only carry either no OTC Attribute or one with a value equal to the RS's AS number. Otherwise, it is a route leak.

3. Update to the OTC Ingress Procedure

This section updates Section 5 of [RFC9234] by adding a new check for RS-Clients.

If a route with the OTC Attribute is received from an RS (i.e., local AS with an RS-Client Role) and the Attribute has a value that is not equal to the remote (i.e., RS's) AS number, then it is a route leak and MUST be considered ineligible.

4. Operational Considerations

The update in Section 3 is backwards compatible with [RFC9234] on the wire: it does not change the OTC Attribute or the BGP Role Capability, and it does not require any new BGP capability negotiation between implementations.

5. IANA Considerations

This document has no IANA actions.

6. Implementation Status

This section is to be removed before publishing as an RFC.

This section records the status of known implementations of the protocol defined by this specification at the time of posting of this Internet-Draft, and is based on a proposal described in [RFC7942]. The description of implementations in this section is intended to assist the IETF in its decision processes in progressing drafts to RFCs. Please note that the listing of any individual implementation here does not imply endorsement by the IETF. Furthermore, no effort has been spent to verify the information presented here that was supplied by IETF contributors. This is not intended as, and must not be construed to be, a catalog of available implementations or their features. Readers are advised to note that other implementations may exist.

According to [RFC7942], "this will allow reviewers and working groups to assign due consideration to documents that have the benefit of running code, which may serve as evidence of valuable experimentation and feedback that have made the implemented protocols more mature. It is up to the individual working groups to use this information as they see fit".

The IDR working group maintains an implementation report for this document at <https://wiki.ietf.org/group/idr/implementations/draft-ietf-idr-otc-rs-verification>. Known implementations of the check specified in Section 3 are:

7. Security Considerations

The security considerations in Section 8 of [RFC9234] apply.

The imposition of the extra OTC check specified in this document improves route leak detection and mitigation in partial deployment scenarios.

8. References

8.1. Normative References

[RFC2119]
Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10.17487/RFC2119, , <https://www.rfc-editor.org/info/rfc2119>.
[RFC4271]
Rekhter, Y., Ed., Li, T., Ed., and S. Hares, Ed., "A Border Gateway Protocol 4 (BGP-4)", RFC 4271, DOI 10.17487/RFC4271, , <https://www.rfc-editor.org/info/rfc4271>.
[RFC8174]
Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174, , <https://www.rfc-editor.org/info/rfc8174>.
[RFC9234]
Azimov, A., Bogomazov, E., Bush, R., Patel, K., and K. Sriram, "Route Leak Prevention and Detection Using Roles in UPDATE and OPEN Messages", RFC 9234, DOI 10.17487/RFC9234, , <https://www.rfc-editor.org/info/rfc9234>.

8.2. Informative References

[RFC7942]
Sheffer, Y. and A. Farrel, "Improving Awareness of Running Code: The Implementation Status Section", BCP 205, RFC 7942, DOI 10.17487/RFC7942, , <https://www.rfc-editor.org/info/rfc7942>.

Acknowledgements

The authors would like to thank Job Snijders, Nick Buraglio, and James Bensley for their suggestions on this document. The authors would also like to thank Claudio Jeker and Donatas Abraitis for implementing this specification in OpenBGPD and FRRouting, respectively.

Authors' Addresses

Bryton Herdes
Cloudflare, Inc.
Champaign, Illinois
United States of America
Alexander Azimov
Yandex
Ulitsa Lva Tolstogo 16
Moscow
119021
Russian Federation
Antonis Chariton
Cisco
CH-8000 Zurich
Switzerland