summaryrefslogtreecommitdiffhomepage
path: root/mullvad-cli/src/format.rs
AgeCommit message (Collapse)AuthorFilesLines
2025-09-18Add multiplexer POC to daemon, TSM, and relay selectorDavid Lönnhager1-7/+32
2025-09-08Fix lint `clippy::implicit_clone`Markus Pettersson1-1/+1
2025-07-10Run `cargo fmt`Sebastian Holmin1-9/+3
2025-07-08Inline variables in format stringLinus Färnstrand1-3/+3
A new clippy lint warns about this. A simple cargo clippy --fix solved it
2025-02-12Run `cargo +beta fix --edition`Sebastian Holmin1-3/+3
2025-02-10Sort alphabetically as a fallbackSebastian Holmin1-1/+1
Items are sorted by length, which is a hack that happens to put important items first. Since `Tunnel type` and `Bridge type` have the same string lengths, they could be outputted randomly.
2024-09-19Fix `mullvad status -v` not printing udp2tcp port and transport protocolMarkus Pettersson1-7/+16
2024-09-16Refactor `mullvad status listen` commandSebastian Holmin1-139/+194
2024-08-01Implement feature indicators in daemonJoakim Hulthe1-26/+28
- Add a GetFeatureIndicators gRPC call that get's the current set of active "features" that should be shown in the UI. - Extend the TunnelState with a FeatureIndicators value. Clients who listens for TunnelState events will get updates automatically.
2024-06-25Add `daita` as a Cargo cfg variableMarkus Pettersson1-2/+2
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-2/+2
2024-06-20Add `PrepareRestartv2` gRPC callMarkus Pettersson1-0/+15
- Add option to automatically shutdown daemon on after running through the same safety routine as `PrepareRestart`. This is exposed via a new gRPC call called `PrepareRestartV2`. - Add help text for enabling full disk access to the CLI
2024-04-16Add DAITA Windows client and updated tuncfgDavid Lönnhager1-1/+12
2024-01-18Print if lockdown mode is enabled when disconnected for `mullvad status`Sebastian Holmin1-3/+13
Add `locked_down` field to disconnected tunnel state.
2023-12-21Handle am.i.mullvad.net with internal daemon eventSebastian Holmin1-1/+1
Add `geoip::GeoIpHandler`, which sends an `InternalDaemonEvent::LocationEvent` when the location arrives. It also handles aborting in-flight requests and retries.
2023-12-21Remove `GetCurrentLocation`.Sebastian Holmin1-1/+24
Make the daemon send two tunnel state updates, one with out IP being empty, and another with it being filled when am.i.mullvad.net responds. Update CLI for this change. Other front ends are left out.
2023-08-21Add macro for indenting options in the CLIDavid Lönnhager1-0/+10
2023-05-24Add tunnel interface to output of `mullvad status`Markus Pettersson1-0/+5
Print the name of the tunnel interface when the app is in a connected state and the user requests verbose output by running `mullvad status -v`. To accomplish this, the state machine needs attach more metadata about the tunnel state when transitioning to the `Connected` state than prior to this change.
2023-01-30Run `cargo clippy --fix` with the new Rust 1.67 preferred formatLinus Färnstrand1-4/+4
2022-11-29Parse new AuthFailed error correctly in the CLIDavid Lönnhager1-1/+21
2022-10-17Refactor CLI to use TunnelState from mullvad-typesDavid Lönnhager1-166/+64
2022-10-07Handle empty location in CLIEmīls Piņķis1-17/+39
2022-09-02Include port in 'mullvad status -v' when connected over TCPDavid Lönnhager1-3/+4
2022-06-22Make CLI output for PQ status more user-friendlyDavid Lönnhager1-7/+5
2022-06-14Output whether quantum resistant tunnels are enabled in CLIDavid Lönnhager1-1/+10
2022-06-13Perform a clippy --fixjonathan1-3/+3
This is a giant commit which performs only a clippy --fix. Auditing can happen in two ways, either by reading every line or by running a `cargo clippy --fix` on the previous commit and make sure that the result is the same.
2022-05-31fix minor typo Deamon -> DaemonLinus Färnstrand1-1/+1
2022-05-05Rework output of status subcommand in CLIEmīls1-79/+121
The output of the status command is reworked to show hostnames instead of IP addresses and trim the fat. The extra information (tunnel protocols, IP addrresses) are now available with the verbose flag.
2022-03-28Format a protocol as "/TCP" instead of "over TCP"Linus Färnstrand1-4/+4
This has the following benefits: * It's a somewhat standard way of representing such a thing * It's shorter * It ties the protocol closer to the SocketAddr data it's associated to
2022-03-24Add CLI commands for configuring obfuscationEmīls1-1/+20
2022-03-14Remove keygen event remnantsDavid Lönnhager1-20/+1
2021-07-02Notify tunnel of errors while registering addresses in driverDavid Lönnhager1-0/+2
2021-05-17Include entry endpoint in 'mullvad status' and TunnelEndpoint typeDavid Lönnhager1-15/+35
2021-04-13Substitute 'invalid' for 'unknown' where appropriateDavid Lönnhager1-4/+4
2020-11-24Find virtual adapter dynamicallyDavid Lönnhager1-1/+0
2020-10-09Move state formatting code to format.rsOskar Nyberg1-1/+161
2020-08-20Add mullvad-management-interface crate for IPC types and functionsDavid Lönnhager1-2/+2
2020-08-20Use gRPC for management interface in backend and CLIDavid Lönnhager1-0/+20