Commit Graph

44 Commits (31b3c725c86fadf08b2ddd1e7d1786d38e9c44e6)
 

Author SHA1 Message Date
Elias Naur 31b3c725c8 cmd/tailscale: reset cached config when failing to set up VPN tunnel
Add a bit of logging while here.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur b297135f2a cmd/tailscale: wait for previous tunnel(s) to close before establishing new
Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur e77dcd9933 com/tailscale/ipn: strip manufacturer from model name
Some devices prefix Build.MODEL with Build.Manufacturer, some don't.
Strip the duplicates.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur 121232bf36 go.*: bump gio version
Second attempt at supporting touchpad scrolling on ChromeOS.

Updates tailscale/tailscale#431

Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur 68834683ad AndroidManifest.xml: disable ChromeOS input emulation
Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur 0d0a049057 cmd/tailscale: avoid deadlocking between backend calls and callbacks
The runBackend goroutine issues backend requests (StartLoginInteractive,
Logout, SetPrefs) from the same select that receives callbacks the
backend.

Avoid the potential for same-goroutine deadlock by issuing backend requests on
separate goroutines.

Fixes tailscale/tailscale#470

Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur dd2cdacbed android: bump version code
Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur 752d453642 java/com/tailscale/ipn: set underlying networks and metered status for the VPN
Updates tailscale/tailscale#453

Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur 18adee11a5 cmd/tailscale: assume internet connectivity at startup
Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur bfd730f3d7 cmd/tailscale: handle IPN callbacks from the backend goroutine
Before this change, the notification and configuration callbacks
raced with the backend goroutine.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur 4388f145cc cmd/tailscale: switch to the Roboto font
Updates tailscale/tailscale#420

Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur 08c2192240 cmd/tailscale: bump gio version
Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur 059cf8f4be android: bump version code
Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur 271d40978e java/com/tailscale/ipn: explicitly allow IPv4 and IPv6 traffic
The VPNService.Builder object blocks traffic to IP families for which no
route, local address, nor DNS are defined. The Tailscale tunnel doesn't
cover all traffic, so both IP families should be kept open.

Updates tailscale/tailscale#453 (maybe fixes it)
Updates tailscale/tailscale#431 (another DNS problem)

Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur c290ccf388 cmd/tailscale: note that seamless VPN tunnel handover works on Android
But not on ChromeOS, and I haven't found a robust way to detect
ChromeOS.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur 647a4a9bfd go.*: bump gio version
Restores sRGB on Samsung S9 devices.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur 8dbac874eb cmd/tailscale: disable smooth tunnel handovers for ChromeOS
ChromeOS doesn't seem to correctly apply new tunnel settings if
another tunnel is already active. Instead, close any existing
tunnel before creating another.

Updates tailscale/tailscale#431

Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur d9483b4501 go.*: gump gio version
Restores compatibility with Android < API 26.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur 96791686fe go.*: bump gio version
Upadtes tailscale/tailscale#431 (implements touchpad scrolling)

Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur 4c1017a548 cmd/tailscale,android: bump gio version
Updates tailscale/tailscale#431 (fixes a resize crash)

Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur eb6c345667 android: mark the Activity prepared for multi-window configration changes
Updates tailscale/tailscale#431 (improves ChromeOS resizing)

Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur 9f512ee510 go.*: bump gio version
Fixes a crash when using the app in multi-window mode.

Updates tailscale/tailscale#431

Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur f5a77fd1e0 android: use git describe --tags --dirty for the version name
The monotonic version code is still manually bumped.

Updates tailscale/tailscale#431

Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur ad2424ecd0 android: bump version
Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur adb6bb736b cmd/tailscale: dim want-running switch when not authorized
Updates tailscale/tailscale#420

Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur ab06e659eb java/com/tailscale/ipn: add Build.MANUFACTURER to hostname
Updates tailscale/tailscale#420

Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur f77a73fcdd go.*: bump gio version
Fixes tailscale/tailscale#441

Signed-off-by: Elias Naur <mail@eliasnaur.com>
5 years ago
Elias Naur a2fbd1a202 cmd/tailscale: bump gio version
Signed-off-by: Elias Naur <mail@eliasnaur.com>
5 years ago
Elias Naur 4ca298d19a Dockerfile,Makefile: add dockershell Makefile target for Docker builds
Fixes tailscale/tailscale#424

Signed-off-by: Elias Naur <mail@eliasnaur.com>
5 years ago
Elias Naur 24e887bf48 Dockerfile: preload Gradle
Updates tailscale/tailscale#424

Signed-off-by: Elias Naur <mail@eliasnaur.com>
5 years ago
Elias Naur b97338939f Dockerfile: add SDK platform-tools and use build-tools version Gradle wants
Updates tailscale/tailscale#424

Signed-off-by: Elias Naur <mail@eliasnaur.com>
5 years ago
Elias Naur 0e400dfc57 Dockerfile: remove redundant Android SDK packages
Updates tailscale/tailscale#424

Signed-off-by: Elias Naur <mail@eliasnaur.com>
5 years ago
Elias Naur 5de04d4177 cmd/tailscale: bump gio version
Signed-off-by: Elias Naur <mail@eliasnaur.com>
5 years ago
Elias Naur 20f016c500 android: bump version code
Signed-off-by: Elias Naur <mail@eliasnaur.com>
5 years ago
Elias Naur 8a444d7fb7 cmd/tailscale: don't show stale local name and address
Updates tailscale/tailscale#420

Signed-off-by: Elias Naur <mail@eliasnaur.com>
5 years ago
Elias Naur 8ae20a98eb cmd/tailscale: synchronize UI switch with ipn.Prefs.WantRunning
Updates tailscale/tailscale#420

Signed-off-by: Elias Naur <mail@eliasnaur.com>
5 years ago
Elias Naur 3db59c3a9b cmd/tailscale,java/com/tailscale/ipn: set hostname to Build.MODEL
Fixes tailscale/tailscale#409

Signed-off-by: Elias Naur <mail@eliasnaur.com>
5 years ago
Elias Naur 920aba4ff1 cmd/tailscale: bump gio version
Signed-off-by: Elias Naur <mail@eliasnaur.com>
5 years ago
Elias Naur 5a6626d1e6 go.*: bump gio version
Signed-off-by: Elias Naur <mail@eliasnaur.com>
5 years ago
Elias Naur 7708523bd6 cmd/tailscale: bump gio version and add tools.go import of the gogio tool
Signed-off-by: Elias Naur <mail@eliasnaur.com>
5 years ago
Brad Fitzpatrick 93cb1338e3 Start of a Dockerfile.
It can be improved a lot to be more incremental, but this is something for now.

Updates tailscale/tailscale#424
5 years ago
Elias Naur dd6a68bae7 cmd/tailscale: use Stopped as the barrier state for enabling the VPN
NeedsLogin is not the correct barrier because NeedsMachineAuth should also
block VPN startup.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
5 years ago
Elias Naur ebb3bd9fc2 go.mod: bump tailscale version for the zero-read fix
With the zero-read fix from

737124ef70

the app now works with tailscale@master, not just my private fork.

Run `go mod tidy`, which works now, I believe because of re-organization
in

7317e73bf4

While here, match the app version code with the released beta.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
5 years ago
Elias Naur 5109987e18 all: initial commit
Signed-off-by: Elias Naur <mail@eliasnaur.com>
5 years ago