PowerTunnel-Android icon indicating copy to clipboard operation
PowerTunnel-Android copied to clipboard

Override DNS doesn't work on Xperia 1 III

Open andryluthfi opened this issue 2 years ago • 7 comments

Override DNS doesn't work on Xperia 1 III

i am using the same connection (wifi) under the same ISP and also using the same version of power tunnel with same configuration both on Xperia 1 III and OnePlus 6. OnePlus 6 working fine, but not with Xperia 1 III

andryluthfi avatar Sep 23 '21 18:09 andryluthfi

Which app version you are using?

If you're using a pre-release version of 2.0, please, attach the logs. To enable logging, enable option from the bottom of the Settings page, then Log Viewer will appear in three-dot menu of main activity.

You can check does the DNS settings actually work on https://dnsleaktest.com/

krlvm avatar Sep 23 '21 19:09 krlvm

@krlvm sorry for the late response. im using version 1.9.1.

im hoping you could reopen this issue

andryluthfi avatar Dec 07 '21 14:12 andryluthfi

Give a try to beta version of 2.0, it has overhauled DNS stack and introduces some new options.

krlvm avatar Dec 07 '21 14:12 krlvm

@krlvm thanks for reopening the issues.

Give a try to beta version of 2.0, it has overhauled DNS stack and introduces some new options.

I just did, let me put the log here

