-
a65b2a0efd
magicsock: add some DERP tests

David CrawshawandDavid Crawshaw
2020-03-03 16:50:47 -05:00
-
a33419167b
magicsock: plumb through derpTLSConfig variable (for testing)

David CrawshawandDavid Crawshaw
2020-03-04 11:48:24 -05:00
-
9be9738f62
derphttp: add TLSConfig field

David CrawshawandDavid Crawshaw
2020-03-03 16:48:57 -05:00
-
caec2c7e8b
magicsock: test sequence of pings

David CrawshawandDavid Crawshaw
2020-03-03 11:42:31 -05:00
-
9f584414d9
magicsock: simple ping test via magicsock

David CrawshawandDavid Crawshaw
2020-03-03 10:39:40 -05:00
-
34859f8e7d
wgengine, magicsock: add a CreateBind method

David CrawshawandDavid Crawshaw
2020-03-03 10:39:02 -05:00
-
75e62d318f
magicsock: use local STUN server in tests

David CrawshawandDavid Crawshaw
2020-03-03 06:51:31 -05:00
-
596fd449b9
netcheck: add TODO about alternate timing strategies
Brad Fitzpatrick
2020-03-04 08:20:38 -08:00
-
b27d4c017a
magicsock, wgengine, ipn, controlclient: plumb regular netchecks to map poll

Brad FitzpatrickandBrad Fitzpatrick
2020-03-03 22:21:56 -08:00
-
4cf5ac3060
ipn/ipnserver: remove unnecessary closure parameter
Brad Fitzpatrick
2020-03-03 19:38:01 -08:00
-
724c37fb41
wgengine/magicsock: start tracking nearest DERP node
Brad Fitzpatrick
2020-03-03 17:46:03 -08:00
-
dbc99dc0d2
paths: use /var/db for state on BSDs, and /var/run for sockets.
David Anderson
2020-03-03 17:37:37 -08:00
-
20da44eae3
cmd/mkpkg: support scripts for rpm as well.
David Anderson
2020-03-03 16:35:57 -08:00
-
e371520cc5
tsweb, derp: add expvar http.Handler for Prometheus's format

Brad FitzpatrickandBrad Fitzpatrick
2020-03-03 11:33:22 -08:00
-
89a2c3eb04
wgengine: don't create duplicate iptables rules on Linux, clean up

Brad FitzpatrickandBrad Fitzpatrick
2020-03-03 12:38:51 -08:00
-
21fc5ec371
cmd/mkpkg: support specifying that a package replaces another.
David Anderson
2020-03-03 13:38:18 -08:00
-
dd68debd64
cmd/derper: set autocert Email

Brad FitzpatrickandBrad Fitzpatrick
2020-03-03 11:53:50 -08:00
-
68ff31a0ba
ipn: have NewFileStore try to create directories as needed
Brad Fitzpatrick
2020-03-03 11:51:44 -08:00
-
b3d9eab1fe
safesocket: make some effort to create parent directory of sock
Brad Fitzpatrick
2020-03-03 11:47:21 -08:00
-
383d86df5f
paths: remove some debug logging I left in
Brad Fitzpatrick
2020-03-03 11:45:49 -08:00
-
65e7c58aa4
cmd/tailscale, cmd/tailscaled, paths: add paths package for default paths
Brad Fitzpatrick
2020-03-03 09:33:09 -08:00
-
06092a3af3
ipn/ipnserver: document potential race, start on test for it
Brad Fitzpatrick
2020-03-03 09:15:11 -08:00
-
ef1f967ec0
ipn: remove an unnecessary named parameter in doc
Brad Fitzpatrick
2020-03-03 08:05:11 -08:00
-
844d991baf
netcheck: add Report.Clone, return cloned report to avoid races on late replies
Brad Fitzpatrick
2020-03-02 15:02:34 -08:00
-
657f9593ae
Reduce some logspam.
Brad Fitzpatrick
2020-03-02 14:54:57 -08:00
-
61529ac459
controlclient, tailcfg: deliver DERP addresses in a separate field

David CrawshawandDavid Crawshaw
2020-03-02 16:40:42 -05:00
-
ca11e3804b
Add a using section that points to pkgs.tailscale.com.
David Anderson
2020-03-02 13:52:51 -08:00
-
4675c70464
wgengine/magicsock: check STUN regularly
Brad Fitzpatrick
2020-03-02 12:37:52 -08:00
-
7172f3dbf4
version: add IsMobile func
Brad Fitzpatrick
2020-03-02 12:37:28 -08:00
-
11489a6e67
go.sum: add lines
Brad Fitzpatrick
2020-03-02 11:07:42 -08:00
-
bc7bc43fb8
magicsock, interfaces: move some code from magicsock to interfaces
Brad Fitzpatrick
2020-03-02 10:38:44 -08:00
-
af7a01d6f0
wgengine/magicsock: drop donec channel, rename epUpdateCtx to serve its purpose
Brad Fitzpatrick
2020-03-02 09:31:25 -08:00
-
a399ef3dc7
cmd/derper: appease staticcheck
Brad Fitzpatrick
2020-03-02 08:59:50 -08:00
-
051b6ef141
cmd/derper: accept more LetsEncrypt hostnames without explicit config
Brad Fitzpatrick
2020-03-02 08:55:44 -08:00
-
cc4afa775f
magicsock: rate limit send error log messages

