Commit Graph

89 Commits (7cb3c9a4279939efc24b305140297a03f85fd252)

Author SHA1 Message Date
Denton Gentry b2665ab2ff Update tailscale OSS.
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
3 years ago
Denton Gentry 184250167b
Merge branch 'main' into dns 3 years ago
Denton Gentry ca696b116c Update opensource repository 3 years ago
Denton Gentry 5c9cec0064 retrieve current DNS servers.
Add getDnsConfigAsString() to retrieve the current DNS
configuration from the Android platform. This implements
several mechanisms to retrieve DNS information, suitable
for different Android versions:

Android 7 and later use ConnectivityManager getAllNetworks(),
then iterate over each network to retrieve DNS servers and
search domains using the LinkProperties.

Android 6 and earlier can only retrieve the currently active
interface using ConnectivityManager getActiveNetwork(), but have
two additional fallback options which leverage the system
properties available in older Android releases.

--------

Also changed how LinkChange notification works, switching from
the older BroadcastReceiver of a ConnectivityManager Intent to
the newer ConnectivityManager.registerNetworkCallback. We need
this because the onAvailable event is too early, we get notified
that LTE is up before its DNS servers have been set. We need
to wait for the onLinkPropertiesChanged event instead, which is
only available with registerNetworkCallback.

Fixes https://github.com/tailscale/tailscale/issues/2116
Updates https://github.com/tailscale/tailscale/issues/988

Signed-off-by: Denton Gentry <dgentry@tailscale.com>
3 years ago
Elias Naur 36b09f6b06 cmd/tailscale,go.*: update Gio version
Provides support for Android TalkBack

Fixes tailscale/tailscale#1004

Signed-off-by: Elias Naur <mail@eliasnaur.com>
3 years ago
Denton Gentry 729bf9a356 backend: use logpolicy.NewLogtailTransport
Allows use of bootstrap DNS and of a built-in ISRG X1 root
certificate.

Fixes https://github.com/tailscale/tailscale/issues/3046
3 years ago
Denton Gentry da175ba221 go.mod: update OSS
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
3 years ago
Denton Gentry db53a314eb go.mod: update OSS
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
3 years ago
Denton Gentry 780e7515da go.mod: update to tailscale.com@main.
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
3 years ago
Denton Gentry f9bbd73413 go.mod: update OSS from main for an unstable build.
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
3 years ago
Denton Gentry 82ea8df1dc go.mod: update from HEAD.
Preparing for a 1.17.x unstable build.

Signed-off-by: Denton Gentry <dgentry@tailscale.com>
3 years ago
Elias Naur a3152ae505 go.*,cmd/tailscale: upgrade Gio
Add proper margins to toast messages while here.

Fixes tailscale/tailscale#3059

Signed-off-by: Elias Naur <mail@eliasnaur.com>
3 years ago
Denton Gentry 0a13b89ce0 go.mod: update from HEAD.
Also increment build number to skip over the 1.16.0 release build.
3 years ago
Denton Gentry 41aa0c1d02 go.mod: update to current HEAD.
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
3 years ago
Brad Fitzpatrick a5bed46c9c cmd/tailscale: use hostinfo setters for OSVersion, DeviceModel
Stop abusing Prefs, which bit us in the iOS client. We're going to
remove the ipn.Prefs mechanism.

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
3 years ago
Denton Gentry 9b52c6b357 go.mod: update to current main.
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
3 years ago
Denton Gentry 0637d599af go.mod: Update to tailscale HEAD.
Notably, pull in https://github.com/tailscale/tailscale/pull/2951

Signed-off-by: Denton Gentry <dgentry@tailscale.com>
3 years ago
Denton Gentry 75ef65dd50 go.mod: Update to tailscale HEAD.
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
3 years ago
Elias Naur db77216ead go.*: bump Gio version
Fixes graphics issues on various devices (Nexus 7, LG K20, Samsung J2).

Signed-off-by: Elias Naur <mail@eliasnaur.com>
3 years ago
Denton Gentry 7aa8ae9a47 go.mod: update for 1.15.x unstable build.
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
3 years ago
Denton Gentry eb24dedd81 go.mod: move to unstable version 1.15.
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
3 years ago
Denton Gentry ae2df12032 Update from Tailscale OSS.
Skip release 61.

Signed-off-by: Denton Gentry <dgentry@tailscale.com>
3 years ago
Elias Naur 6635d89292 go.*: bump Gio version; go mod tidy
Fixes two minor OpenGL ES 2.0 issues.

Updates tailscale/tailscale#1008

Signed-off-by: Elias Naur <mail@eliasnaur.com>
3 years ago
Denton Gentry 30324736c9 Update OSS from HEAD.
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
3 years ago
Denton Gentry a68462ec65 Update for unstable build.
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
3 years ago
Denton Gentry 0f46117f9c Update to latest OSS
Preparing new Open Testing (unstable) release.

Signed-off-by: Denton Gentry <dgentry@tailscale.com>
3 years ago
Elias Naur ebcc878fcb go.*,cmd/tailscale: upgrade Gio
The upgraded version adds a CPU fallback renderer and sRGB emulation,
to support very low-spec Android Go devices.

Fixes tailscale/tailscale#1008

Signed-off-by: Elias Naur <mail@eliasnaur.com>
3 years ago
Denton Gentry f59e53e41d Update to Gio @main
For low end phone support:
https://lists.sr.ht/~eliasnaur/gio/%3CCD3XWVXUTCG0.23LAQED4PF674%40themachine%3E

Signed-off-by: Denton Gentry <dgentry@tailscale.com>
3 years ago
Denton Gentry ade708af7f Update for 1.13.x unstable builds. 3 years ago
Denton Gentry 7a00ad639b Update to latest OSS & use prod toolchain.
Unstable release 1.11.150.

Enforce use of Tailscale production toolchain, mainly because
it pulls in a fix for https://github.com/tailscale/tailscale/issues/2450

Signed-off-by: Denton Gentry <dgentry@tailscale.com>
3 years ago
Denton Gentry 3cb36c4599 android: bump version code
Unstable build 1.11.109.

Signed-off-by: Denton Gentry <dgentry@tailscale.com>
3 years ago
Denton Gentry 85ed50317d Update for 1.11 unstable release.
Use OSS version in tailscale-version.sh

Signed-off-by: Denton Gentry <dgentry@tailscale.com>
3 years ago
Denton Gentry 74a18b3359 go.mod: update to 1.10.2
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
3 years ago
Denton Gentry adfcedb097 Update to 1.10.1 release.
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
3 years ago
Elias Naur 10ded1bad2 cmd/tailscale,java: implement file sharing
Fixes tailscale/tailscale#1809

Signed-off-by: Elias Naur <mail@eliasnaur.com>
3 years ago
Elias Naur 131bf27995 cmd/tailscale: use go:embed directives for image files
Fixes tailscale/tailscale#2243

Signed-off-by: Elias Naur <mail@eliasnaur.com>
3 years ago
Elias Naur b57f06455d go.*: bump Gio version
Enables us to replace GioActivity with our own.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
3 years ago
Brad Fitzpatrick ac8ec020b8 Update to Tailscale 1.10.
Updates tailscale/tailscale#2102
Updates tailscale/tailscale#1809
3 years ago
Elias Naur ff16a75a65 go.*: bump tailscale.com to 1.8.6
Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur 06e461d703 go.*,cmd/tailscale: upgrade to tailscale.com v1.8.3
Updates tailscale/tailscale#1695

Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur 05ddfd5d90 go.*: upgrade to tailscale v1.6.0
Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur 71e0f2bd94 cmd/tailscale,go.*: bump gio version
Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur 56362cc61a cmd/tailscale,go.*: upgrade to latest tailscale
Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur d3e0b42093 go.*: upgrade to tailscale v1.4.5
Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur 3e758d0fe2 go.*: bump tailscale.com to v1.4.4
Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Sonia Appasamy c4f626c5a7 cmd/tailscale: use node.DisplayName for machine names
Update to tailscale 1.4.0 while here.

Signed-off-by: Sonia Appasamy <sonia@tailscale.com>
4 years ago
David Anderson b1395cfefb cmd/tailscale: update to network engine that supports IPv6.
Part of tailscale/tailscale#1158.

Signed-off-by: David Anderson <danderson@tailscale.com>
4 years ago
Elias Naur b981aa576c cmd/tailscale,go.*: update Gio version
Fixes tailscale/tailscale#471

Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur cedc696c87 go.*,cmd/tailscale: upgrade to latest gio version
Includes the GOARM=7 fix to avoid softfloat on 32-bit android/arm.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur 2b38d32130 go.*: upgrade to Tailscale 1.2.2
Also revert the "0.0.0" hack that made mkversion.sh complain.

Fixes tailscale/tailscale#883

Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago