summaryrefslogtreecommitdiffhomepage
path: root/mullvad-cli/src/cmds/tunnel.rs
AgeCommit message (Collapse)AuthorFilesLines
2025-07-10Run `cargo fmt`Sebastian Holmin1-1/+1
2025-07-08Inline variables in format stringLinus Färnstrand1-1/+1
A new clippy lint warns about this. A simple cargo clippy --fix solved it
2025-06-09Add `AllowedIps` setting to CLISebastian Holmin1-0/+36
2024-10-07Rename "smart routing" to "direct only" in the APISebastian Holmin1-9/+9
Also invert the behavior
2024-09-17Align Smart routing GUI with design specJoakim Hulthe1-8/+9
2024-09-17Remove daita cfg from mullvad-cliJoakim Hulthe1-11/+2
2024-09-17Add daita.enabled and daita.use_anywhere rpc callsJoakim Hulthe1-8/+17
2024-09-17Add `use_anywhere` daita settingJoakim Hulthe1-2/+5
2024-06-25Add `daita` as a Cargo cfg variableMarkus Pettersson1-7/+7
Gate DAITA compilation on `"cargo::rustc-cfg=daita"` emitted in build files per platform.
2024-06-25Enable DAITA for linux in CLI and typesSebastian Holmin1-7/+7
2024-04-16Add DAITA Windows client and updated tuncfgDavid Lönnhager1-1/+28
2024-03-27Refactor `mullvad-relay-selector`Markus Pettersson1-1/+1
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.
2023-08-21Add macro for indenting options in the CLIDavid Lönnhager1-27/+23
2023-05-03Overthink boolean optionsDavid Lönnhager1-12/+6
2023-05-03Replace error handling in mullvad-cli with anyhowDavid Lönnhager1-1/+2
2023-05-03And gRPC interface wrapper and refactor CLI to use clap derive instead of ↵David Lönnhager1-383/+156
the builder
2023-04-26Fix remaining clippy warningsDavid Lönnhager1-1/+1
2023-03-27Fix many typosAlexander Seiler1-1/+1
Signed-off-by: Alexander Seiler <seileralex@gmail.com>
2023-02-28Allow cli to turn on PQ while MH is onJonathan1-21/+0
2023-02-21Make quantum-resistant tunnel optional in mullvad layerDavid Lönnhager1-8/+27
2023-01-30Remove "EXPERIMENTAL" from the quantum-resistant-tunnel CLI commandLinus Färnstrand1-1/+1
We still don't expose it in the UI. But we are now using the supposedly stable endpoint on the servers. It has worked really well so far, so we can probably be a bit less alarmist about it.
2023-01-30Run `cargo clippy --fix` with the new Rust 1.67 preferred formatLinus Färnstrand1-2/+2
2022-09-27Update tonic to 0.8Emīls Piņķis1-3/+4
2022-09-27Fix clippy complaintsEmīls Piņķis1-1/+1
2022-06-27Only check multihop state when enabling PQDavid Lönnhager1-19/+21
2022-06-14Add option for enabling PQ PSK exchange to CLI and gRPC serviceDavid Lönnhager1-0/+56
2022-03-14Remove keygen event remnantsDavid Lönnhager1-2/+2
2022-03-14Implement device conceptDavid Lönnhager1-9/+2
2022-02-14Upgrade clap to 3.0David Lönnhager1-77/+69
2021-11-29Reformat code without blank_lines_upper_bound = 2Linus Färnstrand1-1/+0
2021-09-28Enable wireguard-nt with temporary CLI switchDavid Lönnhager1-2/+53
2021-03-25Display default rotation interval in CLIDavid Lönnhager1-6/+17
2021-03-25Use mandatory key rotation interval with limited rangeDavid Lönnhager1-5/+10
2021-01-28Rename GrpcClientErrorDavid Lönnhager1-2/+2
2021-01-28Specify exactly what failed in the CLI when multiple RPCs may failDavid Lönnhager1-2/+6
2020-12-01Name arguments that can be on or off consistentlyDavid Lönnhager1-2/+2
2020-09-24Show timezone for timestamps in the CLIDavid Lönnhager1-1/+3
2020-08-20Remove key rotation interval calculation from management interfaceDavid Lönnhager1-4/+6
2020-08-20Add mullvad-management-interface crate for IPC types and functionsDavid Lönnhager1-15/+15
2020-08-20Use gRPC for management interface in backend and CLIDavid Lönnhager1-93/+113
2020-04-22Replace simple getters with direct field accessJanito Vaqueiro Ferreira Filho1-1/+1
2019-12-17Rename 'key generate' to 'key regenerate' in the CLIDavid Lönnhager1-2/+2
2019-12-17Improve key rotation CLIDavid Lönnhager1-17/+17
2019-12-17Format Rust codeDavid Lönnhager1-2/+5
2019-12-17Add CLI interface for configuring automatic wg key rotationDavid Lönnhager1-0/+47
2019-09-17Display age of creation for WireGuard key in CLIEmīls Piņķis1-1/+5
2019-09-02Change WireGuard keys to singular keyLinus Färnstrand1-1/+1
2019-06-26Print keygen result in CLIEmīls Piņķis1-1/+5
2019-06-12Fix various things clippy pointed out in CLILinus Färnstrand1-2/+2
2019-05-28Remove proxy subcommand from tunnelEmīls Piņķis1-248/+1