- Add secubox-p2p backend package: - UCI configuration for P2P settings, DNS federation, WireGuard mesh, HAProxy - RPCD handler for peer management, service discovery, mesh configuration - Init script and main P2P manager daemon - Add luci-app-secubox-p2p frontend package: - Main hub view with master control, network matrix visualization - Peers management with discovery and manual add - Services view showing local and shared services - Mesh network configuration (DNS, WireGuard, HAProxy) - Settings for P2P and registry configuration - Add Services Registry view to luci-app-secubox - Add listProfiles/applyProfile to secubox-admin API - Fix P2P ACL permissions - Remove old hub.js from luci-app-secubox (moved to dedicated package) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
41 lines
765 B
JSON
41 lines
765 B
JSON
{
|
|
"luci-app-secubox-p2p": {
|
|
"description": "SecuBox P2P Hub",
|
|
"read": {
|
|
"ubus": {
|
|
"luci.secubox-p2p": [
|
|
"get_peers",
|
|
"get_settings",
|
|
"get_services",
|
|
"get_shared_services",
|
|
"discover",
|
|
"get_dns_config",
|
|
"get_wireguard_config",
|
|
"get_haproxy_config",
|
|
"get_registry",
|
|
"health_check"
|
|
],
|
|
"uci": ["get", "state"]
|
|
},
|
|
"uci": ["secubox-p2p"]
|
|
},
|
|
"write": {
|
|
"ubus": {
|
|
"luci.secubox-p2p": [
|
|
"add_peer",
|
|
"remove_peer",
|
|
"set_settings",
|
|
"sync_catalog",
|
|
"broadcast_command",
|
|
"set_dns_config",
|
|
"set_wireguard_config",
|
|
"set_haproxy_config",
|
|
"register_url"
|
|
],
|
|
"uci": ["set", "delete", "commit", "apply"]
|
|
},
|
|
"uci": ["secubox-p2p"]
|
|
}
|
|
}
|
|
}
|