Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ua: enforce magic cookie in Via branch #3003

Merged
merged 1 commit into from
Apr 19, 2024

Conversation

maximilianfridrich
Copy link
Contributor

According to RFC 3261 section 8.1.1.7 the branch parameter in the Via header MUST start with the magic cookie "z9hG4bK". This is now enforced.

Some UAs don't comply with this and send multiple requests with the same branch values which can cause issues.

src/ua.c Outdated Show resolved Hide resolved
src/ua.c Outdated Show resolved Hide resolved
According to RFC 3261 section 8.1.1.7 the branch parameter in the Via
header MUST start with the magic cookie "z9hG4bK". This is now enforced.

Some UAs don't comply with this and send multiple requests with the same
branch values which can cause issues.
@sreimers sreimers merged commit 0bd04ce into baresip:main Apr 19, 2024
18 checks passed
@maximilianfridrich maximilianfridrich deleted the enforce_magic_via branch April 19, 2024 09:26
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