summaryrefslogtreecommitdiffhomepage
path: root/mullvad-daemon
AgeCommit message (Collapse)AuthorFilesLines
2022-05-10Return initial device when spawning the account managerDavid Lönnhager2-8/+6
2022-05-10Initialize account manager event listener in constructorDavid Lönnhager2-22/+5
2022-05-10Refactor device removal out of daemon structDavid Lönnhager3-38/+48
2022-05-09Move directory cleanup to cleanup moduleDavid Lönnhager2-101/+96
2022-05-09Decouple tunnel parameters generation from daemon message handlerDavid Lönnhager3-275/+321
2022-05-05Hide private device type in `mullvad-daemon`David Lönnhager5-176/+267
2022-05-05Fix regression in device validationDavid Lönnhager1-6/+6
2022-05-05Add back logging for device validity checkDavid Lönnhager1-0/+8
2022-05-05Do not store pubkey in device.jsonDavid Lönnhager3-8/+11
2022-05-05Simplify panicDavid Lönnhager1-7/+6
2022-05-04Move conversion of DNS options to addresses out of daemon structDavid Lönnhager2-57/+60
2022-05-04Wipe the device config if it cannot be parsedDavid Lönnhager1-15/+24
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-29Succeed if logging out without accountDavid Lönnhager1-0/+1
2022-04-29Logout event was not sent despite state changeDavid Lönnhager1-5/+7
2022-04-27Remove old device correctlyDavid Lönnhager1-1/+1
2022-04-27Send back response for manual key rotationDavid Lönnhager1-1/+2
2022-04-27Silence udp2tcp loggingDavid Lönnhager1-1/+1
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önnhager2-47/+11
2022-04-26Spawn API client after settings migrationDavid Lönnhager2-43/+48
2022-04-26Return bridge from get_relay()David Lönnhager2-62/+54
2022-04-26Remove unused codeDavid Lönnhager1-38/+5
2022-04-26Decouple API bridge selection from the daemonDavid Lönnhager2-129/+129
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önnhager5-2210/+5
2022-04-25Extend DNS blocking with more optionsOdd Stranne1-3/+11
2022-04-19Block on login when requesting account dataEmīls2-30/+41
2022-04-19Track API calls in device managerEmīls5-1141/+1362
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-13Fix overzealous relay selector testEmīls1-1/+0
The relay selector test was testing if a WireGuard endpoint wasn't using the same ports as TCP2UDP relays will be listening on. This doesn't make much sense as a relay could very well be using those same ports, and in some cases it was, thus making this test fail. The faulty assertion has been removed.
2022-04-11Refactor long-running timers and use talpid-time for suspend-awareDavid Lönnhager3-41/+21
clocks
2022-04-05Add RPC that checks whether the app is performing "post-upgrade work", i.e. ↵David Lönnhager5-22/+89
fetching a device from the API
2022-04-05Remove duplicate reconnectDavid Lönnhager1-1/+0
2022-04-04Add unit test for empty account historyDavid Lönnhager1-3/+19
2022-04-04Distinguish between empty history and parsing errors when reading the old ↵David Lönnhager1-32/+36
account history format
2022-03-31Add a separate RPC for updating the device instead of doing so implicitly ↵David Lönnhager2-11/+32
when `GetDevice` is called
2022-03-28Don't update allowed endpoint twiceDavid Lönnhager1-7/+4
2022-03-28Add missing cfg attributesDavid Lönnhager2-6/+16
2022-03-28Document proximity constantDavid Lönnhager1-0/+3
2022-03-28Bias bridge selection more towards favoring close bridgesDavid Lönnhager1-1/+6
2022-03-28Randomly select bridgesDavid Lönnhager1-7/+25
2022-03-25Propagate selected obfuscator hostname to frontendsEmīls2-111/+189
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-24Add migration logic for WireGuard port constraintOdd Stranne2-39/+125
2022-03-24Restructure how WireGuard obfuscation is configured and appliedOdd Stranne5-152/+337
2022-03-23Fix logout timer in device moduleDavid Lönnhager1-2/+2
2022-03-23Fix pointless copyingDavid Lönnhager1-6/+7