diff options
author | Stan Grishin <stangri@melmac.net> | 2020-05-30 11:40:54 +0000 |
---|---|---|
committer | Stan Grishin <stangri@melmac.net> | 2020-05-30 11:40:54 +0000 |
commit | b92be52d89d6cb21a3f3a114a006d173d1598433 (patch) | |
tree | 41b40910bb91f83ed7237821b2781a58d85001d7 /applications/luci-app-https-dns-proxy/root | |
parent | 704241de771aac6e89f4d2e9309ea0731811fca3 (diff) |
luci-app-https-dns-proxy: decrease reliance on shell commands; proper acl.d file; add cloudflare family/protect
Signed-off-by: Stan Grishin <stangri@melmac.net>
Diffstat (limited to 'applications/luci-app-https-dns-proxy/root')
-rw-r--r-- | applications/luci-app-https-dns-proxy/root/usr/share/rpcd/acl.d/luci-app-https-dns-proxy.json | 27 |
1 files changed, 24 insertions, 3 deletions
diff --git a/applications/luci-app-https-dns-proxy/root/usr/share/rpcd/acl.d/luci-app-https-dns-proxy.json b/applications/luci-app-https-dns-proxy/root/usr/share/rpcd/acl.d/luci-app-https-dns-proxy.json index 0886cc885..bcd4c5fd7 100644 --- a/applications/luci-app-https-dns-proxy/root/usr/share/rpcd/acl.d/luci-app-https-dns-proxy.json +++ b/applications/luci-app-https-dns-proxy/root/usr/share/rpcd/acl.d/luci-app-https-dns-proxy.json @@ -1,11 +1,32 @@ { "luci-app-https-dns-proxy": { - "description": "Grant UCI access for luci-app-https-dns-proxy", + "description": "Grant UCI and file access for luci-app-https-dns-proxy", "read": { - "uci": [ "https-dns-proxy" ] + "cgi-io": [ + "exec" + ], + "file": { + "/usr/lib/opkg/status": [ + "read" + ], + "/usr/lib/lua/luci/https-dns-proxy/providers/*": [ + "read" + ], + "/etc/init.d/dnsmasq *": [ + "exec" + ], + "/etc/init.d/https-dns-proxy *": [ + "exec" + ] + }, + "uci": [ + "https-dns-proxy" + ] }, "write": { - "uci": [ "https-dns-proxy" ] + "uci": [ + "https-dns-proxy" + ] } } } |