Skip to content

[FR] - Query node for list of outgoing/incoming connections and its state Β #5006

@Scitz0

Description

@Scitz0

Internal/External
External

Area
Other

Describe the feature you'd like
When in P2P mode, we need a way to query the node for currently established incoming and outgoing connections with their state. State of connection should include hot/warm status for outgoing and uni-directional, bi-directional, duplex mode for all. The current metrics you can get from the node provide the numbers, but not specifically what IP has what state and if its incoming/outgoing. This could be included in Prometheus or EKG metrics, alternatively as a cardano-cli query.

This would be very beneficial when troubleshooting topology issues or just for general health checks that the node has connections to own nodes and in the preferred mode.

Describe alternatives you've considered
Before P2P we could use system tooling to query for established incoming and outgoing connections as they where all uni directional. This is no longer possible with P2P enabled. You can only see 'active connections'.

Sub-issues

Metadata

Metadata

Assignees

Labels

PI-9Issues / PRs related to PI-9connection-managerIssues / PRs related to connection-managerhigh-priorityhigh priority issues / PRsnode-to-clientIssues & PRs related to node-to-client protocolsoutbound-governorIssues / PRs related to outbound-governor

Type

No type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions