100 Commits
Author SHA1 Message Date
Joakim Hulthe cce74d1894 Merge branch 'mullvad-api-small-fixes' 2026-09-28 13:03:45 +02:00
Joakim Hulthe d03ba0e39d Make select! more organized 2026-09-28 13:02:37 +02:00
Joakim Hulthe ebf7bd6b3e Use biased selects to improve reset behavior 2026-09-28 13:02:36 +02:00
Joakim Hulthe dd0ea13e79 Fix number of retries 2026-09-28 13:02:30 +02:00
Joakim Hulthe 4dea57b9c9 Merge branch 'changelog-add-domain-fronting' 2026-09-24 18:09:48 +02:00
Joakim Hulthe 97a2d67a38 Add domain fronting to changelog 2026-09-24 17:56:32 +02:00
Joakim Hulthe ae9804496e Merge branch 'domain-fronting-2' 2026-09-24 17:32:34 +02:00
Joakim Hulthe b7d7f0243d Fix mullvad-api: Use origin-form URLs 2026-09-24 17:25:24 +02:00
Joakim Hulthe f4760cf048 Add retry_future2 and use it in iOS api client 2026-09-24 17:25:23 +02:00
Joakim Hulthe 851abed14c Add mockito tests for RequestService 2026-09-24 17:25:22 +02:00
Joakim Hulthe a485c29e42 Fix is_offline downcast 2026-09-24 17:25:22 +02:00
Joakim Hulthe cb4ee7e0ca Retry request if access token has expired 2026-09-24 17:25:21 +02:00
Joakim Hulthe 6a94bbe2ab Remove last use of hyper_util::client::legacy 2026-09-24 17:25:20 +02:00
Joakim Hulthe 6b7189dee0 Use separate RequestServices for IPv4/IPv6 geoip lookups 2026-09-24 17:25:20 +02:00
Joakim Hulthe 3ed863415e Derive debug for HttpsConnector 2026-09-24 17:25:19 +02:00
Joakim Hulthe 9c47c3c9f5 Demote AccessTokenStore from being an actor 2026-09-24 17:25:18 +02:00
Joakim Hulthe ffc1065d6e Remove InnerConnectionMode from https_client.rs 2026-09-24 17:25:17 +02:00
Joakim Hulthe 44665fc37b Simplify HttpsConnector and RequestService 2026-09-24 17:25:17 +02:00
Joakim Hulthe 1b298ee8cd Remove RequestHandler actor 2026-09-24 17:25:16 +02:00
Joakim Hulthe c199c36627 Move cdn connect to domain_fronting 2026-09-24 17:25:14 +02:00
Joakim Hulthe 1e82e33a47 Use a lower http idle timeout for domain fronting 2026-09-24 17:25:13 +02:00
Joakim Hulthe 086088bc55 Update to domain fronting 0.2 2026-09-24 17:25:12 +02:00
Joakim Hulthe 934a12b98f Log failing API request host 2026-09-24 17:25:11 +02:00
Joakim Hulthe c9ccc9c6e0 Update DomainFronting access method to use new Info components 2026-09-24 17:25:11 +02:00
Joakim Hulthe 945888de24 Add tracing instrumentation to mullvad-api 2026-09-24 17:25:10 +02:00
Joakim Hulthe 028c08627a Remove dead code 2026-09-24 17:25:09 +02:00
Joakim Hulthe 68ed7a563a Revert "Merge branch 'yank-domain-fronting'
This reverts commit `2e4690a9334c296b466dd4d638c214cbfdfd2bcf`, and
rebases it on `main`. `main` has shifted a lot, so this commit includes
lots of conflict resolutions.
2026-09-24 17:25:08 +02:00
Joakim Hulthe eee066b14b Merge branch 'fix-double-daita' 2026-06-16 15:02:06 +02:00
Joakim Hulthe 1770c5d01f Fix multihop double-DAITA 2026-06-16 14:51:52 +02:00
Joakim Hulthe 7fbfc38824 Merge branch 'fix-cgroups-error-message' 2026-06-09 10:43:50 +02:00
Joakim Hulthe 1ae051499f Fix message about missing cgroup support
This message was prematurely updated before v2 support was finished
2026-06-09 10:37:00 +02:00
Joakim Hulthe 0e2c17b8d7 Merge branch 'require-ct-established-for-custom-dns' 2026-06-08 10:22:00 +02:00
Joakim Hulthe 9aac4c0adf Add ct state established to custom dns nft rule
The previous DNS rules for custom LAN DNS were a bit too relaxed, and
allowed all incoming packets from `<dns_resolver>:53`. This change
requires that an outgoing connection is established first (e.g. a DNS
request is sent), before we accept reply packets to the source port.

Essentially, given a custom dns resolver at `fe80::1`,
this would change the following nftables rules:

    iif != "wg0-mullvad" udp sport 53 ip6 saddr fe80::1 accept
    iif != "wg0-mullvad" tcp sport 53 ip6 saddr fe80::1 accept

