-
73fccd8b06
control/controlclient: remove old compat PacketFilter initialization.
David Anderson
2020-03-24 16:00:24 -07:00
-
d321190578
wgengine/magicsock: stringify [IPv6]:port normally in AddrSet.String
Brad Fitzpatrick
2020-03-24 13:40:43 -07:00
-
3c3ea8bc8a
wgengine/magicsock: finish IPv6 transport support
Brad Fitzpatrick
2020-03-24 10:56:22 -07:00
-
82ed7e527e
wgengine/magicsock: remove log allocation
Brad Fitzpatrick
2020-03-24 08:14:47 -07:00
-
8454bbbda5
wgengine/magicsock: more logging improvements
Brad Fitzpatrick
2020-03-24 08:09:30 -07:00
-
64aff0db7b
control/controlclient: add TODO to delete the UAPI method

Brad FitzpatrickandBrad Fitzpatrick
2020-03-23 22:24:25 -07:00
-
7740cbd8d9
ipn: call SetNetInfoCallback later, in Start

Brad FitzpatrickandBrad Fitzpatrick
2020-03-23 22:16:16 -07:00
-
680311b3df
wgengine/magicsock: fix few remaining logs without package prefix
Brad Fitzpatrick
2020-03-23 22:11:49 -07:00
-
c473927558
wgengine/magicsock: clean up, add, improve DERP logs
Brad Fitzpatrick
2020-03-23 14:12:23 -07:00
-
e749377a56
derp/derphttp: remove a redundant log message
Brad Fitzpatrick
2020-03-23 21:22:50 -07:00
-
1d3f45f9be
derp/derphttp: ignore PeerGoneMessage in test
Brad Fitzpatrick
2020-03-23 14:13:49 -07:00
-
ea9310403d
wgengine/magicsock: re-STUN on DERP connection death
Brad Fitzpatrick
2020-03-23 13:19:33 -07:00
-
1ab5b31c4b
derp, magicsock: send new "peer gone" frames when previous sender disconnects

Brad FitzpatrickandBrad Fitzpatrick
2020-03-21 18:24:28 -07:00
-
e60b433831
tailcfg: NetInfo.String: handle nil object without panicing
David Crawshaw
2020-03-23 13:34:09 +11:00
-
b6f77cc48d
wgengine/magicsock: return early, outdent in derpWriteChanOfAddr
Brad Fitzpatrick
2020-03-22 14:08:59 -07:00
-
8c4cef60f8
derp: wait for send goroutine to finish before returning from run
Brad Fitzpatrick
2020-03-22 13:08:17 -07:00
-
521ad7b0fc
derp: only flush writes to clients when we're out of things to write
Brad Fitzpatrick
2020-03-21 18:24:28 -07:00
-
0a25abcdaa
derp: remove TODO comment
Brad Fitzpatrick
2020-03-22 07:54:50 -07:00
-
8519a1b29f
derp: revert rename of pkt to sendMsg
Brad Fitzpatrick
2020-03-21 22:17:22 -07:00
-
c34b350efa
derp: remove the mutex around and closing of send channel

Brad FitzpatrickandBrad Fitzpatrick
2020-03-21 20:43:50 -07:00
-
77921a31b1
derp: rename pkt to sendMsg, in prep for other types of writes
Brad Fitzpatrick
2020-03-21 20:34:49 -07:00
-
1453aecb44
derp: add sclient.done channel, simplify some context passing
Brad Fitzpatrick
2020-03-21 18:28:34 -07:00
-
ea90780066
derp: specify type of the by-reason drop varz.
David Anderson
2020-03-20 15:52:50 -07:00
-
fd824df1fa
derp: export metric for server's initial MemStats.Sys reading

Brad FitzpatrickandDave Anderson
2020-03-20 15:22:02 -07:00
-
64b5248929
derp: sprinkle comments and docstrings.
David Anderson
2020-03-20 12:00:20 -07:00
-
58b8ebd290
derp: add per-reason packet drop counter.
David Anderson
2020-03-20 00:57:53 -07:00
-
1e031001db
derp: move write timeout to package constant.
David Anderson
2020-03-20 00:38:52 -07:00
-
dbfc916273
derp: add short queues between reader and writer, drop on overload.
David Anderson
2020-03-20 00:14:43 -07:00
-
dd31285ad4
wgengine/magicsock: send IPv6 using pconn6, if available
Brad Fitzpatrick
2020-03-20 13:38:21 -07:00
-
af277a6762
controlclient, magicsock: add debug knob to request IPv6 endpoints
Brad Fitzpatrick
2020-03-19 20:45:49 -07:00
-
221e7d7767
wgengine/magicsock: make log message include DERP port (node)
Brad Fitzpatrick
2020-03-20 13:51:07 -07:00
-
33bdcabf03
wgengine/magicsock: call stun callback w/ only valid part of STUN packet
Brad Fitzpatrick
2020-03-20 13:37:45 -07:00
-
13eed1e88b
controlclient: remove common log on very quiet nodes
David Crawshaw
2020-03-21 07:11:10 +11:00
-
f9cc4e8f53
tailcfg: restore MapRequest.IncludeIPv6 bool
Brad Fitzpatrick
2020-03-20 08:13:47 -07:00
-
0be475ba46
Revert "tailcfg, controlclient, magicsock: request IPv6 endpoints, but ignore them"
David Anderson
2020-03-20 03:19:59 -07:00
-
f9184ad12b
go.mod: update wireguard-go for https://github.com/tailscale/wireguard-go/pull/13
Brad Fitzpatrick
2020-03-19 22:46:36 -07:00
-
94024355ed
tailcfg, controlclient, magicsock: request IPv6 endpoints, but ignore them

