secubox-openwrt/package/secubox/secubox-mesh/root/usr/share/rpcd/acl.d/luci-app-secubox-mesh.json
CyberMind-FR e7a9062140 feat(secubox-mesh): Add network device and VM/container discovery
Enhanced mesh discovery with multi-method network device detection:

- discovery_scan_subnet(): Active /24 subnet scanning for SecuBox peers
- discovery_scan_docker(): Docker container detection via Unix socket
- discovery_scan_lxc(): LXC and Proxmox container detection
- discovery_scan_libvirt(): KVM/libvirt VM detection via virsh
- discovery_scan_all_devices(): Full ARP neighbor discovery with fingerprinting
- discovery_fingerprint_device(): Port scanning for service detection

New RPCD API methods:
- devices: List all discovered network devices
- scan_full: Trigger full network scan (includes subnet scan)
- scan_containers: Scan specifically for containers/VMs

LuCI mesh dashboard updates:
- "Discovered Devices" table with IP, MAC, type, hostname, services
- "Scan Network" button to trigger full discovery
- Device classification: secubox, server, container, vm, unknown
- Peer table now shows source field (docker:name, lxc:name, etc.)

Also includes CRT P31 theme CSS comprehensive fix for UI consistency.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-26 11:38:37 +01:00

34 lines
860 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",
"devices",
"scan_containers"
]
},
"uci": ["secubox"]
},
"write": {
"ubus": {
"luci.secubox-mesh": [
"node_rotate",
"set_config",
"restart",
"scan_full"
]
},
"uci": ["secubox"]
}
}
}