Feature Request: remotely (management) initiated debugging/control of clients #1531

Open
opened 2025-11-20 05:32:20 -05:00 by saavagebueno · 10 comments
Owner

Originally created by @ecwio on GitHub (Dec 31, 2024).

Is your feature request related to a problem? Please describe.

I know that is a lot but here are my first thoughts as a new user

I find the debugging process hard because informations are not centralized so I am proposing the following features for debugging within a dedicated page

  • restart client from server
  • update client from server (not sure if possible)
  • get remote client status from within server
  • IOS app needs a status page

The current transition period and current strenghts of each Network methods would also benefit from a Enable/Disable feature on the legacy route system and The new Network system for debugging or other testing purposes for transition so we can enable one or the other at will or both. Currently testing both methods because I still can't get a fully working environment changing from one configuration to another is hard.

Describe alternatives you've considered
not sure how we can make an alternative to debugging tools but the enable/disable feature could be replaced by a preset/snapshot system

Originally created by @ecwio on GitHub (Dec 31, 2024). **Is your feature request related to a problem? Please describe.** I know that is a lot but here are my first thoughts as a new user I find the debugging process hard because informations are not centralized so I am proposing the following features for debugging within a dedicated page - restart client from server - update client from server (not sure if possible) - get remote client status from within server - IOS app needs a status page The current transition period and current strenghts of each Network methods would also benefit from a Enable/Disable feature on the legacy route system and The new Network system for debugging or other testing purposes for transition so we can enable one or the other at will or both. Currently testing both methods because I still can't get a fully working environment changing from one configuration to another is hard. **Describe alternatives you've considered** not sure how we can make an alternative to debugging tools but the enable/disable feature could be replaced by a preset/snapshot system
Author
Owner

@maxus-git commented on GitHub (Jan 29, 2025):

One of my biggest wishes would be to update the client/peer from the server or dashboard. I know this feature from Tailscale, where you can update the client in the client overview with a simple button.
I have only found the following in the API, but it seems to be only about updating information about the peer: https://docs.netbird.io/ipa/resources/peers#update-a-peer

@maxus-git commented on GitHub (Jan 29, 2025): One of my biggest wishes would be to update the client/peer from the server or dashboard. I know this feature from Tailscale, where you can update the client in the client overview with a simple button. I have only found the following in the API, but it seems to be only about updating information about the peer: https://docs.netbird.io/ipa/resources/peers#update-a-peer
Author
Owner

@maxus-git commented on GitHub (Jan 29, 2025):

Also found here: #1793 and #832

@maxus-git commented on GitHub (Jan 29, 2025): Also found here: #1793 and #832
Author
Owner

@M0nk3yOo commented on GitHub (Feb 14, 2025):

+1

@M0nk3yOo commented on GitHub (Feb 14, 2025): +1
Author
Owner

@d3dx9 commented on GitHub (Feb 21, 2025):

+1

@d3dx9 commented on GitHub (Feb 21, 2025): +1
Author
Owner

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

+1

@B08Z commented on GitHub (Mar 24, 2025): +1
Author
Owner

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

Just to let you know, I came up with this feature request a few days ago independently of the ticket as it would significantly improve my own technical support role. This isn't much more than an idea at this point, but I will try to make it happen and keep you posted.

@nazarewk commented on GitHub (Mar 24, 2025): Just to let you know, I came up with this feature request a few days ago independently of the ticket as it would significantly improve my own technical support role. This isn't much more than an idea at this point, but I will try to make it happen and keep you posted.
Author
Owner

@ez1976 commented on GitHub (Apr 7, 2025):

Hi.
since the use of netbird agents in AWS/GCP/Azure is used as relay agents (agents that publish networks), it would be great if the management can control them:

open a SSH session to the console?
power management - reboot, shutdown (via SSH - not via ILO/IDRAC)
run remote commands?
send a netbird agent upgrade? (bulk option will be great as well)
at the moment i have a custom script that asks for a required version and environment (my routing agents are devided per env: Prod, stage, IT, Internal) and do the following:

get a list of all the groups this agent is a member of
remove them from all the groups and leaves ONLY the group "all"
set up an upgrade script based on agent OS, transfer it via SCP
run the script remotely which upgrades the netbird version
once the agent is connected back it adds all the previous groups back to the agent so it will publish the routes to clients.

@ez1976 commented on GitHub (Apr 7, 2025): Hi. since the use of netbird agents in AWS/GCP/Azure is used as relay agents (agents that publish networks), it would be great if the management can control them: open a SSH session to the console? power management - reboot, shutdown (via SSH - not via ILO/IDRAC) run remote commands? send a netbird agent upgrade? (bulk option will be great as well) at the moment i have a custom script that asks for a required version and environment (my routing agents are devided per env: Prod, stage, IT, Internal) and do the following: get a list of all the groups this agent is a member of remove them from all the groups and leaves ONLY the group "all" set up an upgrade script based on agent OS, transfer it via SCP run the script remotely which upgrades the netbird version once the agent is connected back it adds all the previous groups back to the agent so it will publish the routes to clients.
Author
Owner

@nazarewk commented on GitHub (Apr 18, 2025):

Noting down that this feature could help with logs/debug bundle collection for users without administrative privileges on their machines: employees using devices centrally managed by IT departments etc.

@nazarewk commented on GitHub (Apr 18, 2025): Noting down that this feature could help with logs/debug bundle collection for users without administrative privileges on their machines: employees using devices centrally managed by IT departments etc.
Author
Owner

@ez1976 commented on GitHub (Apr 18, 2025):

Also it would be great if we can force a reconnect of an agent from the console.
instead of requesting the users to disconnect and reconnect, it would be great if we can force a reconnection from the console (with a batch select to improve this).
so a few thoughts:

  • "reconnect if fail every X minutes" - force a reconnection every 10 minutes for example to eliminate the need to connect manually to each netbird route agent

  • remote commands on agents - reboot / netbird reconnect / upgrade

  • agents with keys - console option with credentials or private SSH key

  • upgrade clients - basically to initiate a download and install based on the OS ( i do this manually from MDM so it shouldn't be that difficult)

@ez1976 commented on GitHub (Apr 18, 2025): Also it would be great if we can force a reconnect of an agent from the console. instead of requesting the users to disconnect and reconnect, it would be great if we can force a reconnection from the console (with a batch select to improve this). so a few thoughts: * "reconnect if fail every X minutes" - force a reconnection every 10 minutes for example to eliminate the need to connect manually to each netbird route agent * remote commands on agents - reboot / netbird reconnect / upgrade * agents with keys - console option with credentials or private SSH key * upgrade clients - basically to initiate a download and install based on the OS ( i do this manually from MDM so it shouldn't be that difficult)
Author
Owner

@nazarewk commented on GitHub (Apr 23, 2025):

something to consider when implementing remote debugging features https://github.com/netbirdio/netbird/issues/683

@nazarewk commented on GitHub (Apr 23, 2025): something to consider when implementing remote debugging features https://github.com/netbirdio/netbird/issues/683
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#1531