--------- beginning of main
12-07 21:39:51.492 26277 26277 W Thread-8: type=1400 audit(0.0:713949): avc: denied { read } for name="tcp6" dev="proc" ino=4026532407 scontext=u:r:untrusted_app:s0:c41,c258,c512,c768 tcontext=u:object_r:proc_net_tcp_udp:s0 tclass=file permissive=0 ppid=836 pcomm="main" pgid=26277 pgcomm="rtunnel.android" app=io.github.krlvm.powertunnel.android
12-07 21:39:51.492 26277 26277 W Thread-8: type=1400 audit(0.0:713950): avc: denied { read } for name="tcp" dev="proc" ino=4026532116 scontext=u:r:untrusted_app:s0:c41,c258,c512,c768 tcontext=u:object_r:proc_net_tcp_udp:s0 tclass=file permissive=0 ppid=836 pcomm="main" pgid=26277 pgcomm="rtunnel.android" app=io.github.krlvm.powertunnel.android
12-07 21:39:52.132 26277 26277 W Thread-8: type=1400 audit(0.0:713951): avc: denied { read } for name="tcp6" dev="proc" ino=4026532407 scontext=u:r:untrusted_app:s0:c41,c258,c512,c768 tcontext=u:object_r:proc_net_tcp_udp:s0 tclass=file permissive=0 ppid=836 pcomm="main" pgid=26277 pgcomm="rtunnel.android" app=io.github.krlvm.powertunnel.android
12-07 21:39:52.140 26277 26277 I chatty  : uid=10553(io.github.krlvm.powertunnel.android) identical 2 lines
12-07 21:39:52.140 26277 26277 W Thread-8: type=1400 audit(0.0:713954): avc: denied { read } for name="tcp6" dev="proc" ino=4026532407 scontext=u:r:untrusted_app:s0:c41,c258,c512,c768 tcontext=u:object_r:proc_net_tcp_udp:s0 tclass=file permissive=0 ppid=836 pcomm="main" pgid=26277 pgcomm="rtunnel.android" app=io.github.krlvm.powertunnel.android
12-07 21:39:58.044 26277 26277 W Thread-8: type=1400 audit(0.0:713955): avc: denied { read } for name="tcp6" dev="proc" ino=4026532407 scontext=u:r:untrusted_app:s0:c41,c258,c512,c768 tcontext=u:object_r:proc_net_tcp_udp:s0 tclass=file permissive=0 ppid=836 pcomm="main" pgid=26277 pgcomm="rtunnel.android" app=io.github.krlvm.powertunnel.android
12-07 21:39:58.044 26277 26277 W Thread-8: type=1400 audit(0.0:713956): avc: denied { read } for name="tcp" dev="proc" ino=4026532116 scontext=u:r:untrusted_app:s0:c41,c258,c512,c768 tcontext=u:object_r:proc_net_tcp_udp:s0 tclass=file permissive=0 ppid=836 pcomm="main" pgid=26277 pgcomm="rtunnel.android" app=io.github.krlvm.powertunnel.android
12-07 21:39:58.052 26277 26277 W Thread-8: type=1400 audit(0.0:713957): avc: denied { read } for name="tcp6" dev="proc" ino=4026532407 scontext=u:r:untrusted_app:s0:c41,c258,c512,c768 tcontext=u:object_r:proc_net_tcp_udp:s0 tclass=file permissive=0 ppid=836 pcomm="main" pgid=26277 pgcomm="rtunnel.android" app=io.github.krlvm.powertunnel.android
12-07 21:39:58.052 26277 26277 W Thread-8: type=1400 audit(0.0:713958): avc: denied { read } for name="tcp" dev="proc" ino=4026532116 scontext=u:r:untrusted_app:s0:c41,c258,c512,c768 tcontext=u:object_r:proc_net_tcp_udp:s0 tclass=file permissive=0 ppid=836 pcomm="main" pgid=26277 pgcomm="rtunnel.android" app=io.github.krlvm.powertunnel.android
12-07 21:40:11.288 26277 26277 W Thread-8: type=1400 audit(0.0:713961): avc: denied { read } for name="udp6" dev="proc" ino=4026532406 scontext=u:r:untrusted_app:s0:c41,c258,c512,c768 tcontext=u:object_r:proc_net_tcp_udp:s0 tclass=file permissive=0 ppid=836 pcomm="main" pgid=26277 pgcomm="rtunnel.android" app=io.github.krlvm.powertunnel.android
12-07 21:40:11.288 26277 26277 W Thread-8: type=1400 audit(0.0:713962): avc: denied { read } for name="udp" dev="proc" ino=4026532117 scontext=u:r:untrusted_app:s0:c41,c258,c512,c768 tcontext=u:object_r:proc_net_tcp_udp:s0 tclass=file permissive=0 ppid=836 pcomm="main" pgid=26277 pgcomm="rtunnel.android" app=io.github.krlvm.powertunnel.android
12-07 21:40:11.532 26277 26277 W Thread-8: type=1400 audit(0.0:713963): avc: denied { read } for name="tcp6" dev="proc" ino=4026532407 scontext=u:r:untrusted_app:s0:c41,c258,c512,c768 tcontext=u:object_r:proc_net_tcp_udp:s0 tclass=file permissive=0 ppid=836 pcomm="main" pgid=26277 pgcomm="rtunnel.android" app=io.github.krlvm.powertunnel.android
12-07 21:40:11.532 26277 26277 W Thread-8: type=1400 audit(0.0:713964): avc: denied { read } for name="tcp" dev="proc" ino=4026532116 scontext=u:r:untrusted_app:s0:c41,c258,c512,c768 tcontext=u:object_r:proc_net_tcp_udp:s0 tclass=file permissive=0 ppid=836 pcomm="main" pgid=26277 pgcomm="rtunnel.android" app=io.github.krlvm.powertunnel.android
12-07 21:40:12.006 26277 26277 I TunnelingVpnService: Stopping...
12-07 21:40:12.008 26277 31576 I LittleProxyServer: Stopping LittleProxy Server...
12-07 21:40:12.008 26277 31576 I DefaultHttpProxyServer: Shutting down proxy server gracefully
12-07 21:40:12.008 26277 31576 I DefaultHttpProxyServer: Closing all channels (graceful)
12-07 21:40:12.026 26277 31576 I o*.l*.p*.i*.ServerGroup: Shutting down server group event loops (graceful)
12-07 21:40:12.028 26277 26277 W Thread-8: type=1400 audit(0.0:713965): avc: denied { read } for name="tcp6" dev="proc" ino=4026532407 scontext=u:r:untrusted_app:s0:c41,c258,c512,c768 tcontext=u:object_r:proc_net_tcp_udp:s0 tclass=file permissive=0 ppid=836 pcomm="main" pgid=26277 pgcomm="rtunnel.android" app=io.github.krlvm.powertunnel.android
12-07 21:40:12.344 26277 26277 W Thread-8: type=1400 audit(0.0:713978): avc: denied { read } for name="tcp6" dev="proc" ino=4026532407 scontext=u:r:untrusted_app:s0:c41,c258,c512,c768 tcontext=u:object_r:proc_net_tcp_udp:s0 tclass=file permissive=0 ppid=836 pcomm="main" pgid=26277 pgcomm="rtunnel.android" app=io.github.krlvm.powertunnel.android
12-07 21:40:12.344 26277 26277 W Thread-8: type=1400 audit(0.0:713979): avc: denied { read } for name="tcp" dev="proc" ino=4026532116 scontext=u:r:untrusted_app:s0:c41,c258,c512,c768 tcontext=u:object_r:proc_net_tcp_udp:s0 tclass=file permissive=0 ppid=836 pcomm="main" pgid=26277 pgcomm="rtunnel.android" app=io.github.krlvm.powertunnel.android
12-07 21:40:12.352 26277 26277 W Thread-8: type=1400 audit(0.0:713980): avc: denied { read } for name="tcp6" dev="proc" ino=4026532407 scontext=u:r:untrusted_app:s0:c41,c258,c512,c768 tcontext=u:object_r:proc_net_tcp_udp:s0 tclass=file permissive=0 ppid=836 pcomm="main" pgid=26277 pgcomm="rtunnel.android" app=io.github.krlvm.powertunnel.android
12-07 21:40:12.600 26277 26277 W Thread-8: type=1400 audit(0.0:713981): avc: denied { read } for name="tcp6" dev="proc" ino=4026532407 scontext=u:r:untrusted_app:s0:c41,c258,c512,c768 tcontext=u:object_r:proc_net_tcp_udp:s0 tclass=file permissive=0 ppid=836 pcomm="main" pgid=26277 pgcomm="rtunnel.android" app=io.github.krlvm.powertunnel.android
12-07 21:40:12.600 26277 26277 W Thread-8: type=1400 audit(0.0:713982): avc: denied { read } for name="tcp" dev="proc" ino=4026532116 scontext=u:r:untrusted_app:s0:c41,c258,c512,c768 tcontext=u:object_r:proc_net_tcp_udp:s0 tclass=file permissive=0 ppid=836 pcomm="main" pgid=26277 pgcomm="rtunnel.android" app=io.github.krlvm.powertunnel.android
12-07 21:40:13.644 26277 26277 W Thread-8: type=1400 audit(0.0:713986): avc: denied { read } for name="tcp6" dev="proc" ino=4026532407 scontext=u:r:untrusted_app:s0:c41,c258,c512,c768 tcontext=u:object_r:proc_net_tcp_udp:s0 tclass=file permissive=0 ppid=836 pcomm="main" pgid=26277 pgcomm="rtunnel.android" app=io.github.krlvm.powertunnel.android
12-07 21:40:13.644 26277 26277 W Thread-8: type=1400 audit(0.0:713987): avc: denied { read } for name="tcp" dev="proc" ino=4026532116 scontext=u:r:untrusted_app:s0:c41,c258,c512,c768 tcontext=u:object_r:proc_net_tcp_udp:s0 tclass=file permissive=0 ppid=836 pcomm="main" pgid=26277 pgcomm="rtunnel.android" app=io.github.krlvm.powertunnel.android
12-07 21:40:14.034 26277 31576 I DefaultHttpProxyServer: Done shutting down proxy server
12-07 21:40:14.034 26277 31576 I LittleProxyServer: LittleProxy Server has stopped
12-07 21:40:14.034 26277 31576 I TunnelingVpnService: Stopping...
12-07 21:40:15.742 26277 26277 W RecyclerView: No adapter attached; skipping layout