David CrawshawandDavid Crawshaw
2020-03-01 20:35:10 -05:00
-
9cdaeac00a
go.mod: update wireguard-go version.
David Anderson
2020-03-01 14:04:10 -08:00
-
92bae83cc1
go.mod: update wireguard-go commit.
David Anderson
2020-03-01 13:57:04 -08:00
-
719c974c38
go.mod: update wireguard-go version
David Crawshaw
2020-03-01 12:17:10 -05:00
-
0752c77dc2
magicsock: keep DERP magic IPs out of the address map

David CrawshawandDavid Crawshaw
2020-02-29 15:48:50 -05:00
-
c6550135d5
magicsock: remove the index from indexedAddrs

David CrawshawandDavid Crawshaw
2020-02-29 14:48:34 -05:00
-
18fb98792b
go.mod: update wireguard-go version.
David Anderson
2020-03-01 01:16:07 -08:00
-
061315acb4
go.mod: update version of wireguard-go.
David Anderson
2020-03-01 00:49:50 -08:00
-
1dbd1babc9
go.mod: use latest wireguard-go version
David Crawshaw
2020-02-29 16:08:13 -05:00
-
d5050c37a5
go.mod: use latest wireguard-go version
David Crawshaw
2020-02-29 11:26:44 -05:00
-
d417be6a4b
controlclinet: clone filter.MatchAllowAll
David Crawshaw
2020-02-28 22:27:17 -05:00
-
8aa2090919
go.mod: roll forward wireguard-go
David Crawshaw
2020-02-28 22:12:05 -05:00
-
d133339216
ipn: always guard LocalBackend.prefs with mu
David Crawshaw
2020-02-28 21:34:56 -05:00
-
bcf3719b9e
netcheck: add hairpinning detection
Brad Fitzpatrick
2020-02-28 14:14:02 -08:00
-
1abf2da392
wgengine/magicsock: reset favorite address on handshakes

Brad FitzpatrickandDavid Crawshaw
2020-02-27 15:06:19 -08:00
-
517a91de75
derp/derphttp: fix reconnect behavior
Brad Fitzpatrick
2020-02-28 13:38:45 -08:00
-
d59d0576af
derp: don't log on all dropped packets; super spammy
Brad Fitzpatrick
2020-02-28 13:33:47 -08:00
-
38acccad09
derp: remove some debug noise I left in
Brad Fitzpatrick
2020-02-28 13:20:56 -08:00
-
752146a70f
derp: clean up derphttp client code, use contexts
Brad Fitzpatrick
2020-02-28 13:18:10 -08:00
-
cdc10b74f1
ipn: always guard LocalBackend.endpoints with mu
David Crawshaw
2020-02-28 15:12:49 -05:00
-
3425d8d84f
ipn: always guard LocalBackend.engineStatus with mu
David Crawshaw
2020-02-28 14:58:46 -05:00
-
e7cdc11654
ipn: always guard LocalBackend.netMapCache with mu
David Crawshaw
2020-02-28 14:39:13 -05:00
-
67ede8d6d2
wgengine, magicsock: fix SetPrivateKey data race
Brad Fitzpatrick
2020-02-28 11:13:28 -08:00
-
4cd3e82bbd
go.mod: bump wireguard-go
Brad Fitzpatrick
2020-02-28 11:12:51 -08:00
-
a6c695ba6b
types/key: add IsZero methods
Brad Fitzpatrick
2020-02-28 11:12:02 -08:00
-
3878f0a67a
interfaces: recognize utun as a possible Tailscale interface name prefix

michael wilsonandBrad Fitzpatrick
2020-02-27 17:06:50 -05:00
-
07f0fd0fdc
version: add a manual date as version for now
Brad Fitzpatrick
2020-02-28 09:44:34 -08:00
-
f3c0ea23d9
netcheck, stunner: reduce log spam
Brad Fitzpatrick
2020-02-28 09:40:25 -08:00
-
19b54d0ae7
wgengine: fix a data race on StatusCallback
Brad Fitzpatrick
2020-02-28 09:32:06 -08:00
-
c576a57067
wgengine: avoid holding any locks during HandshakeDone
David Crawshaw
2020-02-28 06:30:46 -05:00
-
06bf0d980e
go.mod: bump wireguard-go version
David Crawshaw
2020-02-28 06:21:07 -05:00
-
78654ee1bd
cmd/tailscale: switch to an ffcli based CLI.
David Anderson
2020-02-28 00:08:57 -08:00
-
4e3ff4b63b
controlclient: allow prefixed endpoints in tests
David Crawshaw
2020-02-27 16:52:14 -05:00
-
25797c8c2a
all: rename deep "Copy" methods to conventional Go name "Clone"
Brad Fitzpatrick
2020-02-27 12:20:29 -08:00
-
14559340ee
Start of netcheck package & including network state in Hostinfo.

