NAT checking must be re-run on switch from cellular to Wi-Fi and vice versa
Because the NAT type could be different for different ISPs / networks. This is especially important when the actual NAT type changes from unrestricted to restricted, but the NAT type reported to the broker remains "unrestricted", which makes the broker pair the Orbot proxy with restricted clients, making such pairs destined to fail to connect to each other.
NATTypeMeasurementInterval is responsible for NAT retests. Maybe a first step would be to decrease it a bit, maybe at least down to 2 hours.
A step further would be to modify the upstream repo to expose the updateNATType function.
You‘re barking at the wrong tree here. This is IPtProxy, a bundle of Lyrebird and Snowflake for mobile use.
Please create an issue with Snowflake and let me know, when a new release with your changes is available!
Thanks!
Well, you can control the NATTypeMeasurementInterval argument value, right?
I have zero interest in more patches. This should be improved upstream.