diff --git a/connprofile/profiler.go b/connprofile/profiler.go index ca6a95c6e..c8ee5236a 100644 --- a/connprofile/profiler.go +++ b/connprofile/profiler.go @@ -154,6 +154,10 @@ func (p *ConnProfiler) checkHandshakes() { if stat.LastHandshake.IsZero() { continue } + + if stat.LastHandshake.Before(time.Now().Add(-100 * time.Hour)) { + continue + } profile.WireGuardConnected = stat.LastHandshake } p.profilesMu.Unlock()