Skip to content

Fix: reset verified peer address on failed validation - #2917

Open
bhavyaKhatri2703 wants to merge 1 commit into
cloudflare:masterfrom
bhavyaKhatri2703:fix/reset-verified-peer-address-on-failed-validation
Open

bhavyaKhatri2703 wants to merge 1 commit into
cloudflare:masterfrom
bhavyaKhatri2703:fix/reset-verified-peer-address-on-failed-validation

Conversation

@bhavyaKhatri2703

Copy link
Copy Markdown
Contributor

fixes: #2908

on_failed_validation() was resetting the path state but leaving verified_peer_address set. If the path got re-activated later, the server could skip anti amplification limits. This just clears that flag too.

@bhavyaKhatri2703
bhavyaKhatri2703 requested a review from a team as a code owner November 27, 2026 12:58

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Path::on_failed_validation does not reset verified_peer_address, leaving anti-amplification bypass on re-activated paths

1 participant