Skip to content

Commit

Permalink
[v16] Periodically check connectivity between peer proxies (#48929)
Browse files Browse the repository at this point in the history
* Make the peer clientConn generic

* Convert the peer server to slog

* Move lib/proxy/clusterdial to lib/peer/dial

* Move peer.clientConn to lib/proxy/peer/internal

* Periodically check connectivity between peer proxies (#48838)
  • Loading branch information
espadolini authored Nov 14, 2024
1 parent e244fdc commit af67ea4
Show file tree
Hide file tree
Showing 16 changed files with 922 additions and 304 deletions.
359 changes: 330 additions & 29 deletions api/client/proto/proxyservice.pb.go

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions api/proto/teleport/legacy/client/proto/proxyservice.proto
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ option go_package = "github.com/gravitational/teleport/api/client/proto";
service ProxyService {
// DialNode opens a bidrectional stream to the requested node.
rpc DialNode(stream Frame) returns (stream Frame);

// Ping checks if the peer is reachable and responsive.
rpc Ping(ProxyServicePingRequest) returns (ProxyServicePingResponse);
}

// Frame wraps different message types to be sent over a stream.
Expand Down Expand Up @@ -63,3 +66,7 @@ message Data {

// ConnectionEstablished signals to the client a connection to the node has been established.
message ConnectionEstablished {}

message ProxyServicePingRequest {}

message ProxyServicePingResponse {}
60 changes: 0 additions & 60 deletions lib/proxy/clusterdial/dial.go

This file was deleted.

Loading

0 comments on commit af67ea4

Please sign in to comment.