| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2024-04-04 | Upgrade h2 to non-vulnerable version RUSTSEC-2024-0332 | Linus Färnstrand | 1 | -2/+2 | |
| 2024-04-03 | Enable single-use-lifetimes rustc lint | Linus Färnstrand | 1 | -0/+1 | |
| Removes superfluous lifetime definitions. Simplifying the code | |||||
| 2024-04-02 | Enable more of the Allowed-by-default lints in rustc | Linus Färnstrand | 1 | -1/+9 | |
| * macro_use_extern_crate - Forbid #[macro_use] to bring macros into global scope. Even using `extern crate` is deprecated by now, so just extra protection against that * explicit_outlives_requirements - Warn aginst explicit lifetime bounds that can be inferred from the code. Keeps noise away. * absolute_paths_not_starting_with_crate - Catches Rust 2015 style absolute paths and denies them. * missing_abi - Force explicitly stating the ABI of `extern` items. Less implicit code * unused_lifetimes - Warn if you have lifetimes that are not used. Same reason as warning against unused variables * unused_macro_rules - Warn if you have a declarative macro with a rule that is never used. Basically same reason as warning on unused variables. Removes dead code | |||||
| 2024-04-02 | Deny non-ascii Rust identifiers | Linus Färnstrand | 1 | -0/+5 | |
| Prevents some cases of supply chain attacks where code is made to look like one thing, but does something else | |||||
| 2024-03-27 | Refactor `mullvad-relay-selector` | Markus Pettersson | 5 | -32/+44 | |
| Implement a system built on 'queries' for selecting appropriate relays. A query is a set of constraints which dictates which relay(s) that *can* be chosen by the relay selector. The user's settings can naturally be expressed as a query. The semantics of merging two queries in a way that always prefer user settings is defined by the new `Intersection` trait. Split `mullvad-relay-selector` into several modules: - `query.rs`: Definition of a query on different types of relays. This module is integral to the new API of `mullvad-relay-selector` - `matcher.rs`: Logic for filtering out candidate relays based on a query. - `detailer.rs`: Logic for deriving connection details for the selected relay. - `tests/`: Integration tests for the new relay selector. These tests only use the public APIs of `RelaySelector` and make sure that the output matches the expected output in different scenarios. | |||||
| 2024-03-26 | Update [deny] section of the deny.toml files | Linus Färnstrand | 1 | -4/+0 | |
| 2024-03-26 | Update [advisories] section of our deny.toml files to version 2 | Linus Färnstrand | 1 | -5/+1 | |
| 2024-03-26 | Update and align [sources] section of our deny.toml files | Linus Färnstrand | 1 | -4/+9 | |
| 2024-03-26 | Update [licenses] section of deny.toml to version 2 | Linus Färnstrand | 1 | -8/+2 | |
| 2024-03-26 | Update cargo deny targets | Linus Färnstrand | 1 | -8/+11 | |
| Adds Android and iOS targets | |||||
| 2024-03-26 | Enter blocking state correctly in upgrade test | David Lönnhager | 1 | -2/+1 | |
| 2024-03-25 | Make sure connecting works while API is unavailable | Markus Pettersson | 4 | -45/+109 | |
| 2024-03-25 | Bump dependencies | Markus Pettersson | 2 | -35/+24 | |
| Get rid of transitive dependency on `is-terminal` and `termcolor` | |||||
| 2024-03-25 | Upgrade `plist` | Markus Pettersson | 2 | -28/+35 | |
| 2024-03-22 | Bump "rust-version" to 1.77 since the containers use that now | Linus Färnstrand | 1 | -1/+1 | |
| 2024-03-21 | Fix wonky timeouts in test_split_tunnel | Joakim Hulthe | 1 | -3/+14 | |
| 2024-03-21 | Upgrade is-terminal to get rid of runtime rustix dependency | Linus Färnstrand | 1 | -4/+70 | |
| 2024-03-21 | Upgrade rustix to fix GHSA-c827-hfw6-qwvm | Linus Färnstrand | 1 | -10/+9 | |
| Fixing hypothetical denial of service due to ever growing memory usage. Not possible to exploit in our app. 2/3 usages is in build dependencies. Only usage inside the built app is via is-terminal which does not use `rustix::fs::Dir`. https://osv.dev/vulnerability/GHSA-c827-hfw6-qwvm | |||||
| 2024-03-20 | Merge test_mtu_detection_{windows,linux} tests | Joakim Hulthe | 1 | -18/+2 | |
| 2024-03-20 | Test leaking TCP/UDP/ICMP packets in split tunnel | Joakim Hulthe | 20 | -172/+863 | |
| 2024-03-20 | Group platform split tunnel tests under one test | Joakim Hulthe | 1 | -4/+15 | |
| 2024-03-20 | Add split tunnel test for windows | Joakim Hulthe | 1 | -25/+96 | |
| 2024-03-20 | Add am-i-mullvad cli for testing split tunneling | Joakim Hulthe | 6 | -7/+225 | |
| 2024-03-20 | Make OVMF paths configurable per VM | Joakim Hulthe | 2 | -8/+36 | |
| 2024-03-20 | Use curl for split tunnel test | Joakim Hulthe | 1 | -8/+13 | |
| 2024-03-20 | Refactor test_macro error handling without panics | Joakim Hulthe | 3 | -88/+107 | |
| 2024-03-20 | Make e2e tests accept anyhow errors | Joakim Hulthe | 5 | -20/+18 | |
| 2024-03-20 | Add basic split-tunnel test | Joakim Hulthe | 2 | -1/+60 | |
| 2024-03-20 | Refactor forward_messages to use select macro | Joakim Hulthe | 1 | -28/+29 | |
| 2024-03-13 | Run `cargo deny` in `test` workspace | Markus Pettersson | 1 | -0/+98 | |
| Security advisories`RUSTSEC-2023-0081` makes `cargo deny` fail when running it from the test workspace. No fixes have been released for any of our dependencies which triggers these security advisories, so we have litle choise other than ignoring them for now and keeping an eye out for updates upstream. | |||||
| 2024-03-12 | Update test-manager dep `inventory` | Joakim Hulthe | 4 | -52/+16 | |
| 2024-03-08 | Add wrapped strings to error messages | Sebastian Holmin | 1 | -8/+8 | |
| 2024-03-08 | Add MTU detection integration test for Linux and Windows | Sebastian Holmin | 12 | -136/+360 | |
| Add dependency `scopeguard` for cleaning up nftables ruleset. | |||||
| 2024-03-08 | Add `.container` to `.gitignore` | Sebastian Holmin | 1 | -0/+1 | |
| 2024-03-05 | Fix shellcheck warnings and notes | Joakim Hulthe | 1 | -1/+1 | |
| 2024-03-05 | Upgrade mio to avoid RUSTSEC-2024-0019 | Linus Färnstrand | 1 | -2/+2 | |
| 2024-02-27 | Fix `clippy` lint 'suspicious_open_options' | Markus Pettersson | 1 | -0/+2 | |
| 2024-02-27 | Replace err_derive with thiserror | Joakim Hulthe | 18 | -232/+168 | |
| `err_derive` is unmaintained and will probably stop working with rust edition 2024. `thiserror` is almost a drop-in replacement. This commit simply replaces all occurences of `derive(err_derive::Error)` with `derive(thiserror::Error)` and fixes the attributes, but the Error and Display impls should be identical. | |||||
| 2024-02-20 | Move `relay_updater` to `mullvad-daemon` | Markus Pettersson | 1 | -13/+0 | |
| Move `mullvad-relay-selector::relay_updater` to the `mullvad-daemon`. The implications of this is that `mullvad-relay-selector` can drop the dependency on both `mullvad-api` and `tokio`, which brings down the total amount of dependencies when running a simple `Cargo check` from 250+ down to a mere 75. :-) | |||||
| 2024-02-19 | Fix redundant imports | David Lönnhager | 1 | -1/+1 | |
| 2024-02-16 | Refactor API access methods | David Lönnhager | 1 | -4/+1 | |
| 2024-02-16 | Run `import-settings` UI tests in test framework | Markus Pettersson | 1 | -0/+11 | |
| 2024-02-15 | Enable access method GUI test in e2e testing | Markus Pettersson | 4 | -19/+111 | |
| Since `test_custom_access_methods_ui` may fail after messing with the test runner environment, we want to fail fast and abort the entire test run if the test fails before managing to clean up. | |||||
| 2024-02-15 | Fix unhelpful error message | Markus Pettersson | 1 | -3/+4 | |
| 2024-02-15 | Add integration tests for API access methods | Markus Pettersson | 4 | -4/+108 | |
| Add Shadowsocks & SOCKS5 (remote) access method tests. Simply try to access the Mullvad API using these custom access methods. | |||||
| 2024-02-15 | Fix off-by-one error when choosing access method candidates | Markus Pettersson | 2 | -14/+15 | |
| 2024-02-15 | Update `test/Cargo.lock` | Markus Pettersson | 1 | -0/+29 | |
| 2024-02-08 | Bump `curve25519-dalek` to `4.1.2` | Markus Pettersson | 1 | -2/+2 | |
| 2024-02-08 | Bump `x25519-dalek` to `2.0.1` | Markus Pettersson | 1 | -2/+2 | |
| 2024-02-08 | Add local SOCKS bridge test | David Lönnhager | 1 | -1/+105 | |
