Privoxy 3.0.24 fails on ARM Android fails to resolve hostnames in spite of uncommented nameservers present in /sdcard/etc/resolv.conf as per instructions at https://sourceforge.net/projects/ijbswa/files/Android/3.0.24%20%28stable%29/
Browsing by IP works fine via privoxy.
I've also tried 3.0.25_beta with the same issue both with and without unscd.
There's no strace on the phone (Moto G 1st gen) and I'm not sure how to troubleshoot the issue further.
Hi,
Given that Privoxy's Android support is very new, we're keen to gather information about any failures. As a first approximation, please let us know what version of Android the phone runs, and whether it is rooted or not, and please share your resolv.conf file.
Thanks,
Ian
Hi Ian,
Happy to help in any way I can, let me know what else info you may need.
The phone is rooted, running just a few nightlies behind the latest Cyanogenmod (CM13).
Please see attached screenshots.
Managed to get strace, I should have an update with strace output later today.
Last edit: Strykar 2016-07-04
Ok, I ran strace and I don't see it even trying to open resolv.conf - log attached
However I ran strace+privoxy with the standard user account (u0_a160), and I assume it usually runs with Connectbot's privileges? Let me know if you need another strace.
sdcard/$ id
uid=10160(u0_a160) gid=10160(u0_a160) groups=10160(u0_a160),3003(inet),9997(everybody),50160(all_a160) context=u:r:untrusted_app:s0:c512,c768
Command run - "strace -o /sdcard/privoxxy.log /data/data/org.connectbot/privoxy --no-daemon /sdcard/privoxy/etc/privoxy/config"
Hi Strykar,
Took me a while to spot the obvious - you need to expand the zip file to the root of your sdcard rather than within a folder named privoxy, such that resolv.conf can be found at /sdcard/etc/resolv.conf.
Please try that and let me know how you get on,
Ian
Thanks Ian, I'm pretty sure I had a copy of resolv.conf in /sdcard/etc too.
Sadly I lost the phone while out on vacation last week and will update this once I get a new phone.
I'm curious, what lines did you find the issue in the strace log?
Last edit: Strykar 2016-07-18
I had the same problem initially, extracting the zip file to the root of sdcard instead of a folder does fix it.