andryluthfi avatar Dec 07 '21 14:12 andryluthfi

The log seems to be incomplete, can you try again? Did you also check https://dnsleaktest.com/? Which Android version you use?

krlvm avatar Dec 07 '21 14:12 krlvm

Hi @krlvm here is the log you wanted

12-07 21:39:51.492 26277 26277 W Thread-8: type=1400 audit(0.0:713949): avc: denied { read } for name="tcp6" dev="proc" ino=4026532407 scontext=u:r:untrusted_app:s0:c41,c258,c512,c768 tcontext=u:object_r:proc_net_tcp_udp:s0 tclass=file permissive=0 ppid=836 pcomm="main" pgid=26277 pgcomm="rtunnel.android" app=io.github.krlvm.powertunnel.android
12-07 21:39:51.492 26277 26277 W Thread-8: type=1400 audit(0.0:713950): avc: denied { read } for name="tcp" dev="proc" ino=4026532116 scontext=u:r:untrusted_app:s0:c41,c258,c512,c768 tcontext=u:object_r:proc_net_tcp_udp:s0 tclass=file permissive=0 ppid=836 pcomm="main" pgid=26277 pgcomm="rtunnel.android" app=io.github.krlvm.powertunnel.android
12-07 21:39:52.132 26277 26277 W Thread-8: type=1400 audit(0.0:713951): avc: denied { read } for name="tcp6" dev="proc" ino=4026532407 scontext=u:r:untrusted_app:s0:c41,c258,c512,c768 tcontext=u:object_r:proc_net_tcp_udp:s0 tclass=file permissive=0 ppid=836 pcomm="main" pgid=26277 pgcomm="rtunnel.android" app=io.github.krlvm.powertunnel.android
12-07 21:39:52.140 26277 26277 I chatty  : uid=10553(io.github.krlvm.powertunnel.android) identical 2 lines
12-07 21:39:52.140 26277 26277 W Thread-8: type=1400 audit(0.0:713954): avc: denied { read } for name="tcp6" dev="proc" ino=4026532407 scontext=u:r:untrusted_app:s0:c41,c258,c512,c768 tcontext=u:object_r:proc_net_tcp_udp:s0 tclass=file permissive=0 ppid=836 pcomm="main" pgid=26277 pgcomm="rtunnel.android" app=io.github.krlvm.powertunnel.android
12-07 21:39:58.044 26277 26277 W Thread-8: type=1400 audit(0.0:713955): avc: denied { read } for name="tcp6" dev="proc" ino=4026532407 scontext=u:r:untrusted_app:s0:c41,c258,c512,c768 tcontext=u:object_r:proc_net_tcp_udp:s0 tclass=file permissive=0 ppid=836 pcomm="main" pgid=26277 pgcomm="rtunnel.android" app=io.github.krlvm.powertunnel.android
12-07 21:39:58.044 26277 26277 W Thread-8: type=1400 audit(0.0:713956): avc: denied { read } for name="tcp" dev="proc" ino=4026532116 scontext=u:r:untrusted_app:s0:c41,c258,c512,c768 tcontext=u:object_r:proc_net_tcp_udp:s0 tclass=file permissive=0 ppid=836 pcomm="main" pgid=26277 pgcomm="rtunnel.android" app=io.github.krlvm.powertunnel.android
12-07 21:39:58.052 26277 26277 W Thread-8: type=1400 audit(0.0:713957): avc: denied { read } for name="tcp6" dev="proc" ino=4026532407 scontext=u:r:untrusted_app:s0:c41,c258,c512,c768 tcontext=u:object_r:proc_net_tcp_udp:s0 tclass=file permissive=0 ppid=836 pcomm="main" pgid=26277 pgcomm="rtunnel.android" app=io.github.krlvm.powertunnel.android
12-07 21:39:58.052 26277 26277 W Thread-8: type=1400 audit(0.0:713958): avc: denied { read } for name="tcp" dev="proc" ino=4026532116 scontext=u:r:untrusted_app:s0:c41,c258,c512,c768 tcontext=u:object_r:proc_net_tcp_udp:s0 tclass=file permissive=0 ppid=836 pcomm="main" pgid=26277 pgcomm="rtunnel.android" app=io.github.krlvm.powertunnel.android
12-07 21:40:11.288 26277 26277 W Thread-8: type=1400 audit(0.0:713961): avc: denied { read } for name="udp6" dev="proc" ino=4026532406 scontext=u:r:untrusted_app:s0:c41,c258,c512,c768 tcontext=u:object_r:proc_net_tcp_udp:s0 tclass=file permissive=0 ppid=836 pcomm="main" pgid=26277 pgcomm="rtunnel.android" app=io.github.krlvm.powertunnel.android
12-07 21:40:11.288 26277 26277 W Thread-8: type=1400 audit(0.0:713962): avc: denied { read } for name="udp" dev="proc" ino=4026532117 scontext=u:r:untrusted_app:s0:c41,c258,c512,c768 tcontext=u:object_r:proc_net_tcp_udp:s0 tclass=file permissive=0 ppid=836 pcomm="main" pgid=26277 pgcomm="rtunnel.android" app=io.github.krlvm.powertunnel.android
12-07 21:40:11.532 26277 26277 W Thread-8: type=1400 audit(0.0:713963): avc: denied { read } for name="tcp6" dev="proc" ino=4026532407 scontext=u:r:untrusted_app:s0:c41,c258,c512,c768 tcontext=u:object_r:proc_net_tcp_udp:s0 tclass=file permissive=0 ppid=836 pcomm="main" pgid=26277 pgcomm="rtunnel.android" app=io.github.krlvm.powertunnel.android
12-07 21:40:11.532 26277 26277 W Thread-8: type=1400 audit(0.0:713964): avc: denied { read } for name="tcp" dev="proc" ino=4026532116 scontext=u:r:untrusted_app:s0:c41,c258,c512,c768 tcontext=u:object_r:proc_net_tcp_udp:s0 tclass=file permissive=0 ppid=836 pcomm="main" pgid=26277 pgcomm="rtunnel.android" app=io.github.krlvm.powertunnel.android
12-07 21:40:12.006 26277 26277 I TunnelingVpnService: Stopping...
12-07 21:40:12.008 26277 31576 I LittleProxyServer: Stopping LittleProxy Server...
12-07 21:40:12.008 26277 31576 I DefaultHttpProxyServer: Shutting down proxy server gracefully
12-07 21:40:12.008 26277 31576 I DefaultHttpProxyServer: Closing all channels (graceful)
12-07 21:40:12.026 26277 31576 I o*.l*.p*.i*.ServerGroup: Shutting down server group event loops (graceful)
12-07 21:40:12.028 26277 26277 W Thread-8: type=1400 audit(0.0:713965): avc: denied { read } for name="tcp6" dev="proc" ino=4026532407 scontext=u:r:untrusted_app:s0:c41,c258,c512,c768 tcontext=u:object_r:proc_net_tcp_udp:s0 tclass=file permissive=0 ppid=836 pcomm="main" pgid=26277 pgcomm="rtunnel.android" app=io.github.krlvm.powertunnel.android
12-07 21:40:12.344 26277 26277 W Thread-8: type=1400 audit(0.0:713978): avc: denied { read } for name="tcp6" dev="proc" ino=4026532407 scontext=u:r:untrusted_app:s0:c41,c258,c512,c768 tcontext=u:object_r:proc_net_tcp_udp:s0 tclass=file permissive=0 ppid=836 pcomm="main" pgid=26277 pgcomm="rtunnel.android" app=io.github.krlvm.powertunnel.android
12-07 21:40:12.344 26277 26277 W Thread-8: type=1400 audit(0.0:713979): avc: denied { read } for name="tcp" dev="proc" ino=4026532116 scontext=u:r:untrusted_app:s0:c41,c258,c512,c768 tcontext=u:object_r:proc_net_tcp_udp:s0 tclass=file permissive=0 ppid=836 pcomm="main" pgid=26277 pgcomm="rtunnel.android" app=io.github.krlvm.powertunnel.android
12-07 21:40:12.352 26277 26277 W Thread-8: type=1400 audit(0.0:713980): avc: denied { read } for name="tcp6" dev="proc" ino=4026532407 scontext=u:r:untrusted_app:s0:c41,c258,c512,c768 tcontext=u:object_r:proc_net_tcp_udp:s0 tclass=file permissive=0 ppid=836 pcomm="main" pgid=26277 pgcomm="rtunnel.android" app=io.github.krlvm.powertunnel.android
12-07 21:40:12.600 26277 26277 W Thread-8: type=1400 audit(0.0:713981): avc: denied { read } for name="tcp6" dev="proc" ino=4026532407 scontext=u:r:untrusted_app:s0:c41,c258,c512,c768 tcontext=u:object_r:proc_net_tcp_udp:s0 tclass=file permissive=0 ppid=836 pcomm="main" pgid=26277 pgcomm="rtunnel.android" app=io.github.krlvm.powertunnel.android
12-07 21:40:12.600 26277 26277 W Thread-8: type=1400 audit(0.0:713982): avc: denied { read } for name="tcp" dev="proc" ino=4026532116 scontext=u:r:untrusted_app:s0:c41,c258,c512,c768 tcontext=u:object_r:proc_net_tcp_udp:s0 tclass=file permissive=0 ppid=836 pcomm="main" pgid=26277 pgcomm="rtunnel.android" app=io.github.krlvm.powertunnel.android
12-07 21:40:13.644 26277 26277 W Thread-8: type=1400 audit(0.0:713986): avc: denied { read } for name="tcp6" dev="proc" ino=4026532407 scontext=u:r:untrusted_app:s0:c41,c258,c512,c768 tcontext=u:object_r:proc_net_tcp_udp:s0 tclass=file permissive=0 ppid=836 pcomm="main" pgid=26277 pgcomm="rtunnel.android" app=io.github.krlvm.powertunnel.android
12-07 21:40:13.644 26277 26277 W Thread-8: type=1400 audit(0.0:713987): avc: denied { read } for name="tcp" dev="proc" ino=4026532116 scontext=u:r:untrusted_app:s0:c41,c258,c512,c768 tcontext=u:object_r:proc_net_tcp_udp:s0 tclass=file permissive=0 ppid=836 pcomm="main" pgid=26277 pgcomm="rtunnel.android" app=io.github.krlvm.powertunnel.android
12-07 21:40:14.034 26277 31576 I DefaultHttpProxyServer: Done shutting down proxy server
12-07 21:40:14.034 26277 31576 I LittleProxyServer: LittleProxy Server has stopped
12-07 21:40:14.034 26277 31576 I TunnelingVpnService: Stopping...
12-07 21:40:15.742 26277 26277 W RecyclerView: No adapter attached; skipping layout

i can't open any website if i connected through powertunnel. here's screenshot of me trying access https://dnsleaktest.com/ right before connected through powertunnel Screenshot_20211212-042920

and here's screenshot after connected through powertunnel. it seems unresponsive/loading indefinitely Screenshot_20211212-043010

after awhile it display netwrok unreachable Screenshot_20211212-043036

and here's my android version, im using android 11 Screenshot_20211212-043117

and here's my powertunnel config/setting, i hope this would help you. Screenshot_20211212-043848 Screenshot_20211212-043852 Screenshot_20211212-043903

andryluthfi avatar Dec 11 '21 21:12 andryluthfi

Thanks a lot for the update on this, there's a chance you are affected by #82 - on some devices version 2.0 does not work. To clarify if this is it or not, does version 2.0 work without DNS settings? Did version 1.9.1 work without DNS settings? I also know that Cloudflare DNS sometimes does not work with PowerTunnel, can you try Google DNS?

It also seems to me that you mixed up the logs and sent the old one again, please check.

Thank you for help!

krlvm avatar Dec 11 '21 22:12 krlvm