- Add RPCD methods to mitmproxy: settings, save_settings, set_mode, setup_firewall, clear_firewall - Add apply_now parameter to tor-shield save_settings to restart service and apply iptables rules immediately - Update ACL files with new permissions - Add Save & Apply button to tor-shield settings page - Update api.js files to use correct RPCD method signatures Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
27 lines
416 B
JSON
27 lines
416 B
JSON
{
|
|
"luci-app-mitmproxy": {
|
|
"description": "Grant access to mitmproxy",
|
|
"read": {
|
|
"ubus": {
|
|
"luci.mitmproxy": ["status", "settings"]
|
|
},
|
|
"uci": ["mitmproxy"]
|
|
},
|
|
"write": {
|
|
"ubus": {
|
|
"luci.mitmproxy": [
|
|
"install",
|
|
"start",
|
|
"stop",
|
|
"restart",
|
|
"save_settings",
|
|
"set_mode",
|
|
"setup_firewall",
|
|
"clear_firewall"
|
|
]
|
|
},
|
|
"uci": ["mitmproxy"]
|
|
}
|
|
}
|
|
}
|