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
2.82k stars 143 forks source link

v054c: Configuring SOCKS5 proxy breaks RDNS Max (RDNS Sky keeps working) #920

Open FLAGEL opened 1 year ago

FLAGEL commented 1 year ago

When configuring a SOCKS5 proxy within Rethink, DNS querries to/from RDNS Max fail. RDNS Sky works as intended. v054a worked as intended with SOCKS5, RDNS Max and RDNS Sky. Results are from a Pixel-device running up-to-date Android 13 and Every Proxy.

Screenshot DNS log: https://ibb.co/yhPyJN5

Screenshot SEND_FAIL: https://ibb.co/26JsQgr

Screenshot BAD_RESPONSE: https://ibb.co/xXmjcHN

ignoramous commented 1 year ago

What upstream proxy are you forwarding the requests to max.rethinkdns.com from (via everyproxy)? Sounds strange that this would happen. If you can capture and share logs (from adb logcat) as it happens, that'd be nice too (email the logs mz at celzero dot com).

FLAGEL commented 1 year ago

The setup is RDNS (main profile) --(SOCKS5)--> EveryProxy (work profile) --> ProtonVPN (work profile). I am out traveling currently but I'll try to get logs when back in a few weeks.

ignoramous commented 3 months ago

Can you confirm if this issue persists in v055j?

FLAGEL commented 2 months ago

With v055n (used v054c previously, so can't say much about v055j) neither RDNS Max not RDNS Sky works. However, that is likely due to the SOCKS5 functionality being broken (see https://github.com/celzero/rethink-app/issues/919#issuecomment-2187555463).

With v055n both RDNS Max and RDNS Sky work when using the "HTTP(S) CONNECT Proxy" functionality.