summaryrefslogtreecommitdiffhomepage
path: root/mullvad-daemon/src/lib.rs
AgeCommit message (Collapse)AuthorFilesLines
2022-06-14Return a handle for fetching excluded processes instead of using a tunnel ↵David Lönnhager1-1/+7
command
2022-06-14Add tunnel state machine handleDavid Lönnhager1-10/+10
2022-06-14Track excluded processes and add CLI command for listing them on WindowsDavid Lönnhager1-2/+15
2022-06-14Recreate tunnel if any relevant setting is modified while connectingDavid Lönnhager1-4/+4
2022-06-14Add option for enabling PQ PSK exchange to CLI and gRPC serviceDavid Lönnhager1-0/+35
2022-05-25Simplify device removal eventDavid Lönnhager1-2/+3
2022-05-12Enter revoked state if migration fails due to a non-existent WireGuard keyDavid Lönnhager1-5/+12
2022-05-12Update RPCs to handle device states and event variantsDavid Lönnhager1-9/+11
2022-05-12Distinguish between logged-out and revoked device statesDavid Lönnhager1-11/+19
2022-05-10Move macos-specific functions to macos module in mullvad-daemonDavid Lönnhager1-41/+4
2022-05-10Move state-forwarding functions for the API client to the apiDavid Lönnhager1-36/+2
module in mullvad-daemon
2022-05-10Return initial device when spawning the account managerDavid Lönnhager1-5/+1
2022-05-10Initialize account manager event listener in constructorDavid Lönnhager1-5/+1
2022-05-10Refactor device removal out of daemon structDavid Lönnhager1-37/+15
2022-05-09Move directory cleanup to cleanup moduleDavid Lönnhager1-101/+13
2022-05-09Decouple tunnel parameters generation from daemon message handlerDavid Lönnhager1-274/+34
2022-05-05Hide private device type in `mullvad-daemon`David Lönnhager1-26/+33
2022-05-04Move conversion of DNS options to addresses out of daemon structDavid Lönnhager1-57/+5
2022-04-29Block immediately when the device is known to be revokedDavid Lönnhager1-0/+7
2022-04-29Pause API requests when the daemon hasn't received any commands for 3 daysDavid Lönnhager1-0/+15
2022-04-26Return obfuscation config along with relayDavid Lönnhager1-17/+11
2022-04-26Rotate the API endpoint when bridge constraints changeDavid Lönnhager1-0/+3
2022-04-26Pass relay selector handle directly to "connection mode provider"David Lönnhager1-3/+2
2022-04-26Spawn API client after settings migrationDavid Lönnhager1-23/+25
2022-04-26Return bridge from get_relay()David Lönnhager1-61/+53
2022-04-26Remove unused codeDavid Lönnhager1-38/+5
2022-04-26Decouple API bridge selection from the daemonDavid Lönnhager1-86/+4
2022-04-26Manage relay, bridge, and obfuscation settings in the relay selectorDavid Lönnhager1-133/+66
2022-04-26Make relay selector not depend on the updaterDavid Lönnhager1-7/+12
2022-04-26Move the relay selector to its own crateDavid Lönnhager1-4/+4
2022-04-25Extend DNS blocking with more optionsOdd Stranne1-3/+11
2022-04-19Block on login when requesting account dataEmīls1-14/+17
2022-04-19Track API calls in device managerEmīls1-5/+5
Instead of blocking the device manager on API calls, the API calls are now serviced concurrently, allowing users of the device manager to retrieve data without blocking.
2022-04-05Add RPC that checks whether the app is performing "post-upgrade work", i.e. ↵David Lönnhager1-6/+23
fetching a device from the API
2022-04-05Remove duplicate reconnectDavid Lönnhager1-1/+0
2022-03-31Add a separate RPC for updating the device instead of doing so implicitly ↵David Lönnhager1-11/+21
when `GetDevice` is called
2022-03-28Add missing cfg attributesDavid Lönnhager1-2/+13
2022-03-25Propagate selected obfuscator hostname to frontendsEmīls1-96/+167
The obfuscator hostname should be propagated to the frontends, which implies that it should be stored for later querying in the daemon. Since all other relays were being kept as fields in the daemon god-struct, I factored them out into a single enum containing all the individual relays that could be selected.
2022-03-24Correct the logic which guards obfuscator selectionOdd Stranne1-1/+2
2022-03-24Restructure how WireGuard obfuscation is configured and appliedOdd Stranne1-2/+60
2022-03-23Rename `mullvad_api::MullvadRpcRuntime` to `mullvad_api::Runtime`David Lönnhager1-22/+22
2022-03-23Rename mullvad-rpc to mullvad-apiDavid Lönnhager1-13/+13
2022-03-14Try to connect with auto-connect enabled, even if no account is setDavid Lönnhager1-3/+1
2022-03-14Move device validity check to its own typeDavid Lönnhager1-48/+5
2022-03-14Simplify how accounts are handled in the daemonDavid Lönnhager1-124/+110
2022-03-14Remove new account eventDavid Lönnhager1-38/+22
2022-03-14Refactor account manager into actorDavid Lönnhager1-100/+98
2022-03-14Cache/rate-limit device validity checkDavid Lönnhager1-1/+1
2022-03-14Validate device in state transition handlerDavid Lönnhager1-34/+50
2022-03-14Remove Account type and runtime handlesDavid Lönnhager1-1/+0