Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bgpd: do not accept a host route that matches a local address #17976

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

enkechen-panw
Copy link
Contributor

Accepting a host route from a BGP peer for a local address would result in inconsistency between BGP and RIB/FIB.

Accepting a host route from a BGP peer for a local address would
result in inconsistency between BGP and RIB/FIB.

Signed-off-by: Enke Chen <enchen@paloaltonetworks.com>
Copy link
Member

@ton31337 ton31337 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A test please.

Adjsut topotest/bgp_l3vpn_to_bgp_direct post the patch that
rejects host routes for the local addresses from BGP peers.

Signed-off-by: Enke Chen <enchen@paloaltonetworks.com>
@frrbot frrbot bot added the tests Topotests, make check, etc label Feb 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bgp master size/S tests Topotests, make check, etc
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants