netbird/client/internal/peer
Misha Bragin ed4f90b6aa
Report offline peers to agents (#728)
The peer login expiration ACL check introduced in #714
filters out peers that are expired and agents receive a network map 
without that expired peers.
However, the agents should see those peers in status "Disconnected".

This PR extends the Agent <-> Management protocol 
by introducing a new field OfflinePeers
that contain expired peers. Agents keep track of those and display 
then just in the Status response.
2023-03-07 10:17:25 +01:00
..
conn_status_test.go Use the conn state of peer on proper way (#717) 2023-03-03 19:49:18 +01:00
conn_status.go Use the conn state of peer on proper way (#717) 2023-03-03 19:49:18 +01:00
conn_test.go Refactor/clean shouldUseProxy (#722) 2023-03-06 17:33:54 +01:00
conn.go Refactor/clean shouldUseProxy (#722) 2023-03-06 17:33:54 +01:00
error_test.go Test conn (#199) 2022-01-21 13:52:19 +01:00
error.go Test conn (#199) 2022-01-21 13:52:19 +01:00
status_test.go Use the conn state of peer on proper way (#717) 2023-03-03 19:49:18 +01:00
status.go Report offline peers to agents (#728) 2023-03-07 10:17:25 +01:00