mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 18:18:55 +00:00
Previously, we pretty much always lost the wireguard handshake packet, causing us to wait for the rekey-timeout before we try again. We can fix this by first checking that we actually have a socket that we can send the encapsulated packet on. Additionally, we can directly force a wireguard handshake as soon as we discover the first socket to the remote. This reduces the setup latency to ~3 seconds in my testing. Resolves: #3779.
Rust development guide
Firezone uses Rust for all data plane components. This directory contains the Linux and Windows clients, and low-level networking implementations related to STUN/TURN.
We target the last stable release of Rust using rust-toolchain.toml.
If you are using rustup, that is automatically handled for you.
Otherwise, ensure you have the latest stable version of Rust installed.