Skip to content

Fix/p2p-net-hardening: Harden P2P Networking And Info Diagnostics#235

Merged
St4NNi merged 17 commits into
mainfrom
fix/p2p-net-hardening
May 12, 2026
Merged

Fix/p2p-net-hardening: Harden P2P Networking And Info Diagnostics#235
St4NNi merged 17 commits into
mainfrom
fix/p2p-net-hardening

Conversation

@St4NNi

@St4NNi St4NNi commented May 12, 2026

Copy link
Copy Markdown
Member

Improves P2P discovery/connectivity handling and replaces the verbose info endpoint with a compact status view focused on node identity, addresses, connections, and service health.

Changes

  • Adds realm-scoped P2P discovery/relay configuration, managed peer retries, and DHT-signed endpoint fallback.
  • Ensure that all nodes in a realm use the same discovery / relay methods to be compatible
  • Adds aruna-doctor info and iroh connectivity checks for live node troubleshooting.
  • Simplifies /api/v1/info into node, address, connection, service, and warning sections.
  • Reports selected connection paths, not-assigned path state, compact request failure rates, and last errors instead of verbose probe counters.

@lfbrehm lfbrehm left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As mentioned before, we should probably move the extended info behind authenticated requests and add another unauthenticated endpoint with fewer info. Besides that, I am glad to have additional info for debugging and further testing the v3 alpha.

@St4NNi St4NNi merged commit 0d0629a into main May 12, 2026
6 checks passed
@St4NNi St4NNi deleted the fix/p2p-net-hardening branch May 12, 2026 11:10
@St4NNi St4NNi restored the fix/p2p-net-hardening branch May 12, 2026 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants