summaryrefslogtreecommitdiffhomepage
path: root/mullvad-daemon/src
AgeCommit message (Collapse)AuthorFilesLines
2020-02-24Move `BoxFuture` to crate root moduleJanito Vaqueiro Ferreira Filho2-9/+7
2020-02-24Remove `Result` type aliasJanito Vaqueiro Ferreira Filho1-40/+31
2020-02-24Remove unnecessary `Mutex`Janito Vaqueiro Ferreira Filho1-4/+4
2020-02-24Add references to relay docs in relevant modulesEmīls1-0/+3
2020-02-21Use shared references instead of mutable ones in relay selectorLinus Färnstrand1-4/+4
2020-02-21Fix visibility in wireguard.rsEmīls1-1/+1
2020-02-21Fix docstrings in daemon's wireguard moduleEmīls1-4/+5
2020-02-21Don't pass constraints by referenceEmīls1-11/+11
2020-02-21Simplify error checkingEmīls2-2/+4
2020-02-21Remove redundant clonesEmīls2-16/+11
2020-02-20Fix key rotation behaviorEmīls1-1/+5
2020-02-20Fixup loggingEmīls1-6/+1
2020-02-18Fix some clippy lintsEmīls1-13/+9
2020-02-18Use timer streams instead of recursive futuresEmīls1-87/+66
2020-02-07Make PrivateKey::new_from_random() infallibleDavid Lönnhager1-14/+7
2020-02-06Remove licence headers from Rust source codeLinus Färnstrand2-16/+0
According to the licence anyone who copies the source must attach the header anyway is my understanding
2020-02-05Only reconnect if using relevant tunnel protocolDavid Lönnhager1-6/+31
2020-01-29Use RPC for wg key removal when accounts are removed from historyDavid Lönnhager2-6/+91
2020-01-28Fix Rust formattingDavid Lönnhager1-3/+4
2020-01-28Restart daemon after system hibernationOdd Stranne1-7/+156
2020-01-23Update mullvad_daemon::wireguardDavid Lönnhager2-39/+27
2020-01-23Fix suspend issue for WireGuard key rotationDavid Lönnhager1-64/+60
2020-01-15Use unbouded_send() instead of send()Emīls1-2/+2
futures::sync::mpsc::UnboundedSender::<T>::send': renamed to `unbounded_send`, with the latter version being deprecated.
2020-01-15Reconnect to tunnel after WireGuard key has been replacedDavid Lönnhager1-0/+1
2020-01-14Move error handling for version checker into version_check moduleDavid Lönnhager2-33/+25
2020-01-14Clear version check cache if the version has changedDavid Lönnhager1-4/+45
2020-01-10Generate a minidump for unhandled SEH exceptionsDavid Lönnhager1-2/+121
2020-01-08Stop automatic key rotation when account has too many keysEmīls Piņķis1-53/+55
2020-01-07Stop version updater if receiving end is closedJanito Vaqueiro Ferreira Filho1-0/+4
Perform an early check to see if the receiving end is still open.
2020-01-07Use `UnboundedSender` instead of `mpsc::Sender`Janito Vaqueiro Ferreira Filho3-40/+53
2020-01-07Stop version updater if sending failsJanito Vaqueiro Ferreira Filho1-1/+7
Failure to send means that the receiving end has been closed.
2020-01-07Replace closure with sender in `VersionUpdater`Janito Vaqueiro Ferreira Filho2-16/+17
2019-12-17Improve key rotation CLIDavid Lönnhager2-11/+11
2019-12-17Refactor key rotationDavid Lönnhager2-75/+50
2019-12-17Refactor key rotationDavid Lönnhager2-211/+297
2019-12-17Reset rotation interval when the active account changesDavid Lönnhager2-16/+32
2019-12-17Use tokio_timer rather than Delay (compatibility)David Lönnhager1-10/+11
2019-12-17Remove excessive logging in mullvad_daemon::wireguardDavid Lönnhager1-4/+2
2019-12-17Format Rust codeDavid Lönnhager3-48/+65
2019-12-17Retry automatic key rotation on failureDavid Lönnhager1-8/+30
2019-12-17Account for age of public key in wg key updatesDavid Lönnhager2-29/+75
2019-12-17Update key rotation scheduler when the interval is changedDavid Lönnhager2-13/+28
2019-12-17Treat zero interval as disabling auto rotationDavid Lönnhager1-5/+11
2019-12-17Add CLI interface for configuring automatic wg key rotationDavid Lönnhager2-0/+30
2019-12-17Add configurable key rotation intervalDavid Lönnhager2-18/+21
2019-12-17Improve error handlingDavid Lönnhager1-8/+20
2019-12-17Add incomplete key rotation schedulerDavid Lönnhager1-1/+87
2019-12-09Fix formattingLinus Färnstrand1-5/+7
2019-12-09Change blocked state to error stateEmīls1-8/+18
2019-12-06Configure service SID info as 'unrestricted'Odd Stranne1-3/+11