celzero / rethink-app

DNS over HTTPS / DNS over Tor / DNSCrypt client, WireGuard proxifier, firewall, and connection tracker for Android.
https://rethinkfirewall.com/
Apache License 2.0
3.01k stars 154 forks source link

Connectivity checks for SOCKS5 / Proxies #707

Open ignoramous opened 1 year ago

ignoramous commented 1 year ago

A user says,

I don't know if it is possible or not to change this but RethinkDNS will show 'Protected with TOR' even if Orbot has crashed.

Today, the app doesn't show whether the device is disconnected when Rethink is forwarding connections over Tor.

Rethink could establish connectivity checks (ICMP? DNS?) over SOCKS5 tunnel, to detect any connectivity drops?

Related: #347

NextGenOP commented 1 year ago

What about what SagerNet does? Using a button to send a request test url that can be changed

ignoramous commented 1 year ago

The SagerNet developer is also a wizard (: We're mere mortals.

NextGenOP commented 1 year ago

its v2rayNG with custom url, right? 😀

ignoramous commented 1 year ago

URL probers for connectivity checks are do-able. Let's see.