tailscale/wgengine
Brad Fitzpatrick 756d6a72bd wgengine: lazily create peer wireguard configs more explicitly
Rather than consider bigs jumps in last-received-from activity as a
signal to possibly reconfigure the set of wireguard peers to have
configured, instead just track the set of peers that are currently
excluded from the configuration. Easier to reason about.

Also adds a bit more logging.

This might fix an error we saw on a machine running a recent unstable
build:

2020-08-26 17:54:11.528033751 +0000 UTC: 8.6M/92.6M magicsock: [unexpected] lazy endpoint not created for [UcppE], d:42a770f678357249
2020-08-26 17:54:13.691305296 +0000 UTC: 8.7M/92.6M magicsock: DERP packet received from idle peer [UcppE]; created=false
2020-08-26 17:54:13.691383687 +0000 UTC: 8.7M/92.6M magicsock: DERP packet from unknown key: [UcppE]

If it does happen again, though, we'll have more logs.
2020-08-26 12:26:06 -07:00
..
filter control/controlclient, wgengine/filter: extract parsePacketFilter to … (#696) 2020-08-20 10:36:19 -07:00
magicsock wgengine: lazily create peer wireguard configs more explicitly 2020-08-26 12:26:06 -07:00
monitor wgengine/monitor: add a poller to the Windows link change monitor 2020-08-24 21:23:52 -07:00
packet wgengine/filter: fix IPv4 IGMP spam omission, also omit ff02::16 spam 2020-07-30 11:00:20 -07:00
router tailcfg, tsdns: derive root domains from list of nodes (#708) 2020-08-24 17:27:21 -04:00
tsdns tailcfg, tsdns: derive root domains from list of nodes (#708) 2020-08-24 17:27:21 -04:00
tstun wgengine: configure wireguard peers lazily, as needed 2020-07-24 12:50:15 -07:00
winnet Move Linux client & common packages into a public repo. 2020-02-09 09:32:57 -08:00
rusage_nowindows.go wgengine: flesh out some docs 2020-02-12 13:37:45 -08:00
rusage_windows.go Move Linux client & common packages into a public repo. 2020-02-09 09:32:57 -08:00
rusage.go Move "logger" package to under types, now that we have it. 2020-02-14 20:23:05 -08:00
userspace_test.go wgengine: lazily create peer wireguard configs more explicitly 2020-08-26 12:26:06 -07:00
userspace.go wgengine: lazily create peer wireguard configs more explicitly 2020-08-26 12:26:06 -07:00
watchdog_test.go wgengine: prevent log after exit in watchdog test 2020-07-03 10:52:39 -07:00
watchdog.go cmd/tailscale/cli: add ping subcommand 2020-08-10 12:50:56 -07:00
wgengine.go cmd/tailscale/cli: add ping subcommand 2020-08-10 12:50:56 -07:00