pacien / tincapp

Android binding and user interface for the tinc mesh VPN daemon.
https://tincapp.euxane.net
GNU General Public License v3.0
165 stars 31 forks source link

Chromebook Support #75

Closed rkeene closed 6 years ago

rkeene commented 6 years ago

Possibly out of scope, but I am interested in using this on a Chromebook. I setup the Android version on my Chromebook but this only allowed Android apps to access the VPN.

Is there any chance of a ChromiumOS port ?

pacien commented 6 years ago

Chromium OS' VPN API are very different from the ones exposed on the Android platform.

The former uses events and function calls to pass network packets while the latter exposes a classical tun interface (directly giving access to a corresponding file descriptor). A new (very simple) device driver would be needed in tinc itself to support this particular network interface for Chromium OS.

The user interface that Tinc App provides does not seem to fit the other OS either.

This looks like a whole new port completely separate from this one.

rkeene commented 6 years ago

Is there any possibility that you are interested in creating this port ? I am willing to donate towards its creation if that's helpful.

pacien commented 6 years ago

Not being a Chromebook user myself, I'm afraid I cannot afford starting such a new project on my own with no personal interest in it. That being said, I'm open for commission as a freelance developer, but this will probably be quite expensive given the amount of work.

rkeene commented 6 years ago

It looks like the Android VPN solution is supposed to support this and it's just a bug in ChromeOS 69, so it should work with the next ChromeOS update !

rkeene commented 6 years ago

After even further looking into it, it appears that the Android VPN bridge to ChromeOS doesn't support IPv6 tunneling !

https://chromium.googlesource.com/aosp/platform/system/connectivity/shill/+/master/vpn/arc_vpn_driver.cc#117

(ARC = Android Runtime for Chrome)

The even worse news is that no first or third party ChromeOS VPN has support for it either: https://groups.google.com/a/chromium.org/d/msg/chromium-os-reviews/5s322x4cAuE/8ohDqX59CQAJ https://bugs.chromium.org/p/chromium/issues/detail?id=489260 https://bugs.chromium.org/p/chromium/issues/detail?id=642040

So a native tinc port to ChromeOS probably also not support IPv6 -- which is where my interest was, in getting IPv6 connectivity to my IPv6-less hosts.