You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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.
5 years ago
..
filter control/controlclient, wgengine/filter: extract parsePacketFilter to … (#696) 5 years ago
magicsock wgengine: lazily create peer wireguard configs more explicitly 5 years ago
monitor wgengine/monitor: add a poller to the Windows link change monitor 5 years ago
packet wgengine/filter: fix IPv4 IGMP spam omission, also omit ff02::16 spam 5 years ago
router tailcfg, tsdns: derive root domains from list of nodes (#708) 5 years ago
tsdns tailcfg, tsdns: derive root domains from list of nodes (#708) 5 years ago
tstun wgengine: configure wireguard peers lazily, as needed 5 years ago
winnet Move Linux client & common packages into a public repo. 6 years ago
rusage.go Move "logger" package to under types, now that we have it. 6 years ago
rusage_nowindows.go wgengine: flesh out some docs 6 years ago
rusage_windows.go Move Linux client & common packages into a public repo. 6 years ago
userspace.go wgengine: lazily create peer wireguard configs more explicitly 5 years ago
userspace_test.go wgengine: lazily create peer wireguard configs more explicitly 5 years ago
watchdog.go cmd/tailscale/cli: add ping subcommand 5 years ago
watchdog_test.go wgengine: prevent log after exit in watchdog test 6 years ago
wgengine.go cmd/tailscale/cli: add ping subcommand 5 years ago