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

Change wireguard obfuscation default from off to auto and migrate users #5870

Merged
merged 3 commits into from
Feb 28, 2024

Conversation

hulthe
Copy link
Contributor

@hulthe hulthe commented Feb 27, 2024

  • Change default obfuscation setting to auto.
  • Add settings v9 and migrate existing users settings from off to auto
  • Tweak migration template
  • Fix incorrect doc comment in v6.rs

auto should arguably have been the default from the start, so this PR intends to address that. We believe the benefit to Mullvad users from defaulting obfuscation to auto (which in practice will mean on) outweighs the potential consequences of turning obfuscation on after they have explicitly decided to turn it off.


This change is Reviewable

@hulthe hulthe self-assigned this Feb 27, 2024
Copy link

linear bot commented Feb 27, 2024

@hulthe hulthe force-pushed the change-wireguard-obfuscation-default-to-auto-des-544 branch from f9c6a55 to 0c7cc7e Compare February 27, 2024 15:51
@hulthe hulthe force-pushed the change-wireguard-obfuscation-default-to-auto-des-544 branch from 0c7cc7e to 975106c Compare February 28, 2024 10:05
- Change `selected_obfuscation` default to `auto`.
- Migrate `selected_obfuscation` from `off` to `auto` for existing users.
@hulthe hulthe force-pushed the change-wireguard-obfuscation-default-to-auto-des-544 branch from 975106c to 436f2ca Compare February 28, 2024 10:06
@hulthe hulthe marked this pull request as ready for review February 28, 2024 10:08
@hulthe hulthe force-pushed the change-wireguard-obfuscation-default-to-auto-des-544 branch from 436f2ca to 6eb4640 Compare February 28, 2024 10:22
Copy link
Member

@faern faern left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm: Looks good! Nicely tested ✨

Reviewed 5 of 7 files at r1, 2 of 2 files at r2, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @hulthe)


mullvad-daemon/src/migrations/v6.rs line 27 at r1 (raw file):

Previously, hulthe (Joakim Hulthe) wrote…

note to self

This is good. The migration should have a doc comment explaining what settings it changes and how. 👍

@faern faern merged commit 3daced0 into main Feb 28, 2024
34 of 35 checks passed
@faern faern deleted the change-wireguard-obfuscation-default-to-auto-des-544 branch February 28, 2024 10:59
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