summaryrefslogtreecommitdiffhomepage
path: root/mullvad-cli/src/cmds/status.rs
AgeCommit message (Collapse)AuthorFilesLines
2025-07-10Run `cargo fmt`Sebastian Holmin1-1/+1
2024-09-16Refactor `mullvad status listen` commandSebastian Holmin1-39/+9
2024-08-07Add --json flag to `mullvad status`Joakim Hulthe1-20/+36
2024-08-01Implement feature indicators in daemonJoakim Hulthe1-3/+9
- 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-07-18Fix burst daemon events being missedSebastian Holmin1-1/+2
The daemon event stream was reset between every item, which caused events that arrive while the previous item is being handled to be missed.
2024-01-18Update the tunnel state on lockdown mode change.Sebastian Holmin1-8/+17
The printing of lockdown mode by `mullvad status` does not reflect the current setting unless the tunnel state has also been updated.
2024-01-18Print if lockdown mode is enabled when disconnected for `mullvad status`Sebastian Holmin1-4/+7
Add `locked_down` field to disconnected tunnel state.
2024-01-08Add new internal daemon event `AccessMethodEvent`Markus Pettersson1-0/+5
Add a new `InternalDaemonEvent` for announcing when the current API access method changes.
2023-12-21Handle am.i.mullvad.net with internal daemon eventSebastian Holmin1-3/+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-43/+20
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-06-08Improve UX of CLI when user connects while not logged inMarkus Pettersson1-1/+19
If the user is *not* logged in to an active account, we will from now on issue a warning if they try to connect to a relay using `mullvad-cli`. Previously, we would silently just start blocking all internet traffic. This is well and good, as this is mandated by the state machine model. The huge issue is that the user was unaware about the current status of their connection without running further CLI commands or checking the GUI. As this is to be considered a frustrating edge case, we might as well try to help the user, since they can't look for answers on the world wide web.
2023-05-03Replace error handling in mullvad-cli with anyhowDavid Lönnhager1-2/+3
2023-05-03And gRPC interface wrapper and refactor CLI to use clap derive instead of ↵David Lönnhager1-99/+84
the builder
2023-01-30Run `cargo clippy --fix` with the new Rust 1.67 preferred formatLinus Färnstrand1-9/+9
2022-10-17Refactor CLI to use GeoIpLocation from mullvad-typesDavid Lönnhager1-8/+7
2022-10-17Refactor CLI to use TunnelState from mullvad-typesDavid Lönnhager1-3/+7
2022-05-05Rework output of status subcommand in CLIEmīls1-14/+12
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-04-08Make cli status verbose flag affect tunnel stateOskar Nyberg1-18/+26
2022-03-14Send an event when devices are explicitly revokedDavid Lönnhager1-0/+5
2022-03-14Remove keygen event remnantsDavid Lönnhager1-1/+1
2022-03-14Implement device conceptDavid Lönnhager1-3/+2
2022-02-14Upgrade clap to 3.0David Lönnhager1-8/+8
2021-01-28Rename GrpcClientErrorDavid Lönnhager1-1/+1
2020-10-09Move state formatting code to format.rsOskar Nyberg1-166/+4
2020-08-20Specify blocking failure in error stateEmīls1-1/+1
2020-08-20Remove ANY_PROTOCOL and ANY_TUNNEL from protobuf schemaDavid Lönnhager1-2/+0
2020-08-20Add mullvad-management-interface crate for IPC types and functionsDavid Lönnhager1-17/+17
2020-08-20Use gRPC for management interface in backend and CLIDavid Lönnhager1-63/+189
2020-08-04Add specific firewall policy errorsDavid Lönnhager1-2/+5
2019-12-09Update CLI to yell at user if the error state doesn't block trafficEmīls1-6/+15
2019-10-07Implement fetching app version every 24 hours and broadcast to frontendLinus Färnstrand1-0/+5
2019-09-09Don't talk to API by default in `mullvad status`Linus Färnstrand1-2/+15
2019-06-28Rename `StateTransition` event into `TunnelState`Janito Vaqueiro Ferreira Filho1-1/+1
2019-06-28Include location in `TunnelState`Janito Vaqueiro Ferreira Filho1-2/+2
2019-06-28Change how tunnel endpoint is broadcastedJanito Vaqueiro Ferreira Filho1-4/+4
2019-06-28Replace `TunnelState` alias with a new typeJanito Vaqueiro Ferreira Filho1-3/+3
2019-06-28Use `TunnelState` in `mullvad-cli`Janito Vaqueiro Ferreira Filho1-2/+2
2019-06-26Print keygen result in CLIEmīls Piņķis1-0/+5
2019-06-14Add linux specific message about firewall errors in CLIEmīls Piņķis1-0/+5
2019-06-05Print tunnel endpoint in CLIEmīls Piņķis1-2/+4
2019-04-15Convert errors in CLI away from error-chainLinus Färnstrand1-3/+3
2019-04-04Add #![deny(rust_2018_idioms)] to all crates and fix warningsLinus Färnstrand1-1/+1
2019-03-28Emit relay_list update events in the daemon subscriptionLinus Färnstrand1-10/+27
2019-03-27Change daemon to expose a single event subscriptionLinus Färnstrand1-10/+12
2019-03-26Get rid of clone/allocation in CLI location printingLinus Färnstrand1-6/+7
2019-03-26Send two GeoIP lookups, one over each IPvLinus Färnstrand1-4/+10
2019-02-14Use proper subscriptions in mullvad-ipc-clientEmīls Piņķis1-2/+8
2019-01-09Further improve get_current_location RPCEmīls Piņķis1-1/+7
2018-12-13Dont import all enum variants into the entire module scopeLinus Färnstrand1-4/+3
2018-12-13Activate the merge_imports rustfmt featureLinus Färnstrand1-2/+4