Open itskeKs opened 7 years ago
Potatso 1 had/have bug with DNS leak. Developer were informed regarding the problem
@hybtoy that means?
@foguio The bug was fixed in the Potatso 2 which is under beta test in TestFlight
@hybtoy is the source somewhere to test it? :| that dns problem is really annoying.
is the source somewhere to test it?
Already not, unfortunately. Only after release.
@hybtoy good to know, thanks for this.
@hybtoy thats not the actual issue. the problem lies not within safari its within the rest. lets say you connect to wifi at home (dnsfrom touter with 192.168.1.1) and go outside where you loose your wifi the DNS shpuld change but it does not since the tunnel is still established. potatso receives a network change bit eventually uses the same dns which it got within your wifi network. safari will still work (dont ask me why) but the rest of the system does not! the app just try to use the old dns and nothing goes through. even with manually added dns. dont ask me why its also happens.
@foguio now I got you. I will try to reproduce it and get back to the issue later.
i think the problem is within tun2socks. i managed to restart the VPN connection and now i am getting changed dns servers. but on VPN restart the packetprocessor which is tun2socks does not restart. if i try to restart it the whole tunnel crashes. idk ow i can do that.
@hybtoy what's web address u use for check DNS ?
@tuannv19 whoer.net ipleak.net dnsleaktest.com dnsleak.com
Hello @haxpor,
so it looks like Potatso (and also your fork) has an issue within the DNS function. It fetches the DNS servers from the system. You can check the code within the packettunnelprovider.m. On network changes, like disconnecting from or connecting to WiFi, this function still gets the saved DNS addresses which it got on the initial start. Lets say you turn on potatso on a network with DNS 127.0.0.1 and in the meantime you connect to X different networks it still be using the first saved DNS, in that case 127.0.0.1. Also iverriding system DNS with hardcoded DNS like the ones from google is not solving that issue. Using custom DNS wont work because of the tun2socks extension which only talks through TCP, it does not support UDP.
Regarding that bug its not possible to use any other App without having a problem!
I am willing to pay soneone who can fix that problem! (either it will restart the tunnel on network changes or the getting system function DNS will work)!
Best,
Chris