Brad FitzpatrickandBrad Fitzpatrick
2020-03-19 20:45:49 -07:00
-
12a6626a94
tsweb: use a ResponseWriter wrapper to log more accurately.
David Anderson
2020-03-18 17:37:40 -07:00
-
2e43cd3f95
testy: add a virtual clock helper for tests.
David Anderson
2020-03-18 17:37:15 -07:00
-
b1d5548fa7
tailcfg: make NodeKey.IsZero have a value receiver
Brad Fitzpatrick
2020-03-19 20:00:32 -07:00
-
51b669e4bd
ipn: skip tailscaled UDP ports in service list
Brad Fitzpatrick
2020-03-19 19:56:02 -07:00
-
60ea635c6d
wgengine/magicsock: delete inaccurate comment
Brad Fitzpatrick
2020-03-19 19:48:02 -07:00
-
6ddbcab71e
logtail: rename the unused CheckLogs to DrainLogs
David Crawshaw
2020-03-20 13:13:36 +11:00
-
51a12d1307
filch: a few minor comments
David Crawshaw
2020-03-20 13:20:21 +11:00
-
a184e05290
wgengine/magicsock: listen on udp6, use it for STUN, report endpoint

Brad FitzpatrickandBrad Fitzpatrick
2020-03-19 09:39:00 -07:00
-
073bb8de80
control/controlclient: don't use Node as value type
Brad Fitzpatrick
2020-03-19 13:19:02 -07:00
-
7caa288213
wgengine/magicsock: rename pconn field to pconn4, in prep for pconn6
Brad Fitzpatrick
2020-03-19 08:49:30 -07:00
-
5fa825f057
go.mod, go.sum: update
Brad Fitzpatrick
2020-03-19 08:49:12 -07:00
-
addbdce296
wgengine, ipn: include number of active DERPs in status
David Crawshaw
2020-03-19 17:55:14 +11:00
-
1ad78ce698
magicsock: reconnect to home DERP on key change
David Crawshaw
2020-03-19 17:53:42 +11:00
-
455ba751d9
magicsock: start connection to HOME derp immediately
David Crawshaw
2020-03-19 17:32:31 +11:00
-
73cae4eb11
tailcfg, controlclient: standardize on wgcfg ShortString key printing
David Crawshaw
2020-03-19 09:10:46 +11:00
-
acd14960f8
go.mod: bump wireguard-go
David Crawshaw
2020-03-19 09:10:13 +11:00
-
14a2564ef0
go.mod: bump wireguard-go
Brad Fitzpatrick
2020-03-18 13:26:08 -07:00
-
19a1704abd
netcheck: use best DERP server in past 5 minutes to avoid flip-flopping
Brad Fitzpatrick
2020-03-18 13:04:12 -07:00
-
6de37f4cc0
tsweb: move some comments, add a TODO
Brad Fitzpatrick
2020-03-18 09:53:14 -07:00
-
df4636567f
tsweb: adjust names and docs of the "handler with errors" functions.
David Anderson
2020-03-17 22:06:30 -07:00
-
131541c06d
derp: deflake test
David Crawshaw
2020-03-18 16:33:25 +11:00
-
52d9613b42
github: add license check to CI.
David Anderson
2020-03-17 21:30:18 -07:00
-
315a5e5355
scripts: add a license header checker.
David Anderson
2020-03-17 21:28:47 -07:00
-
3e2fadf872
version: add license header to input for generated file.
David Anderson
2020-03-17 20:36:52 -07:00
-
98eceae55e
tsweb: add a Handler type.
David Anderson
2020-03-17 20:35:59 -07:00
-
f8d67bb591
portlist: ignore ports bound to localhost

