You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi.
I just noticed that tinc-gui doesn't notice in Manifest that it needs vpn privileges, so then it can't access tun interface, because at least on my device it is:
shell@android:/etc/tinc/mva # ls /dev/tun -l
crw-rw---- system vpn 10, 200 1970-08-14 18:08 tun
(so, tinc app should have vpn group pemissions to have access).
P.S. Also, I think, it'd be nice to have some minimalistic internal text editor (it'll allow to keep tinc config directory and files inaccessible by other apps)
The text was updated successfully, but these errors were encountered:
Also, I guess, it'd need some network-related (possibly, MODIFY_NETWORK_ACCOUNTING, or something like that) permissions to be able to manage IP-addresses (via iproute2) on tun-interface from tinc-up script
Actually, manuals says that it is android.permission.BIND_VPN_SERVICE
but I can't confirm it, since beug-compiled tinc_gui still has no permissions to tun :(
Looked like a good lead. However BIND_VPN_SERVICE permissions simply allows to build a simple VPN service, without giving direct access to /dev/tun file of vpn group (at least from what I see).
This would require a major rewrite of tinc GUI and support only TUN device (not TAP).
Hi.
I just noticed that tinc-gui doesn't notice in Manifest that it needs vpn privileges, so then it can't access tun interface, because at least on my device it is:
shell@android:/etc/tinc/mva # ls /dev/tun -l
crw-rw---- system vpn 10, 200 1970-08-14 18:08 tun
(so, tinc app should have vpn group pemissions to have access).
P.S. Also, I think, it'd be nice to have some minimalistic internal text editor (it'll allow to keep tinc config directory and files inaccessible by other apps)
The text was updated successfully, but these errors were encountered: