control,health,ipn: move IP forwarding check to health tracker (#19007)
Currently IP forwarding health check is done on sending MapRequests. Move ip forwarding to the health service to gain the benefits of the health tracker and perodic monitoring out of band from the MapRequest path. ipnlocal now provides a closure to the health service to provide the check if forwarding is broken. Removed `skipIPForwardingCheck` from controlclient/direct.go, it wasn't being used as the comments describe it, that check has moved to ipnlocal for the closure to the health tracker. Updates #18976 Signed-off-by: Mike O'Driscoll <mikeo@tailscale.com>
This commit is contained in:
@@ -101,7 +101,7 @@ tailscale.com/cmd/tailscaled dependencies: (generated by github.com/tailscale/de
|
||||
tailscale.com/net/netknob from tailscale.com/logpolicy+
|
||||
tailscale.com/net/netmon from tailscale.com/cmd/tailscaled+
|
||||
tailscale.com/net/netns from tailscale.com/cmd/tailscaled+
|
||||
tailscale.com/net/netutil from tailscale.com/control/controlclient+
|
||||
tailscale.com/net/netutil from tailscale.com/control/controlhttp+
|
||||
tailscale.com/net/netx from tailscale.com/control/controlclient+
|
||||
tailscale.com/net/packet from tailscale.com/ipn/ipnlocal+
|
||||
tailscale.com/net/packet/checksum from tailscale.com/net/tstun
|
||||
|
||||
@@ -118,7 +118,7 @@ tailscale.com/cmd/tailscaled dependencies: (generated by github.com/tailscale/de
|
||||
tailscale.com/net/netknob from tailscale.com/logpolicy+
|
||||
tailscale.com/net/netmon from tailscale.com/cmd/tailscaled+
|
||||
tailscale.com/net/netns from tailscale.com/cmd/tailscaled+
|
||||
tailscale.com/net/netutil from tailscale.com/control/controlclient+
|
||||
tailscale.com/net/netutil from tailscale.com/client/local+
|
||||
tailscale.com/net/netx from tailscale.com/control/controlclient+
|
||||
tailscale.com/net/packet from tailscale.com/ipn/ipnlocal+
|
||||
tailscale.com/net/packet/checksum from tailscale.com/net/tstun
|
||||
|
||||
Reference in New Issue
Block a user