QuantumBadger / RedReader

An unofficial open source Android app for Reddit.
GNU General Public License v3.0
1.89k stars 476 forks source link

DNS lookups aren't forwarded through tor #1187

Open lu-ckystars opened 2 months ago

lu-ckystars commented 2 months ago

its been this way for a long time. i use the alpha version but the regular does the same. I'm pretty sure the rest of the traffic does get sent over for, but perhaps in a weird way: going to external site

would it not be better to have it using orbots socks5?

QuantumBadger commented 1 month ago

There's some example code here for using a SOCKS proxy with an Android WebView: https://github.com/guardianproject/NetCipher/blob/master/sample-webviewclient/src/sample/netcipher/webviewclient/GenericWebViewClient.java#L56

We'll also need to update the OkHTTP code, possibly to use a custom socket factory.