summaryrefslogtreecommitdiffhomepage
path: root/mullvad-cli/src/cmds
AgeCommit message (Collapse)AuthorFilesLines
2023-06-08Improve UX of CLI when user connects while not logged inMarkus Pettersson2-1/+50
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-24Print `mullvad-app` version even if `mullvad-daemon` is downMarkus Pettersson1-9/+18
Previously, if `mullvad-cli` could not establish a connection to `mullvad-daemon` for any reason, running `mullvad version` would not print any version information whatsoever. Now we do print the current build version of `mullvad-app`, which may or may not be in sync with the installed version of `mullvad-daemon`. We use the `mullvad-version` crate to figure out an appropriate response in case `mullvad-daemon` is down.
2023-05-22Use non-blocking I/O for account token inputDavid Lönnhager1-1/+11
2023-05-22Trim private key input correctlyDavid Lönnhager1-1/+2
2023-05-03Overthink boolean optionsDavid Lönnhager8-92/+103
2023-05-03Replace error handling in mullvad-cli with anyhowDavid Lönnhager16-72/+53
2023-05-03Clean up conversion from base64 to key typesDavid Lönnhager1-7/+5
2023-05-03And gRPC interface wrapper and refactor CLI to use clap derive instead of ↵David Lönnhager22-2815/+1751
the builder
2023-04-26Fix remaining clippy warningsDavid Lönnhager2-2/+2
2023-03-27Fix many typosAlexander Seiler3-3/+3
Signed-off-by: Alexander Seiler <seileralex@gmail.com>
2023-02-28Allow cli to turn on PQ while MH is onJonathan2-41/+0
2023-02-21Make quantum-resistant tunnel optional in mullvad layerDavid Lönnhager2-11/+34
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ärnstrand9-23/+23
2022-11-07Split up talpid-coreEmīls Piņķis1-0/+2
2022-10-21Change name from always require VPN to Lockdown mode in CLIOskar Nyberg1-4/+4
2022-10-17Split gRPC conversions into submodules analogous to modules in the types cratesDavid Lönnhager1-6/+11
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önnhager4-13/+16
2022-10-10Adapt all crates to use mullvad-versionLinus Färnstrand1-2/+2
2022-09-27Update tonic to 0.8Emīls Piņķis1-3/+4
2022-09-27Fix clippy complaintsEmīls Piņķis8-13/+13
2022-07-11Validate WireGuard port selection in the CLIDavid Lönnhager1-2/+20
2022-07-11Return RelayList object instead of a stream in proto fileDavid Lönnhager2-4/+4
2022-07-07Update CLI to handle new relay typeDavid Lönnhager2-12/+5
2022-06-27Only check multihop state when enabling PQDavid Lönnhager2-22/+24
2022-06-14Manually fix the simpler non-semantic clippy warnsJonathan1-3/+2
This commit tries to manually fix the clippy warnings that are fairly straightforward and do not have rippling effects on the codebase nor have a very high chance of causing bugs.
2022-06-14Track excluded processes and add CLI command for listing them on WindowsDavid Lönnhager1-0/+41
2022-06-14Add option for enabling PQ PSK exchange to CLI and gRPC serviceDavid Lönnhager2-1/+74
2022-06-13Perform a clippy --fixjonathan3-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-25Update CLI to sort devices chronologically and list creation timestampsDavid Lönnhager1-1/+12
2022-05-12Update RPCs to handle device states and event variantsDavid Lönnhager1-34/+41
2022-05-09Add server ownership constraint to the daemon and CLIDavid Lönnhager2-4/+86
2022-05-05Rework output of status subcommand in CLIEmīls4-17/+15
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-25Extend DNS blocking in CLIOdd Stranne1-0/+23
2022-04-14Clarify that `mullvad bridge` also affects API connectivityLinus Färnstrand1-1/+2
2022-04-14Improve and change output of `mullvad obfuscation get`Linus Färnstrand1-15/+11
Somewhat refactors how some obfuscation related types display themselves
2022-04-14Improve help text for bridge and obfuscation subcommandsLinus Färnstrand3-4/+15
2022-04-08Make cli status verbose flag affect tunnel stateOskar Nyberg1-18/+26
2022-04-05Improve CLI version output slightlyDavid Lönnhager1-6/+12
2022-03-31Attempt to update the device prior to fetching it in the CLIDavid Lönnhager1-0/+3
2022-03-24Add CLI commands for configuring obfuscationEmīls2-0/+138
2022-03-24Adjust relay command in CLIOdd Stranne1-21/+6
2022-03-14Refactor account manager into actorDavid Lönnhager1-1/+0
2022-03-14Display ports in the CLIDavid Lönnhager1-0/+6
2022-03-14Make CLI device errors more user-friendlyDavid Lönnhager1-9/+45
2022-03-14Capitalize each word of a device name in the CLIDavid Lönnhager1-5/+4
2022-03-14Add verbose option to 'mullvad account get'David Lönnhager1-6/+20
2022-03-14Allow devices to be revoked by name in the CLIDavid Lönnhager1-7/+22
2022-03-14Improve 'list-devices' output in the CLIDavid Lönnhager1-3/+22