summaryrefslogtreecommitdiffhomepage
path: root/Cargo.lock
AgeCommit message (Collapse)AuthorFilesLines
2024-05-21Implement PQ PSKEmīls1-0/+2
2024-05-06Bump pest to 2.7.10David Lönnhager1-8/+8
2024-04-30Add initial split tunneling implementation for macOSDavid Lönnhager1-4/+100
2024-04-25Update windows-sysJoakim Hulthe1-13/+13
2024-04-25Run cargo update + use new base64Joakim Hulthe1-584/+660
2024-04-23Upgrade rustls to avoid RUSTSEC-2024-0336Linus Färnstrand1-12/+33
2024-04-19Bump hickory-dns version to 0.24.1David Lönnhager1-47/+13
The patch for handling shut down sockets is included
2024-04-19Bump pfctl to 0.4.6David Lönnhager1-2/+2
This includes a function to clear connection states
2024-04-16Add DAITA Windows client and updated tuncfgDavid Lönnhager1-0/+135
2024-04-04Add macros for implementing `Intersection` traitSebastian Holmin1-0/+11
2024-04-04Upgrade h2 to non-vulnerable version RUSTSEC-2024-0332Linus Färnstrand1-2/+2
2024-03-27Refactor `mullvad-relay-selector`Markus Pettersson1-3/+14
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-26Point the hickory-dns dependency to our own fork of the repoLinus Färnstrand1-3/+3
We should avoid depending on git repositories outside our own control. The hickory-dns organization or repository can go away at any point in time. That will make it way harder to re-build old versions of the app.
2024-03-21Upgrade is-terminal to get rid of runtime rustix dependencyLinus Färnstrand1-4/+4
2024-03-21Upgrade rustix to fix GHSA-c827-hfw6-qwvmLinus Färnstrand1-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-21Upgrade aes-gcm to fix CVE-2023-42811Linus Färnstrand1-2/+2
Only used via shadowsocks-rust, which is used for obfuscation by us. And we don't rely on the cryptographic security of obfuscation anyway, so this is not harmful to us, but good to upgrade away from vulns https://osv.dev/vulnerability/CVE-2023-42811
2024-03-18Coalesce changes to DNS on macOSDavid Lönnhager1-1/+0
2024-03-18Update trust-dns to fix spinning issueDavid Lönnhager1-95/+111
This also fixes the issue of not handling closed sockets gracefully
2024-03-13Log when select functions are called an unusual number of timesDavid Lönnhager1-0/+1
2024-03-07Bump nixAndrej Mihajlov1-17/+17
2024-03-07Update bitflags to v2Andrej Mihajlov1-1/+1
2024-03-05Upgrade mio to avoid RUSTSEC-2024-0019Linus Färnstrand1-2/+2
2024-02-27Replace err_derive with thiserrorJoakim Hulthe1-51/+51
`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-20Move `relay_updater` to `mullvad-daemon`Markus Pettersson1-4/+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-20Remove `parking_lot`Markus Pettersson1-1/+0
2024-02-15Swap out `talpid-core` for `talpid-future`Markus Pettersson1-1/+3
2024-02-15Add `talpid-future` crateMarkus Pettersson1-1/+10
Refactor some parts of `talpid-core` to `talpid-future`.
2024-02-14Fix talpid-time for iOS, add FFI for mullvad-apiEmīls1-0/+2
2024-02-12Fix `talpid_wireguard::unix::set_mtu` for macosSebastian Holmin1-2/+2
2024-02-08Bump `curve25519-dalek` to `4.1.2`Markus Pettersson1-2/+2
2024-02-08Bump `x25519-dalek` to `2.0.1`Markus Pettersson1-2/+2
2024-02-08Log version using `mullvad-nsis` in Windows installerMarkus Pettersson1-0/+1
Expose the functionally for calling `RtlGetVersion` from `talpid-platform-metadata` through `mullvad-nsis`. This is used for getting the Windows build version during the windows installer.
2024-02-08Remove `quicktest` dependency, replace usages with `proptest`.Sebastian Holmin1-22/+1
2024-02-08Add `proptest` dependencySebastian Holmin1-2/+87
2024-02-08Add automatic MTU detectionSebastian Holmin1-0/+71
2024-01-22Bump `clap` and `clap_complete`Sebastian Holmin1-15/+81
2024-01-18Upgrade h2 to fix RUSTSEC-2024-0003Linus Färnstrand1-3/+3
2024-01-12Update Cargo.lockMarkus Pettersson1-0/+1
2023-11-23Remove unused crate `env_logger`Sebastian Holmin1-1/+0
2023-10-25Update cargo lock fileJonatan Rhodin1-2/+2
2023-10-23Improve error handling for API requests that failed to due being offlineDavid Lönnhager1-0/+1
2023-10-20Add process module to talpid-windowsDavid Lönnhager1-0/+1
2023-10-20Move talpid-windows-net into talpid-windowsDavid Lönnhager1-12/+4
2023-10-20Move Event and Overlapped to talpid-windows crateDavid Lönnhager1-0/+8
2023-10-12Update OpenVPN monitorDavid Lönnhager1-2/+0
2023-10-11Remove dependency on `duct`Markus Pettersson1-1/+0
Remove the dependency on `duct` from `talpid-openvpn`, since we can use `tokio` to spawn processes instead.
2023-10-11Remove dependency `is-terminal` from `talpid-openvpn`Markus Pettersson1-1/+0
`std::io::IsTerminal` has been since Rust `1.70`, which allows us to migrate away from `is_terminal::IsTerminal`.
2023-10-09CleanupMarkus Pettersson1-1/+0
- General code cleanup - Fix some typos - Add some doc comments - Address several `TODO` comments - Fix `clippy` warnings - Removed unused dependency `mullvad-api` from `mullvad-cli` - Removed unused dependency `rand` from `mullvad-daemon` - Rename `mullvad proxy` to `mullvad api-access` - Rename `mullvad_types::api_access_method` -> `mullvad_types::access_method` - Remove unused `mullvad api-access edit` arguments - Fix `Display` for `ProxyConfig` printing arguments in the wrong order - Re-phrase `mullvad api-access test` - If the API call failed, point out which tested access method that did not work. - Fix missing `socket_bypass_tx` value for Android - Refactor `ApiAccessMethod` proto definition - Simplify protobuf definitions of `SOCKS5` api access methods - Remove the `Socks5` enum in favor of implementing `Socks5Local` and `Socks5Remote` directly. - Move `enabled` and `name` out of the individual messages and put them next to the `oneof access_method` in `ApiAccessMethod` proto definition - Use derived `PartialEq` and `Hash` from `AccessMethod` - Instead of hand-rolling `Hash` and implementing an ad-hoc version of half of `PartialEq`, these can now be derived and used as one would imaging due to the refactoring wherer `name` and `enabled` was moved out of `AccessMethod` into `ApiAccessMethod`.
2023-10-09Add `mullvad proxy` commandMarkus Pettersson1-0/+1
The `proxy` subcommand will allow for adding/deleting/editing/showing different API access methods using the mullvad CLI.
2023-10-09Add `Socks5` as a Proxy settingMarkus Pettersson1-0/+13
- Rename `InnerConnectionMode` variant `Proxied` to `Shadowsocks` - Move proxy/socket connection logic to `InnerConnectMode` impl block - Move `handle_x_connection` functions to `InnerConnectionMode` impl block - These functions does not need to be visible in the entire module, really. - Refactor some code into standalone functions - Mostly for visibilities' sake, but it also helps `rustc` with inferring the return type of each match arm inside of `stream_fut`.