[Feature] API endpoint api/v1/node/<nodeId> should publish NetInfo and endpoints information. #802

Closed
opened 2025-12-29 02:24:13 +01:00 by adam · 4 comments
Owner

Originally created by @aalmenar on GitHub (Sep 25, 2024).

Use case

This allows to see a client connectivity in case any issue arises, by allowing to know easily (Not querying in the database) the information:

...
"NetInfo":{"MappingVariesByDestIP":false,"HairPinning":null,"WorkingIPv6":true,"OSHasIPv6":true,"WorkingUDP":true,"WorkingICMPv4":false,"UPnP":true,"PMP":false,"PCP":false,"PreferredDERP":19,"DERPLatency":{"19-v4":0.013181375,"19-v6":0.006237542,"4-v4":0.03397825,"8-v4":0.033594875,"8-v6":0.033644875}}
...

This helps debugging connection problems if there's any.

Description

Show the information of NetInfo and enpoints on REST API so any webui can make use of it.

Contribution

  • I can write the design doc for this feature
  • I can contribute this feature

How can it be implemented?

No response

Originally created by @aalmenar on GitHub (Sep 25, 2024). ### Use case This allows to see a client connectivity in case any issue arises, by allowing to know easily (Not querying in the database) the information: ... "NetInfo":{"MappingVariesByDestIP":false,"HairPinning":null,"WorkingIPv6":true,"OSHasIPv6":true,"WorkingUDP":true,"WorkingICMPv4":false,"UPnP":true,"PMP":false,"PCP":false,"PreferredDERP":19,"DERPLatency":{"19-v4":0.013181375,"19-v6":0.006237542,"4-v4":0.03397825,"8-v4":0.033594875,"8-v6":0.033644875}} ... This helps debugging connection problems if there's any. ### Description Show the information of NetInfo and enpoints on REST API so any webui can make use of it. ### Contribution - [ ] I can write the design doc for this feature - [ ] I can contribute this feature ### How can it be implemented? _No response_
adam added the enhancementstale labels 2025-12-29 02:24:13 +01:00
adam closed this issue 2025-12-29 02:24:13 +01:00
Author
Owner

@github-actions[bot] commented on GitHub (Dec 25, 2024):

This issue is stale because it has been open for 90 days with no activity.

@github-actions[bot] commented on GitHub (Dec 25, 2024): This issue is stale because it has been open for 90 days with no activity.
Author
Owner

@github-actions[bot] commented on GitHub (Jan 1, 2025):

This issue was closed because it has been inactive for 14 days since being marked as stale.

@github-actions[bot] commented on GitHub (Jan 1, 2025): This issue was closed because it has been inactive for 14 days since being marked as stale.
Author
Owner

@ghost commented on GitHub (Mar 24, 2025):

it would be nice to also support editing these IPs or make them fixed (a fix port/IP may be configured for a node with fixed public IP)

@ghost commented on GitHub (Mar 24, 2025): it would be nice to also support editing these IPs or make them fixed (a fix port/IP may be configured for a node with fixed public IP)
Author
Owner

@aalmenar commented on GitHub (Dec 10, 2025):

Since this was mentioned can we reopen this one, i understand it’s not to be implemented right now but to keep it alive until it enters in a milestone?

@aalmenar commented on GitHub (Dec 10, 2025): Since this was mentioned can we reopen this one, i understand it’s not to be implemented right now but to keep it alive until it enters in a milestone?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#802