Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Override DNS doesn't work on Xperia 1 III #89

Open
andryluthfi opened this issue Sep 23, 2021 · 7 comments
Open

Override DNS doesn't work on Xperia 1 III #89

andryluthfi opened this issue Sep 23, 2021 · 7 comments

Comments

@andryluthfi
Copy link

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

@krlvm
Copy link
Owner

krlvm commented Sep 23, 2021

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 krlvm closed this as completed Dec 7, 2021
@andryluthfi
Copy link
Author

andryluthfi commented Dec 7, 2021

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

im hoping you could reopen this issue

@krlvm krlvm reopened this Dec 7, 2021
@krlvm
Copy link
Owner

krlvm commented Dec 7, 2021

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

@krlvm krlvm removed the no response label Dec 7, 2021
@andryluthfi
Copy link
Author

@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

@krlvm
Copy link
Owner

krlvm commented Dec 7, 2021

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

@andryluthfi
Copy link
Author

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

@krlvm
Copy link
Owner

krlvm commented Dec 11, 2021

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 added a commit that referenced this issue Jan 19, 2022
Hostnames were not being resolved since #73 was implemented, however, it led to performance decrease on some firmware and even to complete Internet connection loss.

Should fix #100, #89, #82
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants