treewide: stage ACL rules for legacy applications

Fixes: #3866
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 43e872871a)
This commit is contained in:
Jo-Philipp Wich 2020-04-10 23:21:35 +02:00
parent ccd9d67598
commit ecd49247eb
54 changed files with 589 additions and 2 deletions

View file

@ -0,0 +1,11 @@
{
"luci-app-ahcp": {
"description": "Grant UCI access for luci-app-ahcp",
"read": {
"uci": [ "ahcpd" ]
},
"write": {
"uci": [ "ahcpd" ]
}
}
}

View file

@ -0,0 +1,11 @@
{
"luci-app-aria2": {
"description": "Grant UCI access for luci-app-aria2",
"read": {
"uci": [ "aria2" ]
},
"write": {
"uci": [ "aria2" ]
}
}
}

View file

@ -0,0 +1,11 @@
{
"luci-app-banip": {
"description": "Grant UCI access for luci-app-banip",
"read": {
"uci": [ "banip" ]
},
"write": {
"uci": [ "banip" ]
}
}
}

View file

@ -0,0 +1,11 @@
{
"luci-app-bcp38": {
"description": "Grant UCI access for luci-app-bcp38",
"read": {
"uci": [ "bcp38" ]
},
"write": {
"uci": [ "bcp38" ]
}
}
}

View file

@ -0,0 +1,11 @@
{
"luci-app-clamav": {
"description": "Grant UCI access for luci-app-clamav",
"read": {
"uci": [ "clamav" ]
},
"write": {
"uci": [ "clamav" ]
}
}
}

View file

@ -0,0 +1,11 @@
{
"luci-app-commands": {
"description": "Grant UCI access for luci-app-commands",
"read": {
"uci": [ "luci" ]
},
"write": {
"uci": [ "luci" ]
}
}
}

View file

@ -0,0 +1,11 @@
{
"luci-app-coovachilli": {
"description": "Grant UCI access for luci-app-coovachilli",
"read": {
"uci": [ "coovachilli" ]
},
"write": {
"uci": [ "coovachilli" ]
}
}
}

View file

@ -0,0 +1,11 @@
{
"luci-app-cshark": {
"description": "Grant UCI access for luci-app-cshark",
"read": {
"uci": [ "cshark" ]
},
"write": {
"uci": [ "cshark" ]
}
}
}

View file

@ -0,0 +1,11 @@
{
"luci-app-dawn": {
"description": "Grant UCI access for luci-app-dawn",
"read": {
"uci": [ "dawn" ]
},
"write": {
"uci": [ "dawn" ]
}
}
}

View file

@ -0,0 +1,11 @@
{
"luci-app-dcwapd": {
"description": "Grant UCI access for luci-app-dcwapd",
"read": {
"uci": [ "dcwapd" ]
},
"write": {
"uci": [ "dcwapd" ]
}
}
}

View file

@ -0,0 +1,11 @@
{
"luci-app-dnscrypt-proxy": {
"description": "Grant UCI access for luci-app-dnscrypt-proxy",
"read": {
"uci": [ "dhcp", "dnscrypt-proxy" ]
},
"write": {
"uci": [ "dhcp", "dnscrypt-proxy" ]
}
}
}

View file

@ -0,0 +1,11 @@
{
"luci-app-dump1090": {
"description": "Grant UCI access for luci-app-dump1090",
"read": {
"uci": [ "dump1090" ]
},
"write": {
"uci": [ "dump1090" ]
}
}
}

View file

@ -0,0 +1,11 @@
{
"luci-app-dynapoint": {
"description": "Grant UCI access for luci-app-dynapoint",
"read": {
"uci": [ "dynapoint", "wireless" ]
},
"write": {
"uci": [ "dynapoint", "wireless" ]
}
}
}

View file

@ -1,11 +1,15 @@
{
"luci-app-openvpn": {
"description": "Grant file upload access to /etc/openvpn",
"description": "Grant access to OpenVPN configuration",
"read": {
"uci": [ "openvpn" ]
},
"write": {
"cgi-io": [ "upload" ],
"file": {
"/etc/openvpn/*": [ "write" ]
}
},
"uci": [ "openvpn" ]
}
}
}

View file

@ -0,0 +1,11 @@
{
"luci-app-fwknopd": {
"description": "Grant UCI access for luci-app-fwknopd",
"read": {
"uci": [ "fwknopd" ]
},
"write": {
"uci": [ "fwknopd" ]
}
}
}

View file

@ -0,0 +1,11 @@
{
"luci-app-hd-idle": {
"description": "Grant UCI access for luci-app-hd-idle",
"read": {
"uci": [ "hd-idle" ]
},
"write": {
"uci": [ "hd-idle" ]
}
}
}

View file

@ -0,0 +1,11 @@
{
"luci-app-https-dns-proxy": {
"description": "Grant UCI access for luci-app-https-dns-proxy",
"read": {
"uci": [ "https-dns-proxy" ]
},
"write": {
"uci": [ "https-dns-proxy" ]
}
}
}

