Skip to content

bgpd: validate incoming NOTIFICATION messages (backport #20796)#20807

Merged
donaldsharp merged 2 commits intostable/10.5from
mergify/bp/stable/10.5/pr-20796
Feb 13, 2026
Merged

bgpd: validate incoming NOTIFICATION messages (backport #20796)#20807
donaldsharp merged 2 commits intostable/10.5from
mergify/bp/stable/10.5/pr-20796

Conversation

@mergify
Copy link

@mergify mergify bot commented Feb 13, 2026

Improve validation of NOTIFICATION messages, ensure that we have enough octets to parse safely. Also, react to Hard Reset even if there is no inner/encapsulated error info in the message. Also made a small change to one of the bgp debug apis, to add some 'const'.

Fixes #20793


This is an automatic backport of pull request #20796 done by [Mergify](https://mergify.com).

Mark Stapp added 2 commits February 13, 2026 09:04
Improve validation of NOTIFICATION messages. React to Hard Reset
even if there is no inner/encapsulated error info in the message.

Signed-off-by: Mark Stapp <mjs@cisco.com>
(cherry picked from commit 72a2f16)
Add some const to a debug api, make it clear what is and isn't
changed.

Signed-off-by: Mark Stapp <mjs@cisco.com>
(cherry picked from commit fe28d25)
@greptile-apps
Copy link

greptile-apps bot commented Feb 13, 2026

Target branch is not in the allowed branches list.

@frrbot frrbot bot added the bgp label Feb 13, 2026
@donaldsharp donaldsharp merged commit 722abe3 into stable/10.5 Feb 13, 2026
16 of 21 checks passed
@mergify mergify bot deleted the mergify/bp/stable/10.5/pr-20796 branch February 13, 2026 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant