secubox-openwrt/package/secubox/secubox-mesh/root/usr/share/rpcd/acl.d/luci-app-secubox-mesh.json
CyberMind-FR cd6af3edff feat(secubox-mesh): Add OpenWrt mesh daemon with topology management
Port secuboxd from Debian/Go to OpenWrt shell implementation:
- secuboxd daemon with Unix control socket at /var/run/secuboxd/topo.sock
- secuboxctl CLI compatible with Debian version interface
- Mesh libraries: topology, discovery, election, telemetry, control
- Mesh gate election with weighted scoring (uptime, peers, CPU, memory, role)
- mDNS service discovery (_secubox._udp.local) via umdns
- DID integration via mirrornet identity library
- RPCD handler with 11 ubus methods for LuCI integration
- procd init script with respawn and network triggers
- UCI config sections: mesh, node, telemetry, discovery

Fixes subprocess state access for socat handler by saving daemon state to file.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-26 06:27:45 +01:00

31 lines
757 B
JSON

{
"luci-app-secubox-mesh": {
"description": "Grant access to SecuBox Mesh Daemon",
"read": {
"ubus": {
"luci.secubox-mesh": [
"status",
"peers",
"topology",
"nodes",
"node_info",
"telemetry",
"ping",
"get_config"
]
},
"uci": ["secubox"]
},
"write": {
"ubus": {
"luci.secubox-mesh": [
"node_rotate",
"set_config",
"restart"
]
},
"uci": ["secubox"]
}
}
}