summaryrefslogtreecommitdiffhomepage
path: root/mullvad-daemon/src
AgeCommit message (Collapse)AuthorFilesLines
2022-09-21Maintain firewall rules when shutting downEmīls1-0/+2
2022-09-21Always block on shutdownEmīls Piņķis3-4/+34
2022-09-20Add shutdown detection for Windows serviceDavid Lönnhager4-117/+66
2022-09-13Move expiry event to separate enumDavid Lönnhager2-43/+47
2022-09-13Explain continual reconnect on 'AuthFailed'David Lönnhager1-0/+2
2022-09-13Log whether account has time leftDavid Lönnhager1-0/+6
2022-09-13Fix mapping of daemon voucher errors to gRPC errorsDavid Lönnhager3-20/+9
2022-09-13Implement correctly cancellable voucher submissions in the account managerDavid Lönnhager5-20/+110
2022-09-13Enter or leave error state when account runs out of time or has timeDavid Lönnhager2-2/+26
added
2022-09-13Emit expiry event when account validity is checkedDavid Lönnhager1-0/+8
2022-09-13Give invalidate_current_data a more specific nameDavid Lönnhager1-7/+7
2022-09-13Add expiry check to the account managerDavid Lönnhager3-4/+86
2022-09-13Allow for within-daemon-only device eventsDavid Lönnhager2-15/+20
2022-09-13Use optional allowed endpointEmīls Piņķis1-6/+1
2022-09-13Make AllowedEndpoint optionalEmīls Piņķis1-6/+6
2022-09-12Add argument to initialize firewall to a blocking stateEmīls Piņķis3-2/+85
2022-09-07Reset device check counter in error state to ensure that the deviceDavid Lönnhager1-1/+3
validity check is made when reconnecting from that state
2022-09-07Fix unlikely overflow due to reconnectDavid Lönnhager1-1/+1
2022-09-02Swallow spurious 'failed to bypass socket' errorDavid Lönnhager1-1/+6
2022-09-01Replace winapi with windows-sys for all remaining cratesDavid Lönnhager3-57/+54
2022-08-29Fix Clippy errorsDavid Lönnhager1-4/+4
2022-08-25Lower wg_migration_threshold to 0.75 in dev buildsLinus Färnstrand1-1/+4
2022-08-15Allow for migrating windows users to WGJonathan3-9/+56
Use a potential value between 0 and 1 provided by the API version check to decide if the Windows client should use WireGuard or OpenVpn. This decision is then persisted in the settings in the form of a random value between 0 and 1 where if the value is higher than the value provided by the API the client will use OpenVpn. If there is no value provided by the API then the client will use WireGuard as the migration has concluded.
2022-07-20Log saner message if version check is run for dev buildsDavid Lönnhager1-1/+21
Also, return fake version info
2022-07-18Fix potential leak window on shutdownDavid Lönnhager1-7/+7
2022-07-11Send endpoint data to frontendsDavid Lönnhager1-10/+3
2022-07-11Return RelayList object instead of a stream in proto fileDavid Lönnhager1-27/+5
2022-07-05Use derive attribute for default enum variantsDavid Lönnhager1-7/+2
2022-06-21Fix the large majority of clippy warningsJonathan13-88/+95
This commit fixes most of the remaining clippy warnings in the codebase. These warnings were the more semantically difficult ones to fix. There are some warnings that remain from the rebase that will be fixed in the upcoming PR.
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önnhager2-2/+51
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önnhager3-0/+62
2022-06-13Perform a clippy --fixjonathan9-17/+8
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-06-02Silence crate `tower` from the logsLinus Färnstrand1-0/+1
2022-05-30Improve error message for device broadcast errorDavid Lönnhager2-13/+14
2022-05-25Simplify device removal eventDavid Lönnhager2-24/+6
2022-05-25Save 'created' and 'hijack_dns' fields in device structsDavid Lönnhager2-0/+21
2022-05-12Enter revoked state if migration fails due to a non-existent WireGuard keyDavid Lönnhager2-7/+14
2022-05-12Update RPCs to handle device states and event variantsDavid Lönnhager3-33/+42
2022-05-12Overwrite device.json if deserialization failsDavid Lönnhager1-7/+14
2022-05-12Remove pointless async blockDavid Lönnhager1-2/+1
2022-05-12Distinguish between logged-out and revoked device statesDavid Lönnhager3-61/+123
2022-05-11Don't stop device check if an API request is abortedDavid Lönnhager1-2/+18
2022-05-11Check status in API response body to determine whether a device has been revokedDavid Lönnhager1-10/+7
2022-05-11Validate device more oftenEmīls1-1/+1
2022-05-10Log WireGuard key rotationDavid Lönnhager1-0/+3
2022-05-10Move macos-specific functions to macos module in mullvad-daemonDavid Lönnhager2-41/+41
2022-05-10Move state-forwarding functions for the API client to the apiDavid Lönnhager2-37/+41
module in mullvad-daemon