- Add "Sync WAF Routes" button to HAProxy vhosts page in LuCI - Add sync_mitmproxy_routes RPC method to HAProxy RPCD backend - Fix mitmproxyctl and secubox-route to handle LuCI backends (luci, luci_default, luci_control) - Remove outdated port 8081 skip filter in route sync that prevented LuCI routes - These changes allow vhosts with original_backend='luci' to be properly routed through the WAF Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
65 lines
1.2 KiB
JSON
65 lines
1.2 KiB
JSON
{
|
|
"luci-app-haproxy": {
|
|
"description": "Grant access to HAProxy load balancer",
|
|
"read": {
|
|
"ubus": {
|
|
"luci.haproxy": [
|
|
"status",
|
|
"get_stats",
|
|
"list_vhosts",
|
|
"get_vhost",
|
|
"list_backends",
|
|
"get_backend",
|
|
"list_servers",
|
|
"list_certificates",
|
|
"list_cert_tasks",
|
|
"get_cert_task",
|
|
"list_acls",
|
|
"list_redirects",
|
|
"get_settings",
|
|
"get_logs",
|
|
"list_exposed_services"
|
|
]
|
|
},
|
|
"uci": ["haproxy"]
|
|
},
|
|
"write": {
|
|
"ubus": {
|
|
"luci.haproxy": [
|
|
"create_vhost",
|
|
"update_vhost",
|
|
"delete_vhost",
|
|
"create_backend",
|
|
"update_backend",
|
|
"delete_backend",
|
|
"create_server",
|
|
"update_server",
|
|
"delete_server",
|
|
"request_certificate",
|
|
"start_cert_request",
|
|
"get_cert_task",
|
|
"list_cert_tasks",
|
|
"clean_cert_tasks",
|
|
"import_certificate",
|
|
"delete_certificate",
|
|
"create_acl",
|
|
"update_acl",
|
|
"delete_acl",
|
|
"create_redirect",
|
|
"delete_redirect",
|
|
"save_settings",
|
|
"install",
|
|
"start",
|
|
"stop",
|
|
"restart",
|
|
"reload",
|
|
"generate",
|
|
"validate",
|
|
"sync_mitmproxy_routes"
|
|
]
|
|
},
|
|
"uci": ["haproxy"]
|
|
}
|
|
}
|
|
}
|