mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
Closes #5846 Will be moved down to the IPC service eventually. The goal for connection roaming is not for totally transparent "Change Wi-Fi networks without dropping SSH" handoffs, but just for Firezone to re-connect itself as quickly as possible so that everything above us can re-connect as quickly as it times out, and won't be hung up with a broken tunnel.
951 B
951 B
Network roaming
Given Ethernet and 2 Wi-Fi networks "A" and "B", this test cycle exercises all interesting combos of:
- Connecting and disconnecting Ethernet and Wi-Fi, while the other is connected and disconnected
- Roaming from one Wi-Fi network to another
- Steady-state network connections
Cycle:
- Steady on A
- Change to B
- Disconnect Wi-Fi
- Steady offline
- Connect to A
- Connect Eth
- Steady on Eth + A
- Change to B
- Disconnect Wi-Fi
- Steady on Eth
- Disconnect Eth
- Connect Eth
- Connect to Wi-Fi A
- Disconnect Eth
For each step:
- Make the change. (e.g. click on the Wi-Fi network, or connect / disconnect the Ethernet plug)
- Wait for the OS to reflect the change. (e.g. "Connected to Wi-Fi A" pop-up)
- Run
time curl -4 --silent --max-time 30 https://ifconfig.net/ip. - Ensure that you see the Gateway's IP and not your Wi-Fi's external IP.
- Note how long it took
curlto return success or failure.