summaryrefslogtreecommitdiffhomepage
path: root/mullvad-daemon/src/wireguard.rs
AgeCommit message (Expand)AuthorFilesLines
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
2019-12-17Update key rotation scheduler when the interval is changedDavid Lönnhager1-13/+27
2019-12-17Treat zero interval as disabling auto rotationDavid Lönnhager1-5/+11
2019-12-17Add configurable key rotation intervalDavid Lönnhager1-18/+20
2019-12-17Improve error handlingDavid Lönnhager1-8/+20
2019-12-17Add incomplete key rotation schedulerDavid Lönnhager1-1/+87
2019-10-17Upgrade err-derive to 0.2.1Linus Färnstrand1-2/+2
2019-09-05Replace existing key when generating new wireguard keyEmīls Piņķis1-9/+46
2019-08-12Replace ::std with just stdLinus Färnstrand1-1/+1
2019-06-26Add wireguard key generatorEmīls Piņķis1-0/+234