mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
This PR adds a unit-test to `snownet` that exercises all code paths that are required for a relayed connection to work. This includes: - Nodes make an allocation with real credentials, nonces etc - Nodes exchange their ICE candidates - Nodes bind data channels on the relay - str0m performs ICE over these data channels - Nodes handshake a wireguard tunnel on the nominated socket I consider this a baseline. Once merged, I want to attempt writing a test in #4568 that asserts migration of a connection to a new relay without the connection expiring. At some point, we can even go further and move these tests to `firezone-tunnel` and unit-test even more things like connection intents etc.
Connlib
Firezone's connectivity library shared by all clients.
Building Connlib
You shouldn't need to build connlib directly; it's typically built as a dependency of one of the other Firezone components. See READMEs in those directories for relevant instructions.