View file

@ -0,0 +1,11 @@
{
"luci-app-ltqtapi": {
"description": "Grant UCI access for luci-app-ltqtapi",
"read": {
"uci": [ "telephony" ]
},
"write": {
"uci": [ "telephony" ]
}
}
}

View file

@ -0,0 +1,11 @@
{
"luci-app-lxc": {
"description": "Grant UCI access for luci-app-lxc",
"read": {
"uci": [ "lxc" ]
},
"write": {
"uci": [ "lxc" ]
}
}
}

View file

@ -0,0 +1,11 @@
{
"luci-app-mjpg-streamer": {
"description": "Grant UCI access for luci-app-mjpg-streamer",
"read": {
"uci": [ "mjpg-streamer" ]
},
"write": {
"uci": [ "mjpg-streamer" ]
}
}
}

View file

@ -0,0 +1,11 @@
{
"luci-app-mosquitto": {
"description": "Grant UCI access for luci-app-mosquitto",
"read": {
"uci": [ "mosquitto" ]
},
"write": {
"uci": [ "mosquitto" ]
}
}
}

View file

@ -0,0 +1,11 @@
{
"luci-app-mwan3": {
"description": "Grant UCI access for luci-app-mwan3",
"read": {
"uci": [ "mwan3" ]
},
"write": {
"uci": [ "mwan3" ]
}
}
}

View file

@ -0,0 +1,11 @@
{
"luci-app-nft-qos": {
"description": "Grant UCI access for luci-app-nft-qos",
"read": {
"uci": [ "nft-qos" ]
},
"write": {
"uci": [ "nft-qos" ]
}
}
}

View file

@ -0,0 +1,11 @@
{
"luci-app-nlbwmon": {
"description": "Grant UCI access for luci-app-nlbwmon",
"read": {
"uci": [ "nlbwmon" ]
},
"write": {
"uci": [ "nlbwmon" ]
}
}
}

View file

@ -0,0 +1,11 @@
{
"luci-app-noddos": {
"description": "Grant UCI access for luci-app-noddos",
"read": {
"uci": [ "noddos" ]
},
"write": {
"uci": [ "noddos" ]
}
}
}

View file

@ -0,0 +1,11 @@
{
"luci-app-ntpc": {
"description": "Grant UCI access for luci-app-ntpc",
"read": {
"uci": [ "ntpclient" ]
},
"write": {
"uci": [ "ntpclient" ]
}
}
}

View file

@ -0,0 +1,11 @@
{
"luci-app-nut": {
"description": "Grant UCI access for luci-app-nut",
"read": {
"uci": [ "nut_cgi", "nut_monitor", "nut_server" ]
},
"write": {
"uci": [ "nut_cgi", "nut_monitor", "nut_server" ]
}
}
}

View file

@ -0,0 +1,11 @@
{
"luci-app-ocserv": {
"description": "Grant UCI access for luci-app-ocserv",
"read": {
"uci": [ "ocserv" ]
},
"write": {
"uci": [ "ocserv" ]
}
}
}

View file

@ -0,0 +1,11 @@
{
"luci-app-olsr": {
"description": "Grant UCI access for luci-app-olsr",
"read": {
"uci": [ "luci_olsr", "olsrd", "olsrd6" ]
},
"write": {
"uci": [ "luci_olsr", "olsrd", "olsrd6" ]
}
}
}

View file

@ -0,0 +1,11 @@
{
"luci-app-p910nd": {
"description": "Grant UCI access for luci-app-p910nd",
"read": {
"uci": [ "p910nd" ]
},
"write": {
"uci": [ "p910nd" ]
}
}
}

View file

@ -0,0 +1,11 @@
{
"luci-app-polipo": {
"description": "Grant UCI access for luci-app-polipo",
"read": {
"uci": [ "polipo" ]
},
"write": {
"uci": [ "polipo" ]
}
}
}

View file

@ -0,0 +1,11 @@
{
"luci-app-privoxy": {
"description": "Grant UCI access for luci-app-privoxy",
"read": {
"uci": [ "privoxy" ]
},
"write": {
"uci": [ "privoxy" ]
}
}
}

View file

@ -0,0 +1,11 @@
{
"luci-app-qos": {
"description": "Grant UCI access for luci-app-qos",
"read": {
"uci": [ "qos" ]
},
"write": {
"uci": [ "qos" ]
}
}
}

View file

@ -0,0 +1,11 @@
{
"luci-app-radicale": {
"description": "Grant UCI access for luci-app-radicale",
"read": {
"uci": [ "radicale" ]
},
"write": {
"uci": [ "radicale" ]
}
}
}

View file

@ -0,0 +1,11 @@
{
"luci-app-radicale2": {
"description": "Grant UCI access for luci-app-radicale2",
"read": {
"uci": [ "radicale2" ]
},
"write": {
"uci": [ "radicale2" ]
}
}
}

View file

@ -0,0 +1,11 @@
{
"luci-app-rosy-file-server": {
"description": "Grant UCI access for luci-app-rosy-file-server",
"read": {
"uci": [ "rosyfs" ]
},
"write": {
"uci": [ "rosyfs" ]
}
}
}

View file

@ -0,0 +1,11 @@
{
"luci-app-rp-pppoe-server": {
"description": "Grant UCI access for luci-app-rp-pppoe-server",
"read": {
"uci": [ "pppoe" ]
},
"write": {
"uci": [ "pppoe" ]
}
}
}

View file

@ -0,0 +1,11 @@
{
"luci-app-samba": {
"description": "Grant UCI access for luci-app-samba",
"read": {
"uci": [ "samba" ]
},
"write": {
"uci": [ "samba" ]
}
}
}

View file

@ -0,0 +1,11 @@
{
"luci-app-shairplay": {
"description": "Grant UCI access for luci-app-shairplay",
"read": {
"uci": [ "shairplay" ]
},
"write": {
"uci": [ "shairplay" ]
}
}
}

View file

@ -0,0 +1,11 @@
{
"luci-app-simple-adblock": {
"description": "Grant UCI access for luci-app-simple-adblock",
"read": {
"uci": [ "simple-adblock" ]
},
"write": {
"uci": [ "simple-adblock" ]
}
}
}

View file

@ -0,0 +1,11 @@
{
"luci-app-snmpd": {
"description": "Grant UCI access for luci-app-snmpd",
"read": {
"uci": [ "snmpd" ]
},
"write": {
"uci": [ "snmpd" ]
}
}
}

View file

@ -0,0 +1,11 @@
{
"luci-app-splash": {
"description": "Grant UCI access for luci-app-splash",
"read": {
"uci": [ "luci_splash" ]
},
"write": {
"uci": [ "luci_splash" ]
}
}
}

View file

@ -0,0 +1,11 @@
{
"luci-app-sqm": {
"description": "Grant UCI access for luci-app-sqm",
"read": {
"uci": [ "sqm" ]
},
"write": {
"uci": [ "sqm" ]
}
}
}

View file

@ -0,0 +1,11 @@
{
"luci-app-squid": {
"description": "Grant UCI access for luci-app-squid",
"read": {
"uci": [ "squid" ]
},
"write": {
"uci": [ "squid" ]
}
}
}

View file

@ -0,0 +1,11 @@
{
"luci-app-tinyproxy": {
"description": "Grant UCI access for luci-app-tinyproxy",
"read": {
"uci": [ "tinyproxy" ]
},
"write": {
"uci": [ "tinyproxy" ]
}
}
}

View file

@ -0,0 +1,11 @@
{
"luci-app-travelmate": {
"description": "Grant UCI access for luci-app-travelmate",
"read": {
"uci": [ "travelmate" ]
},
"write": {
"uci": [ "travelmate" ]
}
}
}

View file

@ -0,0 +1,11 @@
{
"luci-app-udpxy": {
"description": "Grant UCI access for luci-app-udpxy",
"read": {
"uci": [ "udpxy" ]
},
"write": {
"uci": [ "udpxy" ]
}
}
}

View file

@ -0,0 +1,11 @@
{
"luci-app-uhttpd": {
"description": "Grant UCI access for luci-app-uhttpd",
"read": {
"uci": [ "uhttpd" ]
},
"write": {
"uci": [ "uhttpd" ]
}
}
}

View file

@ -0,0 +1,11 @@
{
"luci-app-unbound": {
"description": "Grant UCI access for luci-app-unbound",
"read": {
"uci": [ "unbound" ]
},
"write": {
"uci": [ "unbound" ]
}
}
}

View file

@ -0,0 +1,11 @@
{
"luci-app-vnstat": {
"description": "Grant UCI access for luci-app-vnstat",
"read": {
"uci": [ "vnstat" ]
},
"write": {
"uci": [ "vnstat" ]
}
}
}

View file

@ -0,0 +1,11 @@
{
"luci-app-vpn-policy-routing": {
"description": "Grant UCI access for luci-app-vpn-policy-routing",
"read": {
"uci": [ "vpn-policy-routing" ]
},
"write": {
"uci": [ "vpn-policy-routing" ]
}
}
}

View file

@ -0,0 +1,11 @@
{
"luci-app-vpnbypass": {
"description": "Grant UCI access for luci-app-vpnbypass",
"read": {
"uci": [ "dhcp", "vpnbypass" ]
},
"write": {
"uci": [ "dhcp", "vpnbypass" ]
}
}
}

View file

@ -0,0 +1,11 @@
{
"luci-app-watchcat": {
"description": "Grant UCI access for luci-app-watchcat",
"read": {
"uci": [ "system" ]
},
"write": {
"uci": [ "system" ]
}
}
}

View file

@ -0,0 +1,11 @@
{
"luci-app-wifischedule": {
"description": "Grant UCI access for luci-app-wifischedule",
"read": {
"uci": [ "wifi_schedule" ]
},
"write": {
"uci": [ "wifi_schedule" ]
}
}
}