Skip to content

nhrpd: fixes duplicate auth extension#16808

Merged
Jafaral merged 1 commit intoFRRouting:masterfrom
garyachy:nhrp_duplicate_authentication_extension_field
Sep 13, 2024
Merged

nhrpd: fixes duplicate auth extension#16808
Jafaral merged 1 commit intoFRRouting:masterfrom
garyachy:nhrp_duplicate_authentication_extension_field

Conversation

@garyachy
Copy link
Copy Markdown
Contributor

@garyachy garyachy commented Sep 12, 2024

When an NHRP peer was forwarding a message, it was copying all extensions from the originally received packet. The authentication extension must be regenerated hop by hop per RFC2332. This fix checks for the auth extension when copying extensions and omits the original packet auth and instead regenerates a new auth extension.

Fixes #16507

When an NHRP peer was forwarding a message, it was copying all
extensions from the originally received packet. The authentication
extension must be regenerated hop by hop per RFC2332.
This fix checks for the auth extension when copying extensions
and omits the original packet auth and instead regenerates a new auth extension.

Fix bug FRRouting#16507

Signed-off-by: Denys Haryachyy <garyachy@gmail.com>
@Jafaral
Copy link
Copy Markdown
Member

Jafaral commented Sep 13, 2024

ci:rerun ci seems to be stuck

@ton31337
Copy link
Copy Markdown
Member

@Mergifyio backport stable/10.1 stable/10.0 stable/9.1 stable/9.0

@mergify
Copy link
Copy Markdown

mergify bot commented Sep 13, 2024

backport stable/10.1 stable/10.0 stable/9.1 stable/9.0

✅ Backports have been created

Details

@Jafaral
Copy link
Copy Markdown
Member

Jafaral commented Sep 13, 2024

@Mergifyio backport stable/10.1 stable/10.0 stable/9.1 stable/9.0

auth extension was added very recently, so I think it only affect master, maybe 10.1 too.

@Jafaral Jafaral merged commit 53a0724 into FRRouting:master Sep 13, 2024
Jafaral added a commit that referenced this pull request Sep 13, 2024
nhrpd: fixes duplicate auth extension (backport #16808)
donaldsharp added a commit that referenced this pull request Sep 13, 2024
nhrpd: fixes duplicate auth extension (backport #16808)
donaldsharp added a commit that referenced this pull request Sep 13, 2024
nhrpd: fixes duplicate auth extension (backport #16808)
donaldsharp added a commit that referenced this pull request Sep 13, 2024
nhrpd: fixes duplicate auth extension (backport #16808)
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.

Wrong NHRP Resolution Reply packet from spoke to spoke when NHRP Authentication is enabled

3 participants