secubox-openwrt/package/secubox/luci-app-service-registry/root/usr/share/rpcd/acl.d/luci-app-service-registry.json
CyberMind-FR e01504d4a8 feat(service-registry): Add public IP detection and external port check
- Add get_network_info RPCD method:
  - Public IPv4/IPv6 detection via external services
  - Reverse DNS hostname lookup
  - External port accessibility test (upstream router/ISP check)
- Enhance check_service_health:
  - Compare DNS resolution against actual public IP
  - Detect private IP misconfiguration (192.168.x.x pointing)
  - Test external port reachability
- Add Network Connectivity panel to dashboard:
  - Shows public IPs with hostnames
  - External port 80/443 accessibility status
  - Local firewall and HAProxy status
- Improve URL Readiness Checker:
  - Display public IP info
  - Show specific recommendations with IP addresses
  - Detect and explain DNS pointing to private IP

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 07:15:49 +01:00

64 lines
1.2 KiB
JSON

{
"luci-app-service-registry": {
"description": "Grant access to Service Registry",
"read": {
"ubus": {
"luci.service-registry": [
"list_services",
"get_service",
"list_categories",
"get_qr_data",
"get_certificate_status",
"check_service_health",
"check_all_health",
"get_network_info",
"get_landing_config"
],
"luci.haproxy": [
"status",
"list_vhosts",
"list_backends",
"list_certificates"
],
"luci.tor-shield": [
"status",
"hidden_services"
],
"luci.secubox": [
"get_services"
]
},
"uci": ["service-registry", "haproxy", "tor-shield"]
},
"write": {
"ubus": {
"luci.service-registry": [
"publish_service",
"unpublish_service",
"sync_providers",
"generate_landing_page",
"update_service",
"delete_service",
"save_landing_config"
],
"luci.haproxy": [
"create_vhost",
"create_backend",
"create_server",
"request_certificate",
"delete_vhost",
"delete_backend"
],
"luci.tor-shield": [
"add_hidden_service",
"remove_hidden_service"
]
},
"uci": ["service-registry"],
"file": {
"/www/secubox-services.html": ["write"]
}
}
}
}