Skip to content

chore(snownet): fail TURN connection on unknown attribute#7341

Merged
thomaseizinger merged 1 commit into
mainfrom
chore/handle-unknown-attribute
Nov 14, 2024
Merged

chore(snownet): fail TURN connection on unknown attribute#7341
thomaseizinger merged 1 commit into
mainfrom
chore/handle-unknown-attribute

Conversation

@thomaseizinger
Copy link
Copy Markdown
Member

A TURN server that doesn't understand certain attributes should return "Unknown attributes" as part of its response. Whilst we aim to be as spec-compliant as possible, Firezone doesn't officially support other TURN servers than our own relay.

If we encounter a TURN server that sends us an "Unknown attribute", we now immediately fail this allocation and clear it as we cannot make any more assumptions about what the connected relay actually supports.

@vercel
Copy link
Copy Markdown

vercel Bot commented Nov 14, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
firezone ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 14, 2024 0:58am

@sentry
Copy link
Copy Markdown

sentry Bot commented Nov 14, 2024

Sentry Issue: GATEWAY-V

@thomaseizinger
Copy link
Copy Markdown
Member Author

Sentry Issue: GATEWAY-V

@jamilbk This issue has been one that has spammed a lot over the last 24h. It comes from a self-hosted user. My guess is that they are trying to use a relay different from ours but I can't say it for sure.

@thomaseizinger thomaseizinger added this pull request to the merge queue Nov 14, 2024
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 14, 2024
@thomaseizinger thomaseizinger added this pull request to the merge queue Nov 14, 2024
Merged via the queue into main with commit efeba55 Nov 14, 2024
@thomaseizinger thomaseizinger deleted the chore/handle-unknown-attribute branch November 14, 2024 03:04
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.

2 participants