mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-14 19:41:51 +00:00
Add ACL for all apps
This commit is contained in:
parent
6f1b4204eb
commit
9a1a341121
16 changed files with 163 additions and 3 deletions
11
luci-app-dsvpn/root/usr/share/rpcd/acl.d/luci-app-dsvpn.json
Normal file
11
luci-app-dsvpn/root/usr/share/rpcd/acl.d/luci-app-dsvpn.json
Normal file
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"luci-app-dsvpn": {
|
||||
"description": "Grant UCI access for luci-app-dsvpn",
|
||||
"read": {
|
||||
"uci": [ "dsvpn" ]
|
||||
},
|
||||
"write": {
|
||||
"uci": [ "dsvpn" ]
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"luci-app-glorytun": {
|
||||
"description": "Grant UCI access for luci-app-glorytun",
|
||||
"read": {
|
||||
"uci": [ "glorytun" ]
|
||||
},
|
||||
"write": {
|
||||
"uci": [ "glorytun" ]
|
||||
}
|
||||
}
|
||||
}
|
|
@ -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" ]
|
||||
}
|
||||
}
|
||||
}
|
11
luci-app-iperf/root/usr/share/rpcd/acl.d/luci-app-iperf.json
Normal file
11
luci-app-iperf/root/usr/share/rpcd/acl.d/luci-app-iperf.json
Normal file
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"luci-app-iperf": {
|
||||
"description": "Grant UCI access for luci-app-iperf",
|
||||
"read": {
|
||||
"uci": [ "iperf" ]
|
||||
},
|
||||
"write": {
|
||||
"uci": [ "iperf" ]
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"luci-app-macvlan": {
|
||||
"description": "Grant UCI access for luci-app-macvlan",
|
||||
"read": {
|
||||
"uci": [ "macvlan" ]
|
||||
},
|
||||
"write": {
|
||||
"uci": [ "macvlan" ]
|
||||
}
|
||||
}
|
||||
}
|
11
luci-app-mail/root/usr/share/rpcd/acl.d/luci-app-mail.json
Normal file
11
luci-app-mail/root/usr/share/rpcd/acl.d/luci-app-mail.json
Normal file
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"luci-app-mail": {
|
||||
"description": "Grant UCI access for luci-app-mail",
|
||||
"read": {
|
||||
"uci": [ "mail" ]
|
||||
},
|
||||
"write": {
|
||||
"uci": [ "mail" ]
|
||||
}
|
||||
}
|
||||
}
|
11
luci-app-mlvpn/root/usr/share/rpcd/acl.d/luci-app-mlvpn.json
Normal file
11
luci-app-mlvpn/root/usr/share/rpcd/acl.d/luci-app-mlvpn.json
Normal file
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"luci-app-mlvpn": {
|
||||
"description": "Grant UCI access for luci-app-mlvpn",
|
||||
"read": {
|
||||
"uci": [ "mlvpn" ]
|
||||
},
|
||||
"write": {
|
||||
"uci": [ "mlvpn" ]
|
||||
}
|
||||
}
|
||||
}
|
11
luci-app-mptcp/root/usr/share/rpcd/acl.d/luci-app-mptcp.json
Normal file
11
luci-app-mptcp/root/usr/share/rpcd/acl.d/luci-app-mptcp.json
Normal file
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"luci-app-mptcp": {
|
||||
"description": "Grant UCI access for luci-app-mptcp",
|
||||
"read": {
|
||||
"uci": [ "openmptcprouter", "network" ]
|
||||
},
|
||||
"write": {
|
||||
"uci": [ "openmptcprouter", "network" ]
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"luci-app-nginx-ha": {
|
||||
"description": "Grant UCI access for luci-app-nginx-ha",
|
||||
"read": {
|
||||
"uci": [ "nginx-ha" ]
|
||||
},
|
||||
"write": {
|
||||
"uci": [ "nginx-ha" ]
|
||||
}
|
||||
}
|
||||
}
|
|
@ -5,7 +5,11 @@
|
|||
"file": {
|
||||
"/proc/net/xt_ndpi/proto": [ "read" ],
|
||||
"/proc/net/xt_ndpi/host_proto": [ "read" ],
|
||||
}
|
||||
},
|
||||
"uci": [ "omr-bypass" ]
|
||||
}
|
||||
"write": {
|
||||
"uci": [ "omr-bypass" ]
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"luci-app-dscp": {
|
||||
"description": "Grant UCI access for luci-app-dscp",
|
||||
"read": {
|
||||
"uci": [ "dscp" ]
|
||||
},
|
||||
"write": {
|
||||
"uci": [ "dscp" ]
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"luci-app-omr-quota": {
|
||||
"description": "Grant UCI access for luci-app-omr-quota",
|
||||
"read": {
|
||||
"uci": [ "omr-quota" ]
|
||||
},
|
||||
"write": {
|
||||
"uci": [ "omr-quota" ]
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"luci-app-omr-tracker": {
|
||||
"description": "Grant UCI access for luci-app-omr-tracker",
|
||||
"read": {
|
||||
"uci": [ "omr-tracker" ]
|
||||
},
|
||||
"write": {
|
||||
"uci": [ "omr-tracker" ]
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"luci-app-openmptcprouter": {
|
||||
"description": "Grant UCI access for luci-app-openmptcprouter",
|
||||
"read": {
|
||||
"uci": [ "'*" ]
|
||||
},
|
||||
"write": {
|
||||
"uci": [ "'*" ]
|
||||
}
|
||||
}
|
||||
}
|
|
@ -4,12 +4,14 @@
|
|||
"read": {
|
||||
"ubus": {
|
||||
"service": [ "list" ]
|
||||
}
|
||||
},
|
||||
"uci": [ "shadowsocks-libev" ]
|
||||
},
|
||||
"write": {
|
||||
"file": {
|
||||
"/etc/shadowsocks-libev/*": [ "write" ]
|
||||
}
|
||||
},
|
||||
"uci": [ "shadowsocks-libev" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
11
luci-app-snmpd/root/usr/share/rpcd/acl.d/luci-app-snmpd.json
Normal file
11
luci-app-snmpd/root/usr/share/rpcd/acl.d/luci-app-snmpd.json
Normal file
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"luci-app-snmpd": {
|
||||
"description": "Grant UCI access for luci-app-snmpd",
|
||||
"read": {
|
||||
"uci": [ "snmpd" ]
|
||||
},
|
||||
"write": {
|
||||
"uci": [ "snmpd" ]
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue