From e28336c5dbe0b14c881682e3e38aa4dd93af16f9 Mon Sep 17 00:00:00 2001 From: Ryan Huber Date: Wed, 29 Mar 2023 13:09:36 -0700 Subject: [PATCH] probes to the lh are not generally useful as recv_error should catch (#408) --- connection_manager.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/connection_manager.go b/connection_manager.go index d1e78ca..be2ac59 100644 --- a/connection_manager.go +++ b/connection_manager.go @@ -216,6 +216,13 @@ func (n *connectionManager) HandleMonitorTick(now time.Time, p, nb, out []byte) continue } + if n.intf.lightHouse.IsLighthouseIP(hostinfo.vpnIp) { + // Don't probe lighthouses since recv_error should naturally catch this. + n.ClearLocalIndex(localIndex) + n.ClearPendingDeletion(localIndex) + continue + } + hostinfo.logger(n.l). WithField("tunnelCheck", m{"state": "testing", "method": "active"}). Debug("Tunnel status")