Brad FitzpatrickandBrad Fitzpatrick
2020-03-17 20:19:39 -07:00
-
c706731dc7
tsweb: add copyright header
Brad Fitzpatrick
2020-03-17 20:07:08 -07:00
-
a567c56971
tsweb: pull in tlog data structures from corp repo.
David Anderson
2020-03-17 17:21:50 -07:00
-
5a0822eefd
controlclient, ipn: fix tests for new control param
David Crawshaw
2020-03-18 08:35:28 +11:00
-
e085aec8ef
all: update to wireguard-go API changes
Brad Fitzpatrick
2020-03-16 20:27:00 -07:00
-
dd14b658a2
version: bump again, for 0.97.0.
David Anderson
2020-03-16 21:16:18 -07:00
-
9ea445acd1
version: bump for 0.96.1 tag.
David Anderson
2020-03-16 20:35:35 -07:00
-
5758d8d48f
Merge branch 'master' of github.com:tailscale/tailscale into HEAD
David Anderson
2020-03-16 18:37:38 -07:00
-
-
bf98913106
go.mod: bump wireguard-go version.
David Anderson
2020-03-16 18:36:22 -07:00
-
8f9fa6a842
logtail: minor style/simplification changes
Brad Fitzpatrick
2020-03-15 22:41:50 -07:00
-
8de67844bd
cmd/tailscale: make failure message when tailscaled down less technical
Brad Fitzpatrick
2020-03-15 22:40:41 -07:00
-
5aafe0ee96
cmd/tailscale: don't crash on too many non-flag args
Brad Fitzpatrick
2020-03-15 22:27:36 -07:00
-
d348b94505
stun, stunner: clarify an error log message more
Brad Fitzpatrick
2020-03-15 22:19:45 -07:00
-
1b2be3f1c8
controlclient: test peer keepalive directive
David Crawshaw
2020-03-14 14:07:22 -05:00
-
8712164a0a
controlclient: use per-peer KeepAlive signal
David Crawshaw
2020-03-14 10:57:12 -05:00
-
290f83e9f6
tailcfg: fix test
David Crawshaw
2020-03-14 11:03:00 -05:00
-
7a57ab1793
tailcfg: add a per-peer KeepAlive field
David Crawshaw
2020-03-14 10:56:52 -05:00
-
-
ea0836dce9
cmd/tailscaled: remove default user/group from systemd.
David Anderson
2020-03-13 23:58:16 -07:00
-
120273d7f6
portlist: document, clean up, fix an open fd spike, optimize a bit

Brad FitzpatrickandBrad Fitzpatrick
2020-03-13 20:53:58 -07:00
-
6c3820e8c4
cmd/tailscaled: rename relaynode reference in defaults file comment
Brad Fitzpatrick
2020-03-13 14:38:04 -07:00
-
19cc4f8b8e
control/controlclient: remove a number literal in string slice offset
Brad Fitzpatrick
2020-03-13 09:48:12 -07:00
-
42e98d4edc
Quiet two little log annoyances.
Brad Fitzpatrick
2020-03-13 09:42:09 -07:00
-
db2436c7ff
wgengine/magicsock: don't interrupt endpoint updates, merge all mutex into one

Brad FitzpatrickandBrad Fitzpatrick
2020-03-13 08:55:38 -07:00
-
db31550854
wgengine: don't Reconfig on boring link changes

Brad FitzpatrickandBrad Fitzpatrick
2020-03-12 20:10:11 -07:00
-
7dd63abaed
tailcfg.NetInfo: add a .String() renderer.
Avery Pennarun
2020-03-13 01:29:47 -04:00
-
b23cb11eaf
ipn: Prefs.String(): print the current derp setting.
Avery Pennarun
2020-03-13 00:43:19 -04:00
-
aeb88864e0
ipn: don't clobber netinfo in Start().
David Anderson
2020-03-12 21:38:34 -07:00
-
8b8e3f08a0
Fix staticcheck complaint.
Avery Pennarun
2020-03-12 23:33:51 -04:00
-
b4897e7de8
controlclient/netmap: write our own b.ConciseDiffFrom(a) function.
Avery Pennarun
2020-03-12 23:01:08 -04:00
-
96bb05ce2f
controlclient: reformat netmap.Concise() and add DERP server info.
Avery Pennarun
2020-03-12 22:29:24 -04:00
-
f2e2ffa423
controlclient: log the entire netmap up to every 5 minutes.
Avery Pennarun
2020-03-12 22:28:11 -04:00
-
b9c6d3ceb8
netcheck: work behind UDP-blocked networks again, add tests

Brad FitzpatrickandBrad Fitzpatrick
2020-03-12 14:14:48 -07:00
-
a87ee4168a
stunner: quiet a harmless log warning
Brad Fitzpatrick
2020-03-12 14:14:23 -07:00
-
bc73dcf204
wgengine/magicsock: don't block in Send waiting for derphttp.Send

Brad FitzpatrickandBrad Fitzpatrick
2020-03-12 12:05:32 -07:00
-
8807913be9
wgengine/magicsock: wait for previous DERP goroutines to end before new ones

Brad FitzpatrickandBrad Fitzpatrick
2020-03-12 11:16:54 -07:00
-
eff6dcdb4e
wgengine/magicsock: log more about why we're re-STUNing
Brad Fitzpatrick
2020-03-12 11:56:01 -07:00
-
5ad947c761
cmd/derper: set a write timeout

David CrawshawandDavid Crawshaw
2020-03-12 11:15:45 -04:00
-
72dbf26f63
derp: test that client a->b and a->c relaying do not interfere

David CrawshawandDavid Crawshaw
2020-03-12 11:14:37 -04:00