This website requires JavaScript.
5835a3f553
health, wgengine/magicsock: avoid receive function false positives
Josh Bleecher Snyder
2021-04-22 12:37:53 -07:00
3411bb959a
control/controlclient: fix signRegisterRequest log suppression check on Windows
Brad Fitzpatrick
2021-04-22 11:59:03 -07:00
2d786821f6
ipn/ipnlocal: put a retry loop around Windows file deletes
Brad Fitzpatrick
2021-04-22 09:21:30 -07:00
11780a4503
cmd/tailscale: only send file basename in push
Brad Fitzpatrick
2021-04-22 09:33:59 -07:00
f845aae761
health: track whether magicsock receive functions are running
Josh Bleecher Snyder
2021-04-21 13:21:29 -07:00
529ef98b2a
ipn/ipnlocal: fix approxSize operator precedence
Brad Fitzpatrick
2021-04-22 08:43:52 -07:00
820952daba
cmd/tailscale: don't print out old authURL on up --force-reauth
Brad Fitzpatrick
2021-04-21 22:42:01 -07:00
12b4672add
wgengine: quiet connection failure diagnostics for exit nodes
Brad Fitzpatrick
2021-04-22 08:29:20 -07:00
b03c23d2ed
ipn/ipnlocal: log on DeleteFile error
Brad Fitzpatrick
2021-04-22 07:47:57 -07:00
6f52fa02a3
control/controlclient, tailcfg: add Debug.SleepSeconds (mapver 19)
Brad Fitzpatrick
2021-04-21 14:17:21 -07:00
c91a22c82e
cmd/tailscale: don't print auth URL when using a --authkey
Brad Fitzpatrick
2021-04-21 21:59:00 -07:00
e40e5429c2
cmd/tailscale/cli: make 'tailscale up' protect --advertise-exit-node removal
Brad Fitzpatrick
2021-04-21 21:41:13 -07:00
a16eb6ac41
cmd/tailscale/cli: show online/offline status in push --file-targets
Brad Fitzpatrick
2021-04-21 16:06:01 -07:00
dedbd483ea
cmd/tailscale/cli: don't require explicit --operator if it matches $USER
Brad Fitzpatrick
2021-04-21 15:47:59 -07:00
2f17a34242
ipn/ipnlocal: fix tailscale status --json AuthURL field
Brad Fitzpatrick
2021-04-21 13:37:36 -07:00
09891b9868
ipn/ipnlocal: on fresh lazy-connecting install, start in state NeedsLogin
Brad Fitzpatrick
2021-04-21 12:57:48 -07:00
a29b0cf55f
wgengine/wglog: allow wireguard-go receive routines to log
Josh Bleecher Snyder
2021-04-21 12:21:15 -07:00
eb2a9d4ce3
wgengine/netstack: log error when acceptUDP fails
Josh Bleecher Snyder
2021-04-21 12:10:28 -07:00
4a90a91d29
wgengine/netstack: log ForwarderRequest in readable form, only in debug mode (#1758 )
Naman Sood
2021-04-21 14:50:48 -04:00
07c95a0219
wgengine/wgcfg/nmcfg: consolidate exit node log lines
Josh Bleecher Snyder
2021-04-21 10:47:50 -07:00
3d4d97601a
derp/derpmap: add São Paulo (derp11)
Brad Fitzpatrick
2021-04-21 11:04:47 -07:00
91c9c33036
cmd/tailscaled: don't block ipnserver startup behind engine init on Windows
Brad Fitzpatrick
2021-04-19 13:45:55 -07:00
7d8f082ff7
.github/workflows: add --race tests on Linux and Windows
Alex Brainman
2020-12-05 13:48:57 +11:00
7689213aaa
cmd/tailscaled: add subcommands to install and remove tailscaled Windows service
Alex Brainman
2021-02-21 15:38:19 +11:00
6fd9e28bd0
ipn/ipnlocal: add arpa suffixes to MagicDNS for reverse lookups.
David Anderson
2021-04-20 18:05:17 -07:00
89c81c26c5
net/dns: fix resolved match domains when no nameservers are provided.
David Anderson
2021-04-20 17:10:39 -07:00
4be26b269f
net/dns: correctly capture all traffic in non-split configs.
David Anderson
2021-04-20 16:57:46 -07:00
ca283ac899
net/dns: remove config in openresolv when given an empty DNS config.
David Anderson
2021-04-20 16:19:34 -07:00
48d4f14652
ipn/ipnlocal: only set authoritative domains when using MagicDNS.
David Anderson
2021-04-20 15:52:19 -07:00
53213114ec
net/dns: make debian_resolvconf correctly clear DNS configs.
David Anderson
2021-04-20 15:51:14 -07:00
3b1ab78954
net/dns: restore resolv.conf when given an empty config in directManager.
David Anderson
2021-04-20 15:14:11 -07:00
f99e63bb17
ipn: don't Logout when Windows GUI disconnects
Brad Fitzpatrick
2021-04-20 11:56:36 -07:00
158328ba24
net/dns: remove ForceSplitDNSForTesting.
David Anderson
2021-04-20 12:50:08 -07:00
1e5c608fae
ipn/ipnlocal: plumb fallback DNS in as a workaround for split DNS issues.
David Anderson
2021-04-19 21:58:26 -07:00
28ba20d733
tailcfg: add FallbackResolvers to DNSConfig.
David Anderson
2021-04-19 21:30:39 -07:00
3d0599fca0
ipn{,/ipnlocal}: in direct file receive mode, don't rename partial file
Brad Fitzpatrick
2021-04-16 12:33:04 -07:00
48e30bb8de
wgengine/magicsock: remove named return
Josh Bleecher Snyder
2021-04-20 10:08:46 -07:00
a2a2c0ce1c
wgengine/magicsock: fix two comments
Josh Bleecher Snyder
2021-04-19 16:18:56 -07:00
b1e624ef04
wgengine/magicsock: remove unnecessary type assertions
Josh Bleecher Snyder
2021-04-19 16:06:49 -07:00
98714e784b
wgengine/magicsock: improve Rebind logging
Josh Bleecher Snyder
2021-04-19 15:47:30 -07:00
15ceacc4c5
wgengine/magicsock: accept a host and port instead of an addr in listenPacket
Josh Bleecher Snyder
2021-04-19 14:14:35 -07:00
f42ded7acf
cmd/tailscale/cli: relax & improve the running-as-CLI check for macOS
Brad Fitzpatrick
2021-04-20 09:10:17 -07:00
a58fbb4da9
ipn/ipnlocal: only fix peerapiListener on Windows when running
Brad Fitzpatrick
2021-04-20 08:41:25 -07:00
36fa29feec
ipn/ipnlocal: restrict local lan access to linux machines.
Maisem Ali
2021-04-19 16:03:03 -07:00
8570f82c8b
ipn/ipnlocal: finish/fix up filename validation & encoding on disk
Brad Fitzpatrick
2021-04-19 21:57:08 -07:00
7f8519c88f
version: simplify iOS detection now that we require Go 1.16
Brad Fitzpatrick
2021-04-19 21:59:55 -07:00
cad8df500c
ipn/ipnlocal: add some more peerapi handlePeerPut tests
Brad Fitzpatrick
2021-04-19 21:00:25 -07:00
0d1550898e
ipn/ipnlocal: add some peerapi tests
Brad Fitzpatrick
2021-04-19 20:21:48 -07:00
f72a120016
go.mod: upgrade to latest wireguard-go
Josh Bleecher Snyder
2021-04-19 13:30:37 -07:00
71b7e48547
net/tsaddr: expand ephemeral nodes range to /64
Naman Sood
2021-04-19 15:54:53 -04:00
e9d24341e0
tailcfg, control/controlclient: accept nil MapResponse.Node (mapver 18)
Brad Fitzpatrick
2021-04-19 10:56:48 -07:00
97204fdc52
safesocket: remove/update some old TODOs
Brad Fitzpatrick
2021-04-19 11:35:02 -07:00
8f3e453356
ipn, cmd/tailscale/cli: add pref to configure sudo-free operator user
Brad Fitzpatrick
2021-04-16 21:01:29 -07:00
3739cf22b0
tailcfg, control/controlclient: allow empty MapResponse.Domain (mapver17)
Brad Fitzpatrick
2021-04-18 20:48:24 -07:00
5092cffd1f
control/controlclient: add start of some MapResponse->NetworkMap tests
Brad Fitzpatrick
2021-04-18 20:27:22 -07:00
aef3c0350c
control/controlclient: break direct.go into map.go (+tests), add mapSession
Brad Fitzpatrick
2021-04-18 19:49:25 -07:00
6d64107f26
types/netmap: remove some old TODOs
Brad Fitzpatrick
2021-04-18 19:29:53 -07:00
49808ae6ea
ipn{,/ipnlocal}, cmd/tailscale/cli: don't check pref reverts on initial up
Brad Fitzpatrick
2021-04-17 22:50:58 -07:00
4df6e62fbc
ipn: add DefaultControlURL const, replace few literals with it
Brad Fitzpatrick
2021-04-18 07:48:53 -07:00
f1d45bc4bb
cmd/tailscale/cli: pull out prefsFromUpArgs for testability, add tests
Brad Fitzpatrick
2021-04-17 20:35:20 -07:00
4948ff6ecb
cmd/tailscale/cli: treat nil and non-nil zero length slices as equiv prefs
Brad Fitzpatrick
2021-04-17 19:14:59 -07:00
eb6115e295
cmd/tailscaled: let SOCKS5 dial non-Tailscale addrs in userspace mode
Brad Fitzpatrick
2021-04-16 13:46:13 -07:00
b85d80b37f
net/tsaddr: add new IP range for ephemeral nodes in Tailscale ULA (#1715 )
Naman Sood
2021-04-16 14:47:55 -04:00
b993d9802a
ipn/ipnlocal, etc: require file sharing capability to send/recv files
Brad Fitzpatrick
2021-04-16 10:57:46 -07:00
2f422434aa
cmd/tailscale/cli: wait on the right contexts in up
Brad Fitzpatrick
2021-04-16 10:27:56 -07:00
6da812b4cf
cmd/tailscale/cli: avoid a spammy log message on SIGINT
Brad Fitzpatrick
2021-04-16 08:00:31 -07:00
670838c45f
tailcfg, control/controlclient: (mapver 16) add Node.Online, MapResponse.OnlineChange
Brad Fitzpatrick
2021-04-15 16:03:59 -07:00
7055f870f8
control/controlclient: only use a single DNS label as the hostname.
David Anderson
2021-04-15 17:08:24 -07:00
4f3203556d
wgengine/router: add the Tailscale ULA route on darwin.
Maisem Ali
2021-04-15 16:37:46 -07:00
c748c20fba
cmd/tailscale: fix command descriptions (#1710 )
Ross Zurowski
2021-04-15 18:33:23 -04:00
b34fbb24e8
logtail: reduce PublicID.UnmarshalText from 2 allocs to 0
Brad Fitzpatrick
2021-04-15 10:42:02 -07:00
bb0710d51d
net/dns: add debugging traces to DNS manager selection on linux.
David Anderson
2021-04-14 15:52:41 -07:00
4b70c7b717
net/dns: fix inverted test for NetworkManager.
David Anderson
2021-04-14 15:52:22 -07:00
4849a4d3c8
net/dns: error out on linux if /etc/resolv.conf can't be read.
David Anderson
2021-04-14 15:35:32 -07:00
1f9b73a531
net/dns: fix freebsd DNS manager selection.
David Anderson
2021-04-14 15:34:59 -07:00
5ea53891fe
cmd/tailscaled: populate netstack variable to use dialer in SOCKS5
Naman Sood
2021-04-14 13:13:10 -04:00
d6a95d807a
ipn/ipnlocal: advertise netstack to control server
Brad Fitzpatrick
2021-04-14 09:37:54 -07:00
2243bb48c2
stun fuzzer: Small fix
AdamKorcz
2021-04-14 10:38:22 +01:00
75b99555f3
cmd/tailscale/cli: let ip take a peername
Brad Fitzpatrick
2021-04-14 07:20:27 -07:00
762180595d
ipn/ipnstate: add PeerStatus.TailscaleIPs slice, deprecate TailAddr
Brad Fitzpatrick
2021-04-14 07:20:27 -07:00
c2ca2ac8c4
net/dns: fix FreeBSD build
Brad Fitzpatrick
2021-04-13 17:38:17 -07:00
84bd50329a
net/dns: fix staticheck.
David Anderson
2021-04-13 17:28:37 -07:00
d6bb11b5bf
net/dns: implement correct manager detection on linux.
David Anderson
2021-04-13 17:10:30 -07:00
9ef932517b
net/dns: fix NM's GetBaseConfig when no configs exist.
David Anderson
2021-04-12 19:14:43 -07:00
fe3b1ab747
net/dns: refactor dbus connection setup in resolved manager.
David Anderson
2021-04-12 18:03:34 -07:00
2df6372b67
portlist: de-dup services on same (proto, port) on both IPv4/IPv6
Brad Fitzpatrick
2021-04-13 14:40:33 -07:00
a8d95a18b2
cmd/tailscale/cli: add up --unattended for Windows
Brad Fitzpatrick
2021-04-13 11:40:30 -07:00
34d2f5a3d9
tailcfg: add Endpoint, EndpointType, MapRequest.EndpointType
Brad Fitzpatrick
2021-04-12 13:24:29 -07:00
b91f3c4191
ipn/ipnlocal: fix peerapi printf arg mismatch
Brad Fitzpatrick
2021-04-12 15:58:42 -07:00
a08d978476
cmd/tailscale/cli: make push get peerapi base via localapi, not TSMP ping
Brad Fitzpatrick
2021-04-13 08:50:16 -07:00
1dc2cf4835
cmd/tailscale/cli: add push --targets to list possible targets
Brad Fitzpatrick
2021-04-13 08:36:14 -07:00
1f4cf1a4f4
ipn/localapi: only require read access to list file targets
Brad Fitzpatrick
2021-04-13 08:35:16 -07:00
d17f96b586
cmd/tailscale/cli: restore SIGINT/SIGTERM on context cancel
Brad Fitzpatrick
2021-04-13 08:34:37 -07:00
db5e269463
client/tailscale/apitype: move local API types to new apitype package
Brad Fitzpatrick
2021-04-13 08:13:46 -07:00
1b9d8771dc
ipn/ipnlocal,wgengine/router,cmd/tailscale: add flag to allow local lan access when routing traffic via an exit node.
Maisem Ali
2021-04-08 15:56:51 -07:00
854d5d36a1
net/dns: return error from NewOSManager, use it to initialize NM.
David Anderson
2021-04-12 15:51:37 -07:00
4d142ebe06
derp: handle net.ErrClosed in TestSendFreeze
Maisem Ali
2021-04-12 14:45:09 -07:00
8e75c8504c
ipn/ipnlocal: in direct file mode, don't readdir
Brad Fitzpatrick
2021-04-12 15:12:47 -07:00
9972c02b60
cmd/tailscale/cli: don't let up change prefs based on implicit flag values
Brad Fitzpatrick
2021-04-10 21:56:18 -07:00
9aa33b43e6
net/dns: support split and unsplit DNS in NetworkManager.
David Anderson
2021-04-12 01:30:42 -07:00