...to this:

    iif != "wg0-mullvad" udp sport 53 ip6 saddr fe80::1
        ct state established accept
    iif != "wg0-mullvad" tcp sport 53 ip6 saddr fe80::1
        ct state established accept
2026-06-08 10:18:48 +02:00
Joakim Hulthe d9aea17cbc Tell jemalloc to assume 64KiB page size on ARM Linux 2026-05-28 10:03:40 +02:00
Joakim Hulthe f23169ce64 Merge branch 'yank-domain-fronting' 2026-05-20 12:24:32 +02:00
Joakim Hulthe feae9e0f69 Revert "Add domain fronting to iOS"
This reverts commit ddc471b25b.
2026-05-20 12:17:39 +02:00
Joakim Hulthe 28e51a9bbf Revert "Add support for domain fronting api access method"
This reverts commit c243130eb3.
2026-05-20 12:17:38 +02:00
Joakim Hulthe 93d30f90b2 Remove domain fronting
Domain fronting has a critical bug. This removes or disables the
domain-fronting implementation.

Revert this commit after fixing the issue.
2026-05-20 12:17:27 +02:00
Joakim Hulthe 86a5e64a40 Ignore bincode deprecation advisory in /test also 2026-05-18 15:21:35 +02:00
Joakim Hulthe 96431baade Make async-tempfile a linux-only dependency 2026-05-18 15:21:34 +02:00
Joakim Hulthe 1a40056191 Run tart stop before tart delete 2026-05-18 15:21:34 +02:00
Joakim Hulthe a2583edcb7 Merge branch 'fix-multihop-illustration' 2026-05-15 13:56:51 +02:00
Joakim Hulthe 770549cff6 Fix missing gradient in multihop illustration 2026-05-15 12:11:36 +02:00
Joakim Hulthe 3d8feec5d8 Merge branch 'clarify-core-foundation-main-loop-error' 2026-05-13 14:37:29 +02:00
Joakim Hulthe 95bd8eeb3b Merge branch 'use-restartkillsignal-to-detect-systemctl-restart-des-2977' 2026-05-11 11:40:06 +02:00
Joakim Hulthe a15b0eecd2 Add SIGUSR1 feature to CHANGELOG.md 2026-05-11 11:14:24 +02:00
Joakim Hulthe f2282386a4 Set RestartKillSignal=SIGUSR1 in daemon systemd service 2026-05-11 11:14:24 +02:00
Joakim Hulthe d7944e34ab Add SIGUSR1 handler for safely stopping the deamon before a restart 2026-05-11 11:14:24 +02:00
Joakim Hulthe ab9d25cba8 Make PrepareRestart a struct variant 2026-05-11 10:56:47 +02:00
Joakim Hulthe f8eb8a09cd Add Daemon::commands method 2026-05-11 10:56:47 +02:00
Joakim Hulthe 0367e1488e Merge branch 'update-deps' 2026-04-29 11:32:12 +02:00
Joakim Hulthe bb2df1ba83 Remove unnecessary unsafe 2026-04-29 11:21:33 +02:00
Joakim Hulthe 28b601d417 Add paste to advisories.ignore
The most recent version of `netlink-packet-core` reverted back to using
`paste` over `pastey` because the latter not "proven by the community".

https://crates.io/crates/netlink-packet-core
https://crates.io/crates/paste
https://crates.io/crates/pastey
2026-04-29 11:21:33 +02:00
Joakim Hulthe 19214ad6c5 Fix warnings in router.rs tests 2026-04-29 11:21:33 +02:00
Joakim Hulthe 519abc46af Run carge update in test workspace 2026-04-29 11:21:32 +02:00
Joakim Hulthe fa7e3bff1e Fix warning is disconnecting_state.rs 2026-04-29 11:21:32 +02:00
Joakim Hulthe 24adf4c52f Update nftnl dependency 2026-04-29 11:21:31 +02:00
Joakim Hulthe 74212e3034 Update nix dependency 2026-04-29 11:21:30 +02:00
Joakim Hulthe d202e8d652 Update netlink dependencies 2026-04-29 11:21:30 +02:00
Joakim Hulthe efd9f496db Run cargo update 2026-04-29 11:21:29 +02:00
Joakim Hulthe 3df0c826ec Update udp-over-tcp 2026-04-29 11:21:28 +02:00
Joakim Hulthe 001a6dde36 Merge branch 'update-copyright-notices-ios' 2026-04-27 15:08:42 +02:00
Joakim Hulthe cc9af4072d Update copyright year in swift files 2026-04-27 15:03:56 +02:00
Joakim Hulthe 11fdef10bf Merge branch 'more-logout-logs' 2026-04-15 13:20:42 +02:00
Joakim Hulthe f054446635 Merge branch 'log-failure-reason-in-test-detect-app-removal' 2026-04-07 11:58:12 +02:00
Joakim Hulthe e9feccf39a Log failure reason in test_detect_app_removal 2026-04-07 11:38:45 +02:00
Joakim Hulthe 06b31e8080 Merge branch 'changelog-fixes' 2026-04-02 13:54:22 +02:00
Joakim Hulthe 0b7366c1c7 Reword RISC-V changelog entry to avoid using term 'support' 2026-04-02 13:54:01 +02:00
Joakim Hulthe 5af447df8c Fix typo in changelog 2026-04-02 13:54:01 +02:00
Joakim Hulthe 2bebe7299a Fix gotatun version in changelog entry 2026-04-02 13:54:00 +02:00
Joakim Hulthe fdb9bba67a Merge branch 'update-gotatun' 2026-03-26 13:21:35 +01:00
Joakim Hulthe 6109f5eaf0 Update gotatun to 0.5.0
This release:
- Adds jitter to the handshake interval. Good for correctness.
- Fixes a bug on linux. Will be good to have this fix for when we ship
  GotaTun on linux.

[Changelog](https://github.com/mullvad/gotatun/blob/v0.5.0/CHANGELOG.md)
2026-03-26 13:20:38 +01:00
Joakim Hulthe ece8db4ab9 Merge branch 'zeroize-psk-data-on-err' 2026-03-10 16:11:06 +01:00
Joakim Hulthe 571cd0c91a Ensure we always zeroize psk buffer
This fixes an issue where the buffer isn't zeroed if
`hqc_keypair.decapsulate()?` returns an error.
2026-03-10 15:59:43 +01:00
Joakim Hulthe 27039143d3 Merge branch 'check-rust-docs' 2026-03-04 17:38:05 +01:00
Joakim Hulthe a61e0692be Fix broken docstrings in talpid-windows 2026-03-04 15:53:41 +01:00
Joakim Hulthe 487dcc46bf Fix broken docstrings in talpid-routing 2026-03-04 15:53:41 +01:00
Joakim Hulthe 5557cddd62 Fix broken docstrings in talpid-core 2026-03-04 15:53:41 +01:00
Joakim Hulthe 62f72592c0 Fix broken docstrings in windows-utils 2026-03-04 15:53:40 +01:00
Joakim Hulthe 19f8cf0504 Fix unescaped html tag 2026-03-04 15:53:40 +01:00
Joakim Hulthe 4b5411d321 Fix broken docstrings in tunnel-obfuscation 2026-03-04 15:53:39 +01:00
Joakim Hulthe fa1cfc4684 Fix broken docstrings in talpid-wireguard 2026-03-04 15:53:39 +01:00
Joakim Hulthe 3b3245d7bf Fix broken docstrings in mullvad-types 2026-03-04 15:53:39 +01:00
Joakim Hulthe 9ebe6522cc Fix broken docstrings in mullvad-leak-checker 2026-03-04 15:53:38 +01:00
Joakim Hulthe 95644d2653 Fix broken docstrings in mullvad-encrypted-dns-proxy 2026-03-04 15:53:38 +01:00
Joakim Hulthe 54c0697462 Fix broken docstrings in nseventforwarder-rs 2026-03-04 15:53:37 +01:00
Joakim Hulthe 790f0b4996 Fix broken docstrings in mullvad-cli 2026-03-04 15:53:37 +01:00
Joakim Hulthe b9f5daa925 Fix broken docstrings in mullad-relay-selector 2026-03-04 15:53:37 +01:00
Joakim Hulthe cede128674 Fix broken docstrings in mullvad-update 2026-03-04 15:53:36 +01:00
Joakim Hulthe 7bbd513545 Fix broken docstrings in mullvad-daemon 2026-03-04 15:53:34 +01:00
Joakim Hulthe 28611b3df0 Fix broken docstrings in mullvad-api 2026-03-04 15:49:22 +01:00
Joakim Hulthe 8fbdafe47d Ensure cargo always outputs in color in CI 2026-03-04 15:49:21 +01:00
Joakim Hulthe e059faff6c Allow private-intra-doc-links in CI 2026-03-04 15:49:20 +01:00
Joakim Hulthe 9d84078c9d Make rustdoc workflow trigger paths inclusive 2026-03-04 15:49:13 +01:00
Joakim Hulthe ed4c87ad97 Add github workflow that checks rust docs 2026-03-04 15:48:48 +01:00
Joakim Hulthe 895b4378b2 Handle UnknownObject gracefully 2026-03-02 17:16:59 +01:00
Joakim Hulthe 159c958783 Handle UnknownMethod gracefully 2026-03-02 17:16:59 +01:00
Joakim Hulthe 9994d5dcfa Add test for org.freedesktop.resolve1.Manager DNS property 2026-03-02 17:16:59 +01:00
Joakim Hulthe 88e028b67f Use #[zbus::proxy] in systemd_resolved 2026-03-02 17:16:59 +01:00
Joakim Hulthe 521acb024e Add libdbus feature to talpid-dbus 2026-03-02 17:16:58 +01:00