Denton Gentry
7b2e61e80c
Remove check for Tailscale toolchain.
...
Broke the F-Droid build.
Update Dockerfile to use Go 1.17rc1 to verify that as a fix.
Signed-off-by: Denton Gentry <dgentry@tailscale.com >
2021-07-24 08:43:38 -07:00
Denton Gentry
00e45e3795
android: bump version code
...
Signed-off-by: Denton Gentry <dgentry@tailscale.com >
1.11.151-d145c594ad6-g7ebedfd62a9
2021-07-23 16:02:23 -07:00
Denton Gentry
7ebedfd62a
Require Tailscale go toolchain in $PATH.
...
Setting GOBIN was not sufficient, something deeper in
the build process is invoking the go tool without $GOBIN.
Instead, require it be first in $PATH.
This is necessary to fix
https://github.com/tailscale/tailscale/issues/2450
and (hopefully)
https://github.com/tailscale/tailscale/issues/2478
which are a SECCOMP crash in accept() which we have
patched in the Tailscale toolchain by pulling in
an early patch from go 1.17.
Signed-off-by: Denton Gentry <dgentry@tailscale.com >
2021-07-23 15:57:53 -07:00
Denton Gentry
0df2377630
android: bump version code
...
Signed-off-by: Denton Gentry <dgentry@tailscale.com >
1.11.151-d145c594ad6-g7a00ad639b4
2021-07-22 20:22:56 -07:00
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 >
2021-07-22 20:22:40 -07:00
Denton Gentry
3cb36c4599
android: bump version code
...
Unstable build 1.11.109.
Signed-off-by: Denton Gentry <dgentry@tailscale.com >
2021-07-16 14:08:02 -07:00
Denton Gentry
4d32c6da4f
android: bump version code
...
Signed-off-by: Denton Gentry <dgentry@tailscale.com >
2021-07-16 09:36:40 -07:00
Denton Gentry and GitHub
2c1f35d560
Merge pull request #15 from tailscale/unstable
...
Update for 1.11 unstable release
2021-07-16 09:33:02 -07:00
Denton Gentry
1c78887bf5
android: bump version code
...
Signed-off-by: Denton Gentry <dgentry@tailscale.com >
2021-07-15 21:33:47 -07:00
Denton Gentry
85ed50317d
Update for 1.11 unstable release.
...
Use OSS version in tailscale-version.sh
Signed-off-by: Denton Gentry <dgentry@tailscale.com >
2021-07-15 21:33:47 -07:00
Denton Gentry
90909797a0
android: bump version code
...
Signed-off-by: Denton Gentry <dgentry@tailscale.com >
v1.10.2-36fe8addc39-g74a18b3359b
2021-07-15 19:36:09 -07:00
Denton Gentry
74a18b3359
go.mod: update to 1.10.2
...
Signed-off-by: Denton Gentry <dgentry@tailscale.com >
2021-07-15 19:29:30 -07:00
Denton Gentry
2a6cd09d7c
android: bump version code
...
Signed-off-by: Denton Gentry <dgentry@tailscale.com >
v1.10.1-cd3fd076cc7-gadfcedb0972
2021-07-03 07:11:03 -07:00
Denton Gentry
adfcedb097
Update to 1.10.1 release.
...
Signed-off-by: Denton Gentry <dgentry@tailscale.com >
2021-07-03 07:10:48 -07:00
Elias Naur
14cdec17f1
android: bump version code
...
Signed-off-by: Elias Naur <mail@eliasnaur.com >
v1.10.0-405ea978f8b-g242c936b2cd
2021-06-30 16:25:09 +02:00
Elias Naur
242c936b2c
android: lower target SDK to 29
...
Target 30 results in an error on load, most likely because netlink
is no longer accessible for apps.
runBackend: NewUserspaceEngineAdvanced: route ip+net: netlinkrib: permission denied
Fixes tailscale/tailscale#2290
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2021-06-30 16:22:59 +02:00
Elias Naur
639aebac6a
android: bump version code
...
Signed-off-by: Elias Naur <mail@eliasnaur.com >
v1.10.0-405ea978f8b-g10ded1bad29
2021-06-30 11:01:02 +02:00
Elias Naur
10ded1bad2
cmd/tailscale,java: implement file sharing
...
Fixes tailscale/tailscale#1809
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2021-06-29 19:11:31 +02:00
Elias Naur
331bc1e30a
jni: introduce Get*ArrayElements
...
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2021-06-29 19:11:31 +02:00
Elias Naur
e007a9c153
android: bump target/compile SDK version to 30
...
Gio uses SDK 30 API now.
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2021-06-29 19:11:31 +02:00
Denton Gentry and Brad Fitzpatrick
7dedc91a80
ui: show IPv6 address if there's no IPv4 address
...
There are several situations where a peer may only have IPv6:
+ it was authorized using an ephemeral node key
https://tailscale.com/kb/1111/ephemeral-nodes/
+ the Tailnet has IPv4 disabled
https://twitter.com/bradfitz/status/1398380415124082690
So:
+ if a peer has an IPv4 address, display that.
+ if a peer does not have an IPv4 address, display IPv6.
+ If a peer does not have either IPv4 or IPv6 then leave
the address blank. Not sure how this could happen.
Signed-off-by: Denton Gentry <dgentry@tailscale.com >
2021-06-26 17:44:26 -07:00
Denton Gentry and Elias Naur
594ed6b7bc
android: bump version code
...
On 6/24 I built a v43 and started to release it to production,
then decided to do an Internal release first. The Play Store
would not allow v43 to be used again so I built v44, released
it to Internal, and after testing promoted it to Production and
it went into Google's review process.
Crucially, I did not push the tags before going to bed.
On 6/25, not knowing any of this because I hadn't pushed the tags,
Elias built v43 and released it. The Play Store had apparently cleaned
up the state from my abandoned v43 by that point.
This commit increments the build number to v44 so we don't re-use it.
I'm not building an actual release, just incrementing the build
number and pointing to the same git commit. I'm hoping F-Droid will
therefore build exactly the same thing as it did for v43.
I promise to push the tags before going to bed next time.
Signed-off-by: Denton Gentry <dgentry@tailscale.com >
2021-06-25 18:04:12 +02:00
Elias Naur
e8f2409cb3
android: bump version code
...
Signed-off-by: Elias Naur <mail@eliasnaur.com >
v1.10.0-405ea978f8b-g47b732aaab1
2021-06-25 12:44:10 +02:00
Elias Naur
47b732aaab
Makefile,version: update versioning scheme to match main repository
...
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2021-06-25 12:43:59 +02:00
Elias Naur
131bf27995
cmd/tailscale: use go:embed directives for image files
...
Fixes tailscale/tailscale#2243
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2021-06-25 12:15:16 +02:00
Elias Naur
b57f06455d
go.*: bump Gio version
...
Enables us to replace GioActivity with our own.
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2021-06-25 12:08:27 +02:00
Elias Naur
d67229dc38
jni: merge jni.c into jni.go
...
As a bonus, the C functions can be static.
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2021-06-25 12:04:25 +02:00
Brad Fitzpatrick
2f7b27412a
gitignore: also ignore tailscale-debug.apk
2021-06-24 21:37:16 -07:00
Brad Fitzpatrick and Brad Fitzpatrick
b97cc703d8
Fix routing loop prevention, MagicDNS forwarding over Tailscale.
...
Fixes tailscale/tailscale#2102
Updates tailscale/tailscale#1809
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com >
2021-06-24 21:34:21 -07:00
Brad Fitzpatrick
ac8ec020b8
Update to Tailscale 1.10.
...
Updates tailscale/tailscale#2102
Updates tailscale/tailscale#1809
2021-06-24 20:37:03 -07:00
Brad Fitzpatrick
d66204ecfd
Dockerfile: bump Go to 1.16, set ANDROID_SDK_ROOT for dockershell
2021-06-23 21:00:51 -07:00
Elias Naur
9e9d69fd95
android: bump version code
...
Signed-off-by: Elias Naur <mail@eliasnaur.com >
v1.8.6-t28a8f9c90-g04890797712
2021-05-29 10:43:53 +02:00
Denton Gentry and GitHub
0489079771
Merge pull request #10 from tailscale/b1956
...
backend: Send DNS config through CallbackRouter.
2021-05-28 16:01:38 -07:00
Denton Gentry
90351e7392
backend: Send DNS config through CallbackRouter.
...
Using NewNoopManager avoided the errors from trying to overwrite
/etc/resolv.conf, but still didn't fully work. Route DNS config
through the CallbackRouter.
Fixes https://github.com/tailscale/tailscale/issues/1956
Signed-off-by: Denton Gentry <dgentry@tailscale.com >
2021-05-28 14:14:59 -07:00
Elias Naur
20ddae3208
android: bump version code
...
Signed-off-by: Elias Naur <mail@eliasnaur.com >
v1.8.6-t28a8f9c90-gff16a75a65c
2021-05-28 11:46:51 +02:00
Elias Naur
ff16a75a65
go.*: bump tailscale.com to 1.8.6
...
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2021-05-28 11:46:29 +02:00
Elias Naur
9ba4a01a4e
cmd/tailscale: remove tstun.Wrapper
...
NewUserspaceEngine wraps our TUN device already.
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2021-05-28 11:39:23 +02:00
Denton Gentry and GitHub
d90aa446c0
Merge pull request #9 from tailscale/b1956
...
backend: use dns.NewNoopManager.
2021-05-27 12:37:19 -07:00
Denton Gentry
ec8133a972
backend: use dns.NewNoopManager.
...
Android updates its DNS config in updateTUN() when in response
to several different channels from the backend.
There is not an Android-specific NewOSConfigurator, we end
up pulling in the Linux NewOSConfigurator:
https://github.com/tailscale/tailscale/blob/main/net/dns/manager_linux.go
The Linux DNS manager expects to be able to write to /etc/resolv.conf,
which does not work on Android and causes errors in updating DNS config.
Instead, allocate dns.NewNoopManager to disable the DNS manager, and
rely on the updateTUN() code to handle DNS.
Fixes https://github.com/tailscale/tailscale/issues/1956
Signed-off-by: Denton Gentry <dgentry@tailscale.com >
2021-05-26 21:29:25 -07:00
Elias Naur
3d2abf0b3b
android: bump version code
...
Signed-off-by: Elias Naur <mail@eliasnaur.com >
v1.8.3-td0e86b08c-g8ea1d4ced73
2021-05-19 11:57:54 +02:00
Elias Naur
8ea1d4ced7
android: bump version code
...
Signed-off-by: Elias Naur <mail@eliasnaur.com >
v1.8.3-td0e86b08c-g06e461d7038
2021-05-19 11:53:20 +02:00
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 >
2021-05-19 11:53:03 +02:00
Elias Naur
401ed389ef
android: bump version code
...
Signed-off-by: Elias Naur <mail@eliasnaur.com >
v1.6.0-tddc975fcb-g05212e770b0
2021-04-02 16:34:41 +02:00
Elias Naur
05212e770b
cmd/tailscale: don't configure logtail for low memory
...
logtail in low memory configuration truncates log lines to ~254 bytes.
Fixes tailscale/tailscale#1625
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2021-04-02 16:18:07 +02:00
Elias Naur
6d9d6786af
Makefile: make sed invocations portable to macOS
...
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2021-04-02 16:15:22 +02:00
Elias Naur
db13aa4e92
android/build.gradle: upgrade androidx.security to 1.1.0-alpha03
...
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2021-03-30 15:40:26 +02:00
Elias Naur
633d81287a
cmd/tailscale,com/tailscale/ipn: delete unused constant, reformat
...
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2021-03-28 18:24:18 +02:00
Elias Naur
206f2bb4e7
android: bump version code
...
Signed-off-by: Elias Naur <mail@eliasnaur.com >
v1.6.0-tddc975fcb-ge2d731dbbab
2021-03-19 16:37:11 +01:00
Elias Naur
e2d731dbba
ensure exit node status is updated when changing it
...
Fixes tailscale/tailscale#1545
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2021-03-19 16:36:36 +01:00
Elias Naur
085d823920
android: bump version code
...
Signed-off-by: Elias Naur <mail@eliasnaur.com >
v1.6.0-tddc975fcb-g05ddfd5d90e
2021-03-17 20:08:31 +01:00