IPtProxy icon indicating copy to clipboard operation
IPtProxy copied to clipboard

NAT checking must be re-run on switch from cellular to Wi-Fi and vice versa

Open WofWca opened this issue 1 year ago • 3 comments

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.

WofWca avatar Sep 07 '24 12:09 WofWca

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!

tladesignz avatar Sep 07 '24 17:09 tladesignz

Well, you can control the NATTypeMeasurementInterval argument value, right?

WofWca avatar Sep 07 '24 18:09 WofWca

I have zero interest in more patches. This should be improved upstream.

tladesignz avatar Sep 07 '24 18:09 tladesignz