mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 18:18:55 +00:00
In the relay's authentication scheme, each nonce is only valid for a certain number of requests. This guards against replay attacks. Currently, this is set to 10 which means all requests after 10 will receive a "stale nonce" error. 10 turns out to be way to low and greatly delays the setup of channels and allocations which is always a burst of messages that end up incurring additional round trips because they all need to be re-sent with a new nonce.
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.