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 4afc189919 wgengine/router: make Linux delRoute idempotent, cidrDiff fail late as possible
This makes cidrDiff do as much as possible before failing, and makes a
delete of an already-deleted rule be a no-op. We should never do this
ourselves, but other things on the system can, and this should help us
recover a bit.

Also adds the start of root-requiring tests.

TODO: hook into wgengine/monitor and notice when routes are changed
behind our back, and invalidate our routes map and re-read from
kernel (via the ip command) at least on the next reconfig call.

Updates tailscale/corp#1338

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
(cherry picked from commit 2d96215d97)
5 years ago
..
filter wgengine/filter: add a Clone method. 5 years ago
magicsock wgengine/magicsock: fix discoEndpoint caching bug when a node key changes 5 years ago
monitor wgengine/monitor: don't log any single-IP routes added to the tailscale table. 5 years ago
netstack wgengine/netstack: use tailscale IPs instead of a hardcoded one (#1131) 5 years ago
router wgengine/router: make Linux delRoute idempotent, cidrDiff fail late as possible 5 years ago
tsdns wgengine/tsdns: skip test that requires local IPv6 when IPv6 unavailable 5 years ago
tstun wgengine/tstun: also support DropSilently on PostFilterIn 5 years ago
wglog wgengine: use Tailscale-style peer identifiers in logs 5 years ago
winnet wgengine/winnet: don't build on non-windows 5 years ago
pendopen.go wgengine: access flow pending problem with lock held 5 years ago
userspace.go health, control/controlclient, wgengine: report when router unhealthy 5 years ago
userspace_test.go all: convert from []wgcfg.Endpoint to string 5 years ago
watchdog.go wgengine/netstack: use tailscale IPs instead of a hardcoded one (#1131) 5 years ago
watchdog_test.go cmd/tailscaled, wgengine/netstack: add start of gvisor userspace netstack work 5 years ago
wgengine.go wgengine/netstack: use tailscale IPs instead of a hardcoded one (#1131) 5 years ago