Brad FitzpatrickandBrad Fitzpatrick
2020-02-25 14:05:17 -08:00
-
a07af762e4
types/opt: add opt package for a new opt.Bool JSON type

Brad FitzpatrickandBrad Fitzpatrick
2020-02-27 09:47:04 -08:00
-
c185e6b4b0
stunner: support IPv6, add latency info to callbacks, use unique TxIDs per retry
Brad Fitzpatrick
2020-02-27 09:23:20 -08:00
-
00ad93ec25
cmd/derper: add a STUN server
Brad Fitzpatrick
2020-02-26 19:11:14 -08:00
-
0e128f8f22
stun: add server support
Brad Fitzpatrick
2020-02-26 14:01:34 -08:00
-
74650d6fb5
go.mod, go.sum: update
Brad Fitzpatrick
2020-02-26 15:19:10 -08:00
-
14abc82033
stun: check high bits in Is, add tests
Brad Fitzpatrick
2020-02-26 11:34:01 -08:00
-
2489ea4268
stun: fix IPv6 bug, refactor a bit
Brad Fitzpatrick
2020-02-26 09:19:39 -08:00
-
6879581891
controlclient: adjust user expiry test
David Crawshaw
2020-02-26 09:44:42 -05:00
-
eefafad9f8
ipn: fix some mutex/ownership issues

Brad FitzpatrickandBrad Fitzpatrick
2020-02-25 12:30:28 -08:00
-
6d2ac01464
go.mod: bump wireguard-go version
David Crawshaw
2020-02-25 17:03:20 -05:00
-
44670d0da9
wgengine: revert wgdev.Close on Close from last commit
David Crawshaw
2020-02-25 17:00:37 -05:00
-
9390a3ef55
wgengine: properly clean up freebsd routes and interfaces on close

wardnandDavid Crawshaw
2020-02-19 10:57:04 -08:00
-
7a3be96199
wgengine: add pinger to generate initial spray packets

David CrawshawandDavid Crawshaw
2020-02-25 11:06:29 -05:00
-
3988ddc85d
types/logger: add WithPrefix, use it in two places
Brad Fitzpatrick
2020-02-25 11:35:46 -08:00
-
758744a4e3
Fix some Hostinfo value usages from the previous commit.
Brad Fitzpatrick
2020-02-25 11:01:20 -08:00
-
d8de11a01b
control: make Hostinfo accessed by pointer
Brad Fitzpatrick
2020-02-25 10:04:20 -08:00
-
824f825552
tsweb, cmd/derper: move common web/debug stuff from derper to new tsweb
Brad Fitzpatrick
2020-02-25 08:07:41 -08:00
-
367ffde21a
ipn: misc cleanup
Brad Fitzpatrick
2020-02-25 07:36:32 -08:00
-
04e6b77774
safesocket: delete incorrect build tag
Brad Fitzpatrick
2020-02-25 09:02:52 -08:00
-
29f7d64091
safesocket: document
Brad Fitzpatrick
2020-02-25 08:46:26 -08:00
-
a6ad3c46e2
magicsock: spray some normal packets after a handshake

David CrawshawandDavid Crawshaw
2020-02-21 22:20:31 -05:00
-
8696b17b5f
wgengine/magicsock: turn off DERP log spamminess by default
Brad Fitzpatrick
2020-02-24 10:23:28 -08:00
-
accf868130
cmd/mkpkg: add flags for debian scripts.
David Anderson
2020-02-24 09:36:27 -08:00
-
f473965ca1
go.sum: update
Brad Fitzpatrick
2020-02-24 08:48:06 -08:00
-
7a3b91390b
wgengine/magicsock: fix crash in Send when Endpoint isn't an AddrSet
Brad Fitzpatrick
2020-02-24 08:47:20 -08:00
-
868cfae84f
wgengine, magicsock: adjust for wireguard-go conn/device package split
David Crawshaw
2020-02-24 07:27:48 -05:00
-
8994a59e20
go.mod: update wireguard-go version
David Crawshaw
2020-02-23 13:49:05 -05:00
-
c51b8c206d
wgengine: resolv.conf spelling corrections

wardnandBrad Fitzpatrick
2020-02-21 15:27:21 -08:00
-
ebc70acac7
go.mod: update wireguard-go version
David Crawshaw
2020-02-21 21:30:00 -05:00
-
cc7b9b0dff
control/controlclient: fix priority of DERP server, add comment
Brad Fitzpatrick
2020-02-21 14:47:05 -08:00
-
3317531021
derp: fix JSON field typo, sort fields to make it easier to see inconsistencies
Brad Fitzpatrick
2020-02-21 14:18:09 -08:00