-
63c00764e1
go.mod: update to latest wireguard-go and x/sys
Josh Bleecher Snyder
2021-04-02 12:44:16 -07:00
-
b3ceca1dd7
wgengine/...: split into multiple receive functions
Josh Bleecher Snyder
2021-03-24 09:41:57 -07:00
-
2074dfa5e0
types/preftype: don't use iota for consts persisted to disk
Brad Fitzpatrick
2021-04-02 09:02:54 -07:00
-
9b57cd53ba
ipn/ipnlocal: lazily connect to control, lazily generate machine key
Brad Fitzpatrick
2021-04-02 08:21:40 -07:00
-
d50406f185
ipn/ipnlocal: simplify loadStateLocked control flow a bit, restore logging
Brad Fitzpatrick
2021-04-02 07:56:07 -07:00
-
a39d2403bc
net/dns: disable NetworkManager and resolved configurators temporarily.
David Anderson
2021-04-02 02:25:37 -07:00
-
befd8e4e68
net/dns: replace managerImpl with OSConfigurator in code.
David Anderson
2021-04-02 02:17:50 -07:00
-
077d4dc8c7
net/dns: add an OSConfigurator interface.
David Anderson
2021-04-02 01:39:52 -07:00
-
6ad44f9fdf
wgengine: take in dns.Config, split out to resolver.Config and dns.OSConfig.
David Anderson
2021-04-02 00:34:32 -07:00
-
2edb57dbf1
net/dns: add new Config that captures tailscale+OS DNS config.
David Anderson
2021-04-02 00:34:03 -07:00
-
8af9d770cf
net/dns: rename Config to OSConfig.
David Anderson
2021-04-01 23:42:58 -07:00
-
fcfc0d3a08
net/dns: remove ManagerConfig, pass relevant args directly.
David Anderson
2021-04-01 23:26:52 -07:00
-
0ca04f1e01
net/dns: put noop.go back, limit with build tags for staticcheck.
David Anderson
2021-04-01 23:14:13 -07:00
-
95470c3448
net/dns: remove Cleanup manager parameter.
David Anderson
2021-04-01 23:04:23 -07:00
-
cf361bb9b1
net/dns: remove PerDomain from Config.
David Anderson
2021-04-01 22:54:40 -07:00
-
f77ba75d6c
wgengine/router: move DNS cleanup into the DNS package.
David Anderson
2021-04-01 22:35:26 -07:00
-
15875ccc63
wgengine/router: don't store unused tunname on windows.
David Anderson
2021-04-01 22:28:10 -07:00
-
6266cf8e36
ipn/ipnlocal: fix peerapi6 port being report as 0 in netstack mode
Brad Fitzpatrick
2021-04-01 22:04:46 -07:00
-
9f105d3968
net/dns/resolver: teach the forwarder to do per-domain routing.
David Anderson
2021-04-01 19:31:55 -07:00
-
4ed111281b
version/distro: look for absolute synology path
David Crawshaw
2021-04-01 19:24:53 -04:00
-
2f60ab92dd
tailcfg: add Node.Capabilities, remove old stuff
Brad Fitzpatrick
2021-04-01 14:03:34 -07:00
-
c25ecddd1b
tailcfg: remove UserProfile.Roles field, add tests for legacy behavior
Brad Fitzpatrick
2021-04-01 14:44:40 -07:00
-
e698973196
ipn/policy: mark peerapi4 and peerapi6 as interesting services
Brad Fitzpatrick
2021-04-01 11:57:24 -07:00
-
39b9ab3522
cmd/tailscaled: rename isUserspace to useNetstack
Brad Fitzpatrick
2021-04-01 08:07:54 -07:00
-
34d4943357
all: gofmt -s
Josh Bleecher Snyder
2021-04-01 09:54:54 -07:00
-
1df162b05b
wgengine/magicsock: adapt CreateEndpoint signature to match wireguard-go
Josh Bleecher Snyder
2021-04-01 09:35:01 -07:00
-
e64383a80e
wgengine/router: document some fields a bit more
Brad Fitzpatrick
2021-04-01 07:50:50 -07:00
-
35ab4020c7
wgengine/monitor: Linux fall back to polling
Denton Gentry
2021-03-31 16:26:11 -07:00
-
90f82b6946
net/dns/resolver: add live reconfig, plumb through to ipnlocal.
David Anderson
2021-04-01 01:33:58 -07:00
-
caeafc4a32
net/dns/resolver: fix package docstring.
David Anderson
2021-03-31 23:42:28 -07:00
-
dbe4f6f42d
net/dns/resolver: unexport Resolve and ResolveReverse.
David Anderson
2021-03-31 23:35:26 -07:00
-
cdeb8d6816
net/dns/resolver: fix staticcheck error.
David Anderson
2021-03-31 23:19:09 -07:00
-
f185d62dc8
net/dns/resolver: unexport Packet, only use it internally.
David Anderson
2021-03-31 23:06:47 -07:00
-
5fb9e00ecf
net/dns/resolver: remove Start method, fully spin up in New instead.
David Anderson
2021-03-31 22:32:07 -07:00
-
075fb93e69
net/dns/resolver: remove the Config struct.
David Anderson
2021-03-31 22:13:23 -07:00
-
bc81dd4690
net/dns/resolver: rename ResolverConfig to just Config.
David Anderson
2021-03-31 21:58:16 -07:00
-
d99f5b1596
net/dns/resolver: factor the resolver out into a sub-package.
David Anderson
2021-03-31 21:54:38 -07:00
-
53cfff109b
ipn: replace SetWantRunning(bool) with EditPrefs(MaskedPrefs)
Brad Fitzpatrick
2021-03-31 21:35:21 -07:00
-
4ed6b62c7a
ipn/ipnlocal: refactor to unindent a bit
Brad Fitzpatrick
2021-03-31 16:03:23 -07:00
-
1f583a895e
ipn/ipnlocal: stop sending machine key to frontends
Brad Fitzpatrick
2021-03-31 15:48:27 -07:00
-
1c98c5f103
cmd/tailscaled: remove tailscaled binary on uninstall-system-daemon
Maisem Ali
2021-03-31 15:33:44 -07:00
-
db13b2d0c8
cmd/tailscale, ipn/localapi: add "tailscale bugreport" subcommand
Maisem Ali
2021-03-30 15:59:44 -07:00
-
09148c07ba
interfaces: check correct error /proc/net/route
Denton Gentry
2021-03-30 16:39:20 -07:00
-
47363c95b0
go.mod: bump wireguard-go
Brad Fitzpatrick
2021-03-31 14:20:45 -07:00
-
c3bee0b722
ipn/ipnlocal: make peerapi work on iOS again
Brad Fitzpatrick
2021-03-31 14:08:32 -07:00
-
31c7745631
wgengine/netstack: stop re-adding IPs registered by active TCP connections (#1629)
Naman Sood
2021-03-31 15:32:33 -04:00
-
1bd14a072c
cmd/tailscale, ipn/localapi: move IP forwarding check to tailscaled, API
Brad Fitzpatrick
2021-03-31 11:55:21 -07:00
-
ea714c6054
cmd/tailscale/cli: split out web.css file
David Crawshaw
2021-03-31 09:17:37 -07:00
-
7f03c0f8fe
wgengine/wgcfg/nmcfg: reduce some logging when a /0 route skipped
Brad Fitzpatrick
2021-03-31 09:51:55 -07:00
-
7b907615d5
wgengine/wgcfg/nmcfg: remove dead code
Josh Bleecher Snyder
2021-03-29 10:27:06 -07:00
-
a998fe7c3d
control/controlclient: support lazy machine key generation
Brad Fitzpatrick
2021-03-31 08:51:22 -07:00
-
8d57bce5ef
cmd/tailscale: add initial web UI (#1621)
Ross Zurowski
2021-03-31 11:32:33 -04:00
-
ddaacf0a57
control/controlclient: document a few things
Brad Fitzpatrick
2021-03-31 08:25:39 -07:00
-
cf2beafbcd
ipn/ipnlocal: on Windows peerapi bind failures, try again on link change
Brad Fitzpatrick
2021-03-30 13:49:08 -07:00
-
a7be780155
go.mod, go.sum: bump wireguard-go
Brad Fitzpatrick
2021-03-30 13:05:23 -07:00
-
6d1a9017c9
ipn/{ipnlocal,localapi}, client/tailscale: add file get/delete APIs
Brad Fitzpatrick
2021-03-30 12:56:00 -07:00
-
a9745a0b68
interfaces: try larger read from /proc/net/route
Denton Gentry
2021-03-25 12:24:01 -07:00
-
54ba6194f7
interfaces: allow IPv6 ULA as a valid address.
Denton Gentry
2021-03-26 18:38:05 -07:00
-
ecf310be3c
net/tsaddr: IsUla() for IPv6 Unique Local Address
Denton Gentry
2021-03-29 18:28:57 -07:00
-
36a85e1760
wgengine/magicsock: don't call t.Fatal in magicStack.IP
Josh Bleecher Snyder
2021-03-29 13:50:44 -07:00
-
672b9fd4bd
ipn{,/ipnlocal}: set new Notify.FilesWaiting when server has file(s)
Brad Fitzpatrick
2021-03-30 11:19:42 -07:00
-
0301ccd275
cmd/tailscale/cli: add debug --ipn mode
Brad Fitzpatrick
2021-03-30 10:42:35 -07:00
-
e67f1b5da0
client/tailscale, cmd/tailscale/cli: plumb --socket through
David Crawshaw
2021-03-30 09:21:22 -07:00
-
f01091babe
ipn/ipnlocal: make peerapi work in netstack mode
Brad Fitzpatrick
2021-03-30 09:54:52 -07:00
-
4c83bbf850
wgengine: add IsNetstack func and test
Brad Fitzpatrick
2021-03-30 09:53:12 -07:00
-
91bc723817
wgengine: add temp workaround for netstack WhoIs registration race
Brad Fitzpatrick
2021-03-30 09:50:25 -07:00
-
33bc69cf1f
paths: fall back to XDG_DATA_HOME for non-root users' state dir
Brad Fitzpatrick
2021-03-30 08:20:21 -07:00
-
3a1eae5b6b
cmd/tailscale/cli: factor out filename selection
Brad Fitzpatrick
2021-03-29 22:13:06 -07:00
-
1e26d4ae19
cmd/tailscale/cli: add push subcommand
Brad Fitzpatrick
2021-03-29 22:06:57 -07:00
-
eeacf84dae
cmd/tailscale/cli: factor out tailscaleIPFromArg from ping command
Brad Fitzpatrick
2021-03-29 21:29:27 -07:00
-
41e4e02e57
net/{packet,tstun}: send peerapi port in TSMP pongs
Brad Fitzpatrick
2021-03-29 15:17:05 -07:00
-
9659ab81e0
ipn/ipnlocal: send peerapi port(s) in Hostinfo.Services
Brad Fitzpatrick
2021-03-29 12:49:13 -07:00
-
12ae2d73b3
control/controlclient: fix TS_DEBUG_MAP on requests
Brad Fitzpatrick
2021-03-29 12:42:43 -07:00
-
f0863346c2
cmd/tailscale: add web subcommand
David Crawshaw
2021-03-25 08:21:31 -07:00
-
35596ae5ce
ipn/ipnlocal: push down a user-specific root dir to peerapi handler
Brad Fitzpatrick
2021-03-29 10:42:33 -07:00
-
662fbd4a09
wgengine/netstack: Allow userspace networking mode to expose subnets (#1588)
Naman Sood
2021-03-29 14:33:05 -04:00
-
a4c679e646
wgengine/monitor: on wall time jump, synthesize network change event
Brad Fitzpatrick
2021-03-25 10:23:13 -07:00
-
07bf4eb685
wgengine: rename Fake to RespondToPing.
David Anderson
2021-03-28 19:50:56 -07:00
-
0fb738760f
wgengine: make Tun optional again, default to fake.
David Anderson
2021-03-28 19:25:01 -07:00
-
e18c3a7d84
wgengine: optimize isLocalAddr a bit
Brad Fitzpatrick
2021-03-27 22:40:38 -07:00
-
95ca86c048
go.mod: update to new wireguard-go version.
David Anderson
2021-03-28 19:05:48 -07:00
-
93a4aa697c
wgengine: default Router to a no-op router.
David Anderson
2021-03-28 18:59:33 -07:00
-
440effb21a
wgengine: remove Config.TUN argument.
David Anderson
2021-03-28 18:44:59 -07:00
-
0807e3e2f7
syncs: disable TestWatchMultipleValues on Windows CI builds
Josh Bleecher Snyder
2021-03-27 12:17:50 -07:00
-
4954fbfda6
wgengine: extend TestWatchdog timeout on macOS
Josh Bleecher Snyder
2021-03-27 08:10:26 -07:00
-
2df8adef9d
wgengine: make the tun.Device required at construction.
David Anderson
2021-03-27 00:25:22 -07:00
-
25e0bb0a4e
net/tstun: rename wrap_windows.go to tun_windows.go.
David Anderson
2021-03-26 23:17:39 -07:00
-
22d53fe784
net/tstun: document exported function.
David Anderson
2021-03-26 23:16:55 -07:00
-
016de16b2e
net/tstun: rename TUN to Wrapper.
David Anderson
2021-03-26 23:13:20 -07:00
-
82ab7972f4
net/tstun: rename NewFakeTUN to NewFake.
David Anderson
2021-03-26 22:46:37 -07:00
-
588b70f468
net/tstun: merge in wgengine/tstun.
David Anderson
2021-03-26 22:14:08 -07:00
-
018200aeba
net/tstun: rename from net/tun.
David Anderson
2021-03-26 22:07:19 -07:00
-
2b4bfeda1a
wgengine: pass in an explicit router.Router, rather than a generator.
David Anderson
2021-03-26 21:47:28 -07:00
-
9ea5cbf81f
cmd/tailscaled: readd tun.Diagnose call, mistakenly lost during refactor.
David Anderson
2021-03-26 21:47:07 -07:00
-
f26dfd054a
ipn/ipnlocal: rename/document peerapi stuff a bit, pass self identity
Brad Fitzpatrick
2021-03-26 21:24:02 -07:00
-
44d9929208
wgengine: remove Config.TUNName, require caller to create device.
David Anderson
2021-03-26 21:03:21 -07:00
-
0a84aaca0a
wgengine/router: remove unused wireguard *Device argument.
David Anderson
2021-03-26 19:22:35 -07:00
-
1642dfdb07
ipn/ipnlocal: get peerapi ~working in macOS/iOS NetworkExtension sandbox
Brad Fitzpatrick
2021-03-26 13:44:55 -07:00
-
bcf571ec97
wgengine/monitor: fix OpenBSD build
Brad Fitzpatrick
2021-03-26 09:16:43 -07:00
-
7f174e84e6
net/interfaces: remove mutating methods, add EqualFiltered instead
Brad Fitzpatrick
2021-03-26 09:09:12 -07:00