Skip to content

Don't roam peer endpoint on cookie replies#489

Open
JeroenRobben wants to merge 1 commit into
cloudflare:masterfrom
JeroenRobben:disable-roaming-cookie
Open

Don't roam peer endpoint on cookie replies#489
JeroenRobben wants to merge 1 commit into
cloudflare:masterfrom
JeroenRobben:disable-roaming-cookie

Conversation

@JeroenRobben

Copy link
Copy Markdown
Contributor

BoringTun updates a peer's endpoint on any authenticated packet, including
cookie replies. Upstream WireGuard implementations only roam on handshake
initiations/responses and transport data. An attacker could abuse this to
fingerprint which WireGuard implementation a peer uses. An attacker that can
observe the WireGuard traffic between two peers could also replay a recently
captured cookie reply from a spoofed source, incorrectly updating the peer's
endpoint address.

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.

1 participant