Closed data-sync-user closed 1 year ago
➤ Andrea Marchesini commented:
This could fix https://mozilla-hub.atlassian.net/browse/VPN-1159 ( https://mozilla-hub.atlassian.net/browse/VPN-1159|smart-link ).
➤ Owen Kirby commented:
The connection stability thresholds have been through a few rounds of tweaking since this issue was filed. I suspect that it may now be fixed (current algorithm uses 1000ms greater than the baseline latency measurement to doh.mullvad.net)
I think we should spend no more than half a day testing and then close this issue if there are no further problems found.
➤ Naomi Kirby commented:
This has been implemented, and my steps to test on a Linux machine are as follows:
Open a terminal, and start a ping session to the Mullvad Anycast DOH server using the command ping 194.242.2.2 and leave this running in the background to demonstrate the current network latency.
Determine the default network interface that your machine uses for routing by running the command: ip route get 194.242.2.2 this should print something like: 194.242.2.2 via 192.168.1.1 dev
Test that the VPN client triggers an unstable network condition at 1000ms above than the baseline latency as follows:
Repeat the test, but manipulate the baseline network latency measurement.
➤ Valentina Virlics commented:
Verified this while following the provided steps on Linux Kinetic/Jammy, using Mozilla VPN 2.15.0 (2.15.0~rc20230421013654-kinetic1)/2.15.0 (2.15.0~rc20230421013654-jammy1).
Are this behaviors correct, Naomi Kirby ? Also, at 4d, you wanted to say 1200 instead of 400?
For this type of tickets (where QA is needed) please put them into “Merged“ state, together with a fixVersion. This way we are sure that nothing bypasses our radar. Thank you!
➤ Santiago Andrigo commented:
Naomi Kirby On which fixVersion did this go?
Moving to Done since QA verified it already.
➤ Naomi Kirby commented:
This was included in the 2.15 release.
Right now, we consider the connection as unstable if there is more than 1 sec from a ping and its response. This is not good enough for slow internet connections. I suggest computing a quick speed test using ICMP packages before activating the VPN, and at any network connectivity changes. We can use the speed value to extend/reduce that 1-second gap.
┆Issue is synchronized with this Jira Task ┆Reporter: Andrea Marchesini