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

Add public constant for header size #66

Merged
merged 1 commit into from
Oct 22, 2024
Merged

Add public constant for header size #66

merged 1 commit into from
Oct 22, 2024

Conversation

dlon
Copy link
Member

@dlon dlon commented Oct 18, 2024

Currently, the Mullvad app is forced to assume that the header is 2 bytes long: https://github.com/mullvad/mullvadvpn-app/blob/f72944e5fe88cb954a93da7bd2a868eb75c445ae/tunnel-obfuscation/src/udp2tcp.rs#L94

That's fine, because the protocol will never change, but it would be slightly cleaner to have a constant.


This change is Reviewable

@dlon dlon requested review from faern and hulthe October 18, 2024 14:01
@dlon dlon force-pushed the add-pub-header-constant branch from c8b80f2 to c4c839b Compare October 21, 2024 13:39
@dlon dlon merged commit 24b2e25 into main Oct 22, 2024
12 checks passed
@dlon dlon deleted the add-pub-header-constant branch October 22, 2024 08:29
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.

3 participants