- Add get_web_token to RPCD ACL permissions (was missing, causing 403) - Add fallback token retrieval from container via lxc-attach - Improve token capture regex to support alphanumeric tokens - Fix startup script with background process + tee for reliable capture - Add IP forwarding enablement for transparent proxy mode - Fix bypass rule for traffic destined to router itself Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
44 lines
732 B
JSON
44 lines
732 B
JSON
{
|
|
"luci-app-mitmproxy": {
|
|
"description": "Grant access to mitmproxy LuCI app",
|
|
"read": {
|
|
"ubus": {
|
|
"luci.mitmproxy": [
|
|
"get_status",
|
|
"get_config",
|
|
"get_transparent_config",
|
|
"get_whitelist_config",
|
|
"get_filtering_config",
|
|
"get_all_config",
|
|
"get_stats",
|
|
"get_requests",
|
|
"get_top_hosts",
|
|
"get_ca_info",
|
|
"get_web_token"
|
|
]
|
|
},
|
|
"uci": [
|
|
"mitmproxy"
|
|
]
|
|
},
|
|
"write": {
|
|
"ubus": {
|
|
"luci.mitmproxy": [
|
|
"service_start",
|
|
"service_stop",
|
|
"service_restart",
|
|
"firewall_setup",
|
|
"firewall_clear",
|
|
"set_config",
|
|
"add_to_list",
|
|
"remove_from_list",
|
|
"clear_data"
|
|
]
|
|
},
|
|
"uci": [
|
|
"mitmproxy"
|
|
]
|
|
}
|
|
}
|
|
}
|