summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/root
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2019-12-18 21:57:01 +0100
committerJo-Philipp Wich <jo@mein.io>2019-12-22 23:20:23 +0100
commit43a4481e103d764d6f656f2ed1f5c57f8580858e (patch)
treea42cb13f38f5ffb3c2984fc9f0442b532c406dd7 /modules/luci-base/root
parente144356e5e74be6b845e8296c0fba775df986ee0 (diff)
luci-mod-status: replace iptables controller actions with cgi-io calls
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-base/root')
-rw-r--r--modules/luci-base/root/usr/share/rpcd/acl.d/luci-base.json4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/luci-base/root/usr/share/rpcd/acl.d/luci-base.json b/modules/luci-base/root/usr/share/rpcd/acl.d/luci-base.json
index 298b5ed336..a7d3edaf2e 100644
--- a/modules/luci-base/root/usr/share/rpcd/acl.d/luci-base.json
+++ b/modules/luci-base/root/usr/share/rpcd/acl.d/luci-base.json
@@ -48,7 +48,9 @@
"/usr/bin/traceroute *": [ "exec" ],
"/usr/bin/traceroute6 *": [ "exec" ],
"/usr/bin/nslookup *": [ "exec" ],
- "/usr/libexec/luci-peeraddr": [ "exec" ]
+ "/usr/libexec/luci-peeraddr": [ "exec" ],
+ "/usr/sbin/iptables --line-numbers -w -nvxL -t *": [ "exec" ],
+ "/usr/sbin/ip6tables --line-numbers -w -nvxL -t *": [ "exec" ]
},
"ubus": {
"file": [ "list", "read", "stat" ],