summaryrefslogtreecommitdiffhomepage
path: root/mullvad-daemon/src/wireguard.rs
AgeCommit message (Expand)AuthorFilesLines
2021-11-29Reformat code without blank_lines_upper_bound = 2Linus Färnstrand1-5/+0
2021-10-28Rename background request controlsDavid Lönnhager1-2/+2
2021-10-01Only retry for network-related API request failures, and remove the delayDavid Lönnhager1-2/+7
2021-10-01Retry key removals when switching between accounts or doing factoryDavid Lönnhager1-6/+52
2021-10-01Give `retry_future_with_backoff` a more general nameDavid Lönnhager1-4/+3
2021-09-15Pause automatic RPCs while the account is expired or invalid, and whileDavid Lönnhager1-13/+43
2021-07-13Replace delay_for with sleepDavid Lönnhager1-1/+1
2021-06-18Store the WireGuard key in the settings and store a single token in the accou...David Lönnhager1-27/+12
2021-06-18Add KeyManager::remove_key() for removing keys belonging to an accountDavid Lönnhager1-1/+12
2021-03-25Use mandatory key rotation interval with limited rangeDavid Lönnhager1-19/+6
2021-03-15Use exponential backoff for retrying key rotationDavid Lönnhager1-79/+94
2021-03-15Stop automatic key rotation if the account token is invalidDavid Lönnhager1-11/+20
2021-03-12Simplify ExponentialBackoffDavid Lönnhager1-1/+6
2021-02-03Improve rotation interval constant declarationJanito Vaqueiro Ferreira Filho1-6/+5
2021-02-02Change WireGuard key rotation interval on AndroidJanito Vaqueiro Ferreira Filho1-0/+5
2021-01-19Run rustfmt (slight format changes on nightly)Linus Färnstrand1-2/+2
2020-12-07Update formattingDavid Lönnhager1-2/+2
2020-09-28Start key rotation after first key createdEmīls1-1/+5
2020-09-25Add extra logging for when key rotation doesn't startEmīls1-1/+1
2020-09-25Decrease key rotation start delay to 3 minutesEmīls1-1/+3
2020-09-01Replace tokio handle references in `Daemon` with async/await syntaxDavid Lönnhager1-19/+16
2020-09-01Update tunnel state machine event loop and remove tokio 0.1David Lönnhager1-5/+2
2020-07-21Use futures::future::abortable insteadEmīls1-11/+11
2020-07-21Move Cancellable et al to talpid-coreEmīls1-1/+2
2020-07-03Use new style future for wireguard keysEmīls1-246/+159
2020-06-25Parse version info to check if version is too newEmīls1-1/+1
2020-06-16Report key generation failuresEmīls Piņķis1-30/+53
2020-05-15Increase both relay list and wg key rotation retry interval to 15 minLinus Färnstrand1-1/+1
2020-04-27Use HTTP RPCs in daemonEmīls1-23/+41
2020-02-24Use `DaemonEventSender` in `wireguard::KeyManager`Janito Vaqueiro Ferreira Filho1-16/+11
2020-02-21Fix visibility in wireguard.rsEmīls1-1/+1
2020-02-21Fix docstrings in daemon's wireguard moduleEmīls1-4/+5
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-01-23Update mullvad_daemon::wireguardDavid Lönnhager1-36/+24
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
2020-01-08Stop automatic key rotation when account has too many keysEmīls Piņķis1-53/+55
2020-01-07Use `UnboundedSender` instead of `mpsc::Sender`Janito Vaqueiro Ferreira Filho1-9/+10
2019-12-17Refactor key rotationDavid Lönnhager1-57/+21
2019-12-17Refactor key rotationDavid Lönnhager1-173/+265
2019-12-17Reset rotation interval when the active account changesDavid Lönnhager1-13/+16
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önnhager1-37/+39
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önnhager1-26/+55