-
Notifications
You must be signed in to change notification settings - Fork 994
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove legacy remote node administration #5684
Comments
This new way of remote admin is not working on nodes where licensed ham radio is enabled. Only the older way with admin channel still works on nodes for licensed radio operators. I tested multiple times, last time on 2.5.15. |
an admin channel that is not encrypted is not a supported option, the legacy admin channel is not expected to work in licensed mode. |
Yet, it works. Tested on both remote node and active node on 2.5.15. |
It works because if you manually configure it the firmware code does not remove the admin channels like the ham parameters message does, it is not expected functionality that is going to be retained. |
So how can I change the configuration on remote nodes after the the admin channels are removed? |
There isn't a way to safely and legally change configurations on remote nodes along with the licensed amateur radio setting. Either you do it by getting close enough to connect with BLE/TCP/Serial, you encrypt it (breaking license rules), or you add an unencrypted admin channel that anyone could trivially use to change your nodes' configurations (though I haven't checked, we may not allow an unencrypted admin channel either). The best workaround I can think of without spending too much time thinking about it would be to create some sort of a side-channel that uses the unlicensed side of things and talks to the licensed-mode node over serial to change configuration. But that would probably mean 2 additional MCUs as well. |
Firmware 2.5 introduced Public Key Cryptography (PKC) to Meshtastic. With it came the ability for node operators to specify which keys should be allowed to remotely administer a node. This was a major security improvement - previously node operators had to have a single management channel and one pre-shared key to secure their nodes.
Until now, we've kept the 'legacy' functionality in place, so users of version 2.5+ firmware could still manage older nodes. Now firmware 2.5+ is in widespread use, and the new remote node administration functionality is well-tested, we can safely remove 'legacy' remote node administration. This has benefits of a smaller and more maintainable code-base, reducing a potential vulnerability vector.
References:
https://meshtastic.org/docs/overview/encryption/
https://meshtastic.org/docs/development/reference/encryption-technical/
https://meshtastic.org/docs/configuration/remote-admin/
The text was updated successfully, but these errors were encountered: