This website requires JavaScript.
3f74859bb0
version: new month, new date string
Brad Fitzpatrick
2020-07-03 13:47:09 -07:00
630379a1d0
cmd/tailscale: add tailscale status region name, last write, consistently star
Brad Fitzpatrick
2020-07-03 13:44:22 -07:00
0ea51872c9
types/logger: add rateFreePrefix rate-limiting-exempt log format prefixes
Brad Fitzpatrick
2020-07-03 13:09:29 -07:00
9a8700b02a
wgengine/magicsock: add discoEndpoint heartbeat
Brad Fitzpatrick
2020-07-03 12:43:39 -07:00
9f930ef2bf
wgengine/magicsock: remove the discoEndpoint.timers map
Brad Fitzpatrick
2020-07-03 11:45:41 -07:00
f5f3885b5b
wgengine/magicsock: bunch of misc discovery path cleanups
Brad Fitzpatrick
2020-07-03 11:06:33 -07:00
e9643ae724
wgengine: prevent log after exit in watchdog test
Dmytro Shynkevych
2020-07-03 03:00:45 -04:00
16b2bbbbbb
wgengine: close in reverse order of bringup
Dmytro Shynkevych
2020-07-03 03:00:04 -04:00
7883e5c5e7
go.mod: restore staticcheck module, make it stick around, go mod tidy
Brad Fitzpatrick
2020-07-02 22:52:42 -07:00
6c70cf7222
wgengine/magicsock: stop ping timeout timer on pong receipt, misc log cleanup
Brad Fitzpatrick
2020-07-02 22:48:12 -07:00
0aea087766
tstest/natlab: add PacketHandler and Inject.
David Anderson
2020-07-03 02:50:39 +00:00
73db7e99ab
tstest/natlab: make Machine constructible directly.
David Anderson
2020-07-03 02:42:25 +00:00
d94593e884
tstest/natlab: unregister conn4 if registration of conn6 fails.
David Anderson
2020-07-03 02:27:31 +00:00
d7bc4ec029
tstest/natlab: use common helper for conn registration.
David Anderson
2020-07-03 02:26:54 +00:00
80a14c49c6
tstest/natlab: add comments to conns4/conns6.
David Anderson
2020-07-03 02:23:01 +00:00
c53b154171
tstest/natlab: use &Network in test.
David Anderson
2020-07-03 02:21:51 +00:00
622c0d0cb3
tstest/natlab: print trace data when NATLAB_TRACE is set.
David Anderson
2020-07-03 02:09:54 +00:00
1d4f9852a7
tstest/natlab: correctly handle dual-stacked PacketConns.
David Anderson
2020-07-03 01:47:06 +00:00
771eb05bcb
tstest/natlab: first network attached becomes the default route.
David Anderson
2020-07-03 01:02:38 +00:00
f2e5da916a
tstest/natlab: allow sensible default construction of networks.
David Anderson
2020-07-03 00:52:58 +00:00
9cd4e65191
smallzstd: new package that constructs zstd small encoders/decoders.
David Anderson
2020-07-02 18:26:33 +00:00
97910ce712
tstest/natlab: remove unused PacketConner type
Brad Fitzpatrick
2020-07-02 14:50:04 -07:00
14b4213c17
tstest/natlab: add missing tests from earlier commits
Brad Fitzpatrick
2020-07-02 14:19:43 -07:00
3f4f1cfe66
tstest/natlab: basic NAT-free packet delivery works
Brad Fitzpatrick
2020-07-02 14:18:36 -07:00
a477e70632
tstest/natlab: network address allocation
Brad Fitzpatrick
2020-07-02 13:39:41 -07:00
bb1a9e4700
tstest/natlab: bit more of in-memory network testing package
Brad Fitzpatrick
2020-07-02 13:02:13 -07:00
23c93da942
tstest/natlab: start of in-memory network testing package
Brad Fitzpatrick
2020-07-02 12:36:12 -07:00
c52905abaa
wgengine/magicsock: log less on no-op disco route switches
Brad Fitzpatrick
2020-07-02 11:37:19 -07:00
847b6f039b
disco: simplify expression, appease staticcheck
Brad Fitzpatrick
2020-07-02 10:52:23 -07:00
57e8931160
control/controlclient: fix copy/paste-o in debug knob accessor
Brad Fitzpatrick
2020-07-02 10:50:19 -07:00
0f0ed3dca0
wgengine/magicsock: clean up discovery logging
Brad Fitzpatrick
2020-07-02 10:48:13 -07:00
056fbee4ef
wgengine/magicsock: add TS_DEBUG_OMIT_LOCAL_ADDRS knob to force STUN use only
Brad Fitzpatrick
2020-07-02 09:53:10 -07:00
6233fd7ac3
control/controlclient: don't truncate AuthURL in log
Brad Fitzpatrick
2020-07-02 09:45:08 -07:00
e03cc2ef57
wgengine/magicsock: populate discoOfAddr upon receiving ping frames
Brad Fitzpatrick
2020-07-02 08:37:46 -07:00
275a20f817
wgengine/magicsock: keep discoOfAddr populated, use it for findEndpoint
Brad Fitzpatrick
2020-07-01 22:15:41 -07:00
77e89c4a72
wgengine/magicsock: handle CallMeMaybe discovery mesages
Brad Fitzpatrick
2020-07-01 15:28:14 -07:00
710ee88e94
wgengine/magicsock: add timeout on discovery pings, clean up state
Brad Fitzpatrick
2020-07-01 14:39:21 -07:00
77d3ef36f4
wgengine/magicsock: hook up discovery messages, upgrade to LAN works
Brad Fitzpatrick
2020-07-01 12:56:17 -07:00
9b8ca219a1
wgengine/magicsock: remove allocs in UDP write, use new netaddr.PutUDPAddr
Brad Fitzpatrick
2020-07-01 10:17:08 -07:00
7b3c0bb7f6
wgengine/magicsock: fix crash reading DERP packet
Brad Fitzpatrick
2020-07-01 09:36:19 -07:00
47b4a19786
wgengine/magicsock: use netaddr.ParseIPPort instead of net.ResolveUDPAddr
Brad Fitzpatrick
2020-07-01 08:23:37 -07:00
f7124c7f06
wgengine/magicsock: start of discoEndpoint state tracking
Brad Fitzpatrick
2020-06-30 15:32:19 -07:00
92252b0988
wgengine/magicsock: add a little LRU cache for netaddr.IPPort lookups
Brad Fitzpatrick
2020-06-30 14:37:35 -07:00
2d6e84e19e
net/netcheck, wgengine/magicsock: replace more UDPAddr with netaddr.IPPort
Brad Fitzpatrick
2020-06-30 13:25:13 -07:00
9070aacdee
wgengine/magicsock: minor comments & logging & TODO changes
Brad Fitzpatrick
2020-06-30 13:14:41 -07:00
e96f22e560
wgengine/magicsock: start handling disco message, use netaddr.IPPort more
Brad Fitzpatrick
2020-06-30 12:22:42 -07:00
790ef2bc5f
internal/deepprint: update copyright header to appease license checker script
Brad Fitzpatrick
2020-06-29 22:22:15 -07:00
eb4eb34f37
disco: new package for parsing & marshaling discovery messages
Brad Fitzpatrick
2020-06-29 21:54:34 -07:00
7ca911a5c6
internal/deepprint: add missing copyright headers
Brad Fitzpatrick
2020-06-29 19:36:45 -07:00
a83ca9e734
wgengine/magicsock: cache precomputed nacl/box shared keys
Brad Fitzpatrick
2020-06-29 14:26:25 -07:00
a975e86bb8
wgengine/magicsock: add new endpoint type used for discovery-supporting peers
Brad Fitzpatrick
2020-06-28 11:53:37 -07:00
72bfea2ece
control/controlclient: remove IPv6 opt-out environment variable
Brad Fitzpatrick
2020-06-29 09:03:00 -07:00
6f73f2c15a
wgengine, internal/deepprint: replace UAPI usage as hash func; add deepprint
Brad Fitzpatrick
2020-06-28 10:58:21 -07:00
103c06cc68
wgengine/magicsock: open discovery naclbox messages from known peers
Brad Fitzpatrick
2020-06-26 14:38:53 -07:00
9258d64261
wgengine/router: do not call ifconfig up if SetRoutesFunc is set
David Crawshaw
2020-06-26 17:27:03 +10:00
23e74a0f7a
wgengine, magicsock, tstun: don't regularly STUN when idle (mobile only for now)
Brad Fitzpatrick
2020-06-25 14:19:12 -07:00
fe50cd0c48
ipn, wgengine: plumb NetworkMap down to magicsock
Brad Fitzpatrick
2020-06-25 11:04:52 -07:00
b8edb7a5e9
control/controlclient: add Debug field to NetworkMap
Brad Fitzpatrick
2020-06-25 10:47:33 -07:00
0071888a17
types/opt: add Bool.EqualBool method
Brad Fitzpatrick
2020-06-25 19:07:38 -07:00
4732722b87
derp: add frameClosePeer to move around clients within a region
Brad Fitzpatrick
2020-06-25 09:33:10 -07:00
dd43d9bc5f
derp: fix varz typo
Brad Fitzpatrick
2020-06-25 08:43:28 -07:00
3553512a71
cmd/derper: fix embarassing bug introduced in earlier refactor
Brad Fitzpatrick
2020-06-24 19:45:27 -07:00
36e9cb948f
control/controlclient: cut down some NetworkMap stringification & diff allocations
Brad Fitzpatrick
2020-06-24 15:00:02 -07:00
894e3bfc96
control/controlclient: trim /32 suffix a bit more succinctly
Brad Fitzpatrick
2020-06-24 14:24:32 -07:00
19d95e095a
wgengine: fix blank line in interface method comment
Brad Fitzpatrick
2020-06-24 14:10:42 -07:00
5bc29e7388
ipn: add missing locking in LocalBackend.NetMap
Brad Fitzpatrick
2020-06-24 13:55:56 -07:00
2a8e064705
cmd/tailscale: Allow advertising subnet routes on *BSD.
Brian Chu
2020-06-14 15:40:06 +10:00
a8635784bc
wgengine: add BSD userspace router to darwin
Reinaldo de Souza
2020-06-14 14:18:38 +02:00
b87396b5d9
cmd/derper, derp: add some more varz and consistency check handler
Brad Fitzpatrick
2020-06-23 13:59:48 -07:00
c2682553ff
version: add support for setting version with the -X Go linker flag
Elias Naur
2020-06-22 21:48:12 +02:00
6fbd1abcd3
derp: update peerGone code to work with regional DERP mesh clusters too
Brad Fitzpatrick
2020-06-22 10:06:42 -07:00
de5f6d70a8
magicsock: eliminate logging race in test
Dmytro Shynkevych
2020-06-22 04:54:59 -04:00
666d404066
ipn: put discovery key generation behind an environment flag for now
Brad Fitzpatrick
2020-06-20 10:18:13 -07:00
00ca17edf4
ipn: fix race in enterState
Dmytro Shynkevych
2020-06-19 13:43:55 -04:00
53fb25fc2f
all: generate discovery key, plumb it around
Brad Fitzpatrick
2020-06-19 12:06:49 -07:00
88c305c8af
tailcfg: add DiscoKey, unify some code, add some tests
Brad Fitzpatrick
2020-06-18 19:32:55 -07:00
d9054da86a
wgengine: disambiguate Reconfig logging paths
Brad Fitzpatrick
2020-06-18 22:07:20 -07:00
0ecaf7b5ed
control/controlclient: make netmap generation use rate-limited logger.
David Anderson
2020-06-18 23:24:44 +00:00
401e2ec307
control/controlclient: delete unused function.
David Anderson
2020-06-18 23:20:01 +00:00
58c9591a49
version: bump date
Brad Fitzpatrick
2020-06-18 09:10:50 -07:00
10368ef4c0
go.mod: bump wireguard-go version.
David Anderson
2020-06-17 02:54:18 +00:00
c12d87c54b
Fix concurrency issues in controlclient, ipn, types/logger (#456 )
Dmytro Shynkevych
2020-06-15 19:04:12 -04:00
c8cf3169ba
cmd/derper, derp/derphttp: move bulk of derp mesh code into derphttp
Brad Fitzpatrick
2020-06-15 11:58:10 -07:00
7cbf6ab771
cmd/derper: remove unused parameter in runMeshClient
Brad Fitzpatrick
2020-06-15 11:35:24 -07:00
5d4415399b
Merge remote-tracking branch 'origin/master' into main
Avery Pennarun
2020-06-15 14:23:19 -04:00
6757c990a8
Fix staticcheck warning, add Makefile with staticcheck targets, lock in staticcheck version in go.mod
Brad Fitzpatrick
2020-06-15 11:04:19 -07:00
08a6eeb55a
Fix staticcheck warning, add Makefile with staticcheck targets, lock in staticcheck version in go.mod
Brad Fitzpatrick
2020-06-15 11:04:19 -07:00
d9fd5db1e1
Rename master -> main.
Avery Pennarun
2020-06-15 13:47:11 -04:00
abd79ea368
derp: reduce DERP memory use; don't require callers to pass in memory to use
Brad Fitzpatrick
2020-06-15 10:26:50 -07:00
15a23ce65f
net/stun: Remove unreachable code
Quoc-Viet Nguyen
2020-06-15 23:28:49 +10:00
a036c8c718
version: add blank line to separate comment from package line
Brad Fitzpatrick
2020-06-15 07:50:20 -07:00
0371848097
Revert "version: delete GENERATE.go."
David Anderson
2020-06-12 23:32:22 +00:00
4c23b5e4ea
version: remove leftover debug print.
David Anderson
2020-06-12 22:38:05 +00:00
03aa319762
version: add an AtLeast helper to compare versions.
David Anderson
2020-06-12 20:28:20 +00:00
9dd3544e84
version: bump oss datestamp.
David Anderson
2020-06-12 18:49:55 +00:00
1f4ccae591
version: remove comment about being unused.
David Anderson
2020-06-12 18:44:26 +00:00
a447caebf8
version: delete GENERATE.go.
David Anderson
2020-06-12 18:28:43 +00:00
50b2e5ffe6
log/logheap: appease staticcheck
Brad Fitzpatrick
2020-06-12 10:31:42 -07:00
8edcab04d5
log/logheap: change to POST to a URL instead of logging
Brad Fitzpatrick
2020-06-12 10:12:35 -07:00
51f421946f
tailcfg: add some example strings in comments
Brad Fitzpatrick
2020-06-12 08:17:03 -07:00