Skip to content

net/frr: add BFD strict mode for BGP neighbors#5315

Open
r3m8 wants to merge 1 commit intoopnsense:masterfrom
r3m8:feature/bfd-strict-mode
Open

net/frr: add BFD strict mode for BGP neighbors#5315
r3m8 wants to merge 1 commit intoopnsense:masterfrom
r3m8:feature/bfd-strict-mode

Conversation

@r3m8
Copy link

@r3m8 r3m8 commented Mar 13, 2026

Important notices
Before you submit a pull request, we ask you kindly to acknowledge the following:


Related issue

#5314


Describe the problem

The OPNsense FRR plugin currently lacks support for BFD Strict Mode in BGP neighbor configuration. This FRR feature ensures BGP sessions are only established when the underlying BFD session is up, preventing routing issues when physical connectivity is lost but BGP sessions remain artificially active.


Describe the proposed solution

This PR adds a "BFD Strict Mode" checkbox to the BGP neighbor configuration. The checkbox is hidden when BFD is disabled and appears when BFD is enabled, following the same pattern as OSPFv3's "Advertise Default Gateway" feature (I'm not sure this is the best way to do it, please let me know if not).

docs.frrouting.org/en/latest/bfd.html

router bgp ASN
 neighbor <address> bfd
 neighbor <address> bfd strict

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant