Commit Graph

537 Commits (61453254df8eb77114bd9b6ef32c04f4dea410ce)
 

Author SHA1 Message Date
Denton Gentry 4f17005954 android: bump version code
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2 years ago
Brad Fitzpatrick 140149ef87 fix "invalid IP" regression from netaddr to netip migration
Fixes tailscale/tailscale#5243
2 years ago
Brad Fitzpatrick f77610bd62 reformat, rename googleDNSServers variable
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2 years ago
Denton Gentry f225992d28 android: bump version code
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2 years ago
Denton Gentry 2b9b952d27 go.mod: update OSS one more time before building unstable.
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2 years ago
Denton Gentry bc9311c1e9
Merge pull request #52 from tailscale/oss
go.mod: update from OSS.
2 years ago
Denton Gentry dfd3c3d543
Merge pull request #53 from tailscale/gopro
Add GoPro to the apps allowed to skip the VPN.
2 years ago
Denton Gentry d1d72859b4 Add GoPro to the apps allowed to skip the VPN.
Fixes https://github.com/tailscale/tailscale/issues/2554

Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2 years ago
Denton Gentry 1a0253892b go.mod: update from OSS.
Includes netaddr -> netip changes.

main.go getInterfaces still uses netaddr as it needs to return
a net.IPNet (we'd need to add a new implementation in
7c671b0220/net/interfaces/interfaces.go (L110)
to handle a different type).

Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2 years ago
Denton Gentry 6eca3897f8 build.gradle: spaces -> tabs
Only changes whitespace.

Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2 years ago
Denton Gentry 07ae8a6dd5
Merge pull request #51 from tailscale/dns-addr
DnsConfig: don't use signed bytes when printing.
2 years ago
Denton Gentry 283dd77bcc Add a unit test for DnsConfig.intToInetString
adds JUnit dependencies and basic gradle support to run unit tests,
and a test for DnsConfig.intToInetString().

Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2 years ago
Denton Gentry 63dba694af DnsConfig: don't use signed bytes when printing.
intToInetString(0x0101a8c0) returns "-64.-88.1.1" because Java
integers are always signed. There is not a %u format specifier.

Though the quads of an IP address literally are bytes, they can
be left as an int to pass to String.format. This allows room for
sign bits, so intToInetString(0x0101a8c0) returns "192.168.1.1"

Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2 years ago
Denton Gentry db31496a24 android: bump version code
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2 years ago
Denton Gentry 42f688f129
Merge pull request #50 from tailscale/apps
Add inherently local apps to disallowed list.
2 years ago
Denton Gentry 4223a68a2d go.mod: update from OSS for 1.29 unstable builds
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2 years ago
Denton Gentry 8f551d0320 android: bump version code
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2 years ago
Denton Gentry 21ea21f4f0 go.mod: update from OSS.
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2 years ago
Denton Gentry 2597b82c3f Add inherently local apps to disallowed list.
Google Stadia, Messages (RCS/Jibe), and Android Auto
don't benefit from being on the VPN, and don't work.
Either they need access to local hardware (Auto, Stadia)
or they're accessing an entirely different communications
channel (Messages). Don't send them through the VPN.

Fixes https://github.com/tailscale/tailscale/issues/2322
Fixes https://github.com/tailscale/tailscale/issues/3460
Fixes https://github.com/tailscale/tailscale/issues/3828

Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2 years ago
Denton Gentry 1bdfaf88d9
Merge pull request #49 from tailscale/exit-node
Move run exit node to main menu
2 years ago
Denton Gentry b606b0b668 UI: move exit node function into the main menu
Android running as an exit node has been implemented behind
a magic "debug" search string for three releases. I think we've
gotten as much early usage as we're going to get. Move it into
the main menu as a regular feature.

Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2 years ago
Denton Gentry 11a027269c go.mod: update from OSS.
Increment build number past the point used on other branches.

Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2 years ago
Denton Gentry 8ddaf1ec5c android: bump version code
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2 years ago
Denton Gentry 4fa037b636 go.mod: update from OSS.
Especially want to get https://github.com/tailscale/tailscale/pull/4965
into an Open Testing release.

Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2 years ago
Denton Gentry 221300266f android: bump version code
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2 years ago
Denton Gentry 0c11377ca1 go.mod: update OSS for unstable build.
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2 years ago
Denton Gentry 9de8d8e525 android: bump version code
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2 years ago
Denton Gentry 1845f17317 go.mod: update OSS to main@HEAD.
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2 years ago
Denton Gentry 7697c9d300 go.mod: update OSS to main@HEAD.
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2 years ago
Denton Gentry 536c17a3a2 android: bump version code
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2 years ago
Denton Gentry e66e57fbb0 go.mod: update OSS.
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2 years ago
Denton Gentry e73f55f5db go.mod: Start of 1.25.x development.
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2 years ago
Denton Gentry 40481f5ec6 android: bump version code
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2 years ago
Denton Gentry bd5ef3fd68 go.mod: update OSS
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2 years ago
Elias Naur 090676bb74 go.*: bump Gio version
Fixes tailscale/tailscale#4278

Signed-off-by: Elias Naur <mail@eliasnaur.com>
2 years ago
Brad Fitzpatrick 751bda721c README.md: add some notes for developing on macOS 2 years ago
Brad Fitzpatrick cff9e2a772 cmd/tailscale: fix netstack init, call SetLocalBackend
The netstack code on Android was never told about the LocalBackend,
so the peerapi interception wasn't working.

Fixes tailscale/tailscale#4449
Fixes tailscale/tailscale#4293

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2 years ago
Brad Fitzpatrick 8550365e52 README.md: add some Fire Stick dev docs
I always forget these and need to go search old bugs for them.
2 years ago
Denton Gentry d1bff07fbd android: bump version code
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2 years ago
Denton Gentry b8af14c009 go.mod: update OSS
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2 years ago
Denton Gentry e652d853d6 android: bump version code
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2 years ago
Denton Gentry 3f8df48d23 go.mod: update OSS.
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2 years ago
Denton Gentry 58e85726a4 android: bump version code
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2 years ago
Denton Gentry 4ccafba8f7 go.mod: update from OSS.
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2 years ago
Denton Gentry 51fc2e7030 android: bump version code
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2 years ago
Denton Gentry cc70ae7aa6 Update OSS.
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2 years ago
Elias Naur 0ec9167cd2 flake.*: add Nix support for establishing a development environment
Nix is a package system similar to Go modules for creating predictable
builds and environments. Nix builds are reproducible and a ligthweight
alternative to Docker.

This change makes the repository a Nix flake that includes a development
environment. Use it with Nix 2.4 and later with flakes enabled:

$ alias nix='nix --extra-experimental-features "nix-command flakes"'
$ nix develop

Signed-off-by: Elias Naur <mail@eliasnaur.com>
2 years ago
Elias Naur b803576542 android,Dockerfile: bump NDK, Gradle
Nix support is easier to do with recent NDK and Gradle dependencies.
Bump them here, and add Nix support in a follow-up.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
2 years ago
Denton Gentry d8ccc2387f android: bump version code
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2 years ago
Denton Gentry b4f8e7f90a Go 1.18 and update OSS.
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2 years ago