summaryrefslogtreecommitdiffhomepage
path: root/mullvad-daemon
AgeCommit message (Collapse)AuthorFilesLines
2025-11-04Refactor argument to `load_cache`Sebastian Holmin1-9/+8
2025-11-04Lower version check disk write log to traceSebastian Holmin1-1/+1
2025-11-04Lower verbosity of "Version data unchanged" logSebastian Holmin1-2/+2
2025-11-04Silence `hyper_util` crateSebastian Holmin1-0/+1
2025-11-03Add `mullvad debug rollout` commandMarkus Pettersson2-0/+114
Define `get`, `reroll` and `seed` for quickly inspecting and debugging new app releases.
2025-10-23Add test for update in downloaded/downloading stateDavid Lönnhager1-0/+58
2025-10-23Do not cancel download when version check is invokedDavid Lönnhager1-4/+56
2025-10-23Update ETag/header check fields for unchanged etag or metadata versionDavid Lönnhager1-189/+182
2025-10-23Add test ensuring etag and timestamp are updated even if version metadata is notDavid Lönnhager1-5/+74
2025-10-23Use rollout threshold to determine if client should be updatedMarkus Pettersson3-6/+53
2025-10-23Decouple foreground and background version checksDavid Lönnhager1-37/+41
2025-10-23Update version checkDavid Lönnhager2-190/+269
It now makes an API call whenever manually triggered as well as once per hour, but only includes platform headers if 24 hours have passed Co-authored-by: Sebastian Holmin <sebastian.holmin@mullvad.net>
2025-10-22Add entry and exit no relay errorsJonatan Rhodin1-0/+6
The old no relay error is still kept for single hop
2025-10-21Add support for multihop entry filters in daemonKalle Lindström3-1/+161
In the upcoming re-design of select location, separate sets of filters can now be picked for the entry and the exit relays. This commit adds support for that in the relay selector. In order to not affect the current behavior of the desktop and Android apps before the new UI is implemented, the entry filters are set to the same as the exit filters when the relay settings are updated via gRPC.
2025-10-14Show recent in all cases when recents enabledKalle Lindström1-0/+16
2025-10-14Improve login and create account error messagesJonatan Rhodin1-0/+9
- Add support for more types of login error messages - Add more detail to create account error message - Show info dialog when api is unreachable
2025-10-07Define networks as const valuesMarkus Pettersson2-1/+4
2025-10-03Bump windows-sys version to latestDavid Lönnhager2-6/+5
This also refactors and documents some code
2025-10-03Add a UDS for wiresharking gotatun multihop trafficJoakim Hulthe1-0/+1
2025-09-30Add `quinn_udp` to `WARNING_SILENCED_CRATES`Sebastian Holmin1-1/+1
2025-09-30Add v11 settings migrationTobias Järvelöv3-0/+465
- Renames block_when_disconnected to lockdown_mode - Renames API access methods with non-unique names Co-authored-by: Joakim Hulthe <joakim.hulthe@mullvad.net>
2025-09-30Add `insta` as a test depMarkus Pettersson1-1/+2
2025-09-30Rename block_when_disconnected to lockdown_mode in mullvad cratesTobias Järvelöv3-42/+32
2025-09-30Preserve returned error by update access method functionTobias Järvelöv1-4/+1
2025-09-30Handle error returned by access method's update functionTobias Järvelöv1-11/+16
Map error in settings::Error in the update_access_method fn so we can use the From impl to turn the error into a management interface status later.
2025-09-30Preserve returned error by add access method functionTobias Järvelöv1-4/+1
2025-09-30Handle error returned by access method's append functionTobias Järvelöv1-3/+4
Map error in settings::Error so we can use the From impl to turn error into a management interface status
2025-09-30Add convert fn from access_method error to management_interface statusTobias Järvelöv1-0/+19
2025-09-25Add reset-settings command to CLIDavid Lönnhager1-1/+1
2025-09-25Include metadata_version in VersionCache on all desktop platformsOskar1-9/+8
2025-09-25Replace use of old version check endpointOskar1-29/+9
2025-09-24Make `dirs` a workspace dependency and upgrade to 6.0.0Linus Färnstrand1-1/+1
2025-09-23Upgrade `rand` to `0.9` in `mullvad-daemon`Markus Pettersson2-3/+3
2025-09-18Add multiplexer POC to daemon, TSM, and relay selectorDavid Lönnhager2-5/+4
2025-09-08Fix lint `clippy::collapsible_if`Markus Pettersson1-16/+14
2025-09-03Ignore versions with zero rollout in Mullvad loader and appDavid Lönnhager1-1/+1
2025-09-01Link 'supported' bool to cache versionDavid Lönnhager2-52/+48
This prevents the app from erroneously being labeled unsupported during upgrades/downgrades
2025-08-28Use objc2_service_management to get rid of a lot of unsafeMarkus Pettersson2-55/+30
2025-08-28Fix panic when fetching operating system versionMarkus Pettersson2-29/+9
2025-08-14Set the default location set flag at loginKalle Lindström1-0/+13
If the user has managed to log in we unconditionally set update_default_location = false. This is done to prevent an edge case where the geolocation request completes after the user has logged in and then the default location could change while the user is in the process of clicking the select location/connect buttons.
2025-08-14Set relay to current country on first startKalle Lindström2-1/+73
Sets the default relay selection to the current country (as determined by am.i.mullvad.net). If the current country does not have any relays the country with the closest relay is choosen instead. In non-release builds of the Android app we do not bundle a relay list in the APK, and the relay list is fetched when the user logs in. So one of the following can happen: 1. Geolocation request returns, we have a relay list. 2. Geolocation request returns, we do not yet have a relay list. 3. Relay list request returns, we have a geolocation. 4. Relay list request returns, we do not have a geolocation. In 1. and 3. we can update the default location. In 2. we have to wait until the relay list is fetched from the api until we can update the default location. 4. is unlikely to happen but could happen if am.i.mullvad is down.
2025-08-12Log cause of update download errorDavid Lönnhager1-1/+1
2025-08-11Add MULLVAD_ENABLE_DEV_UPDATES for testing version checks in dev buildsDavid Lönnhager1-20/+28
2025-07-22Remove comment about v9 settings migration still being openLinus Färnstrand1-2/+0
2025-07-22Remove #[allow(unused_variables)] from settings migrationLinus Färnstrand1-1/+0
2025-07-22Remove unused code from settings migrationLinus Färnstrand2-66/+0
2025-07-15Allow some unused structsMarkus Pettersson2-0/+2
Do not modify closed migration code.
2025-07-15Run `cargo fmt`Markus Pettersson2-13/+12
2025-07-15Run `crago +nightly clippy --fix`Markus Pettersson10-139/+127
2025-07-15Prevent hickory-resolver from reading hosts fileKalle Lindström1-0/+1
Reading /etc/hosts causes OOM issues if the hosts files on the device is large (e.g. > 10 MB). We should not need to read the hosts files because the only lookups we do with hickory are to our own services which should not be resolved from /etc/hosts.