mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-31 18:25:13 +08:00
💋 Sync 2026-10-04 04:16:09
This commit is contained in:
1 parent
f6b2df73ec
commit
f62992fd80
745 files changed
+212416
-1173
No files matched your search
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
rm -f /var/luci-indexcache.*.json
|
||||
[ -x "/etc/init.d/rpcd" ] && /etc/init.d/rpcd reload
|
||||
exit 0
|
||||
@@ -0,0 +1,88 @@
|
||||
{
|
||||
"admin/services/secbox": {
|
||||
"title": "SecBox",
|
||||
"order": "60",
|
||||
"action": {
|
||||
"type": "alias",
|
||||
"path": "admin/services/secbox/overview"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [
|
||||
"luci-app-secbox"
|
||||
],
|
||||
"fs": {
|
||||
"/usr/bin/banip-service.sh": "executable",
|
||||
"/etc/init.d/banip": "executable",
|
||||
"/etc/banip/banip.feeds": "file",
|
||||
"/etc/banip/banip.countries": "file"
|
||||
},
|
||||
"uci": {
|
||||
"banip": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"admin/services/secbox/overview": {
|
||||
"title": "Overview",
|
||||
"order": 10,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "secbox/overview"
|
||||
}
|
||||
},
|
||||
"admin/services/secbox/settings": {
|
||||
"title": "Configuration",
|
||||
"order": 20,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "secbox/settings"
|
||||
}
|
||||
},
|
||||
"admin/services/secbox/allowlist": {
|
||||
"title": "Allowlist",
|
||||
"order": 30,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "secbox/allowlist"
|
||||
}
|
||||
},
|
||||
"admin/services/secbox/blocklist": {
|
||||
"title": "Blocklist",
|
||||
"order": 40,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "secbox/blocklist"
|
||||
}
|
||||
},
|
||||
"admin/services/secbox/feeds": {
|
||||
"title": "Custom Feeds",
|
||||
"order": 50,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "secbox/feeds"
|
||||
}
|
||||
},
|
||||
"admin/services/secbox/setreport": {
|
||||
"title": "Set Reporting",
|
||||
"order": 60,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "secbox/setreport"
|
||||
}
|
||||
},
|
||||
"admin/services/secbox/firewall_log": {
|
||||
"title": "Firewall Log",
|
||||
"order": 70,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "secbox/firewall_log"
|
||||
}
|
||||
},
|
||||
"admin/services/secbox/processing_log": {
|
||||
"title": "Processing Log",
|
||||
"order": 80,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "secbox/processing_log"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,112 @@
|
||||
{
|
||||
"luci-app-secbox": {
|
||||
"description": "Grant access to LuCI app SecBox",
|
||||
"write": {
|
||||
"cgi-io": [
|
||||
"upload"
|
||||
],
|
||||
"ubus": {
|
||||
"file": [
|
||||
"write"
|
||||
]
|
||||
},
|
||||
"uci": [
|
||||
"banip"
|
||||
],
|
||||
"file": {
|
||||
"/etc/banip/banip.allowlist": [
|
||||
"write"
|
||||
],
|
||||
"/etc/banip/banip.blocklist": [
|
||||
"write"
|
||||
],
|
||||
"/etc/banip/banip.custom.feeds": [
|
||||
"write"
|
||||
],
|
||||
"/var/run/banIP/banIP.search": [
|
||||
"write"
|
||||
],
|
||||
"/tmp/run/banIP/banIP.search": [
|
||||
"write"
|
||||
],
|
||||
"/var/run/banIP/banIP.report": [
|
||||
"write"
|
||||
],
|
||||
"/tmp/run/banIP/banIP.report": [
|
||||
"write"
|
||||
]
|
||||
}
|
||||
},
|
||||
"read": {
|
||||
"cgi-io": [
|
||||
"download",
|
||||
"exec"
|
||||
],
|
||||
"file": {
|
||||
"/etc/banip/*": [
|
||||
"read",
|
||||
"list"
|
||||
],
|
||||
"/var/run/banIP/banIP.runtime.json": [
|
||||
"read",
|
||||
"list"
|
||||
],
|
||||
"/tmp/run/banIP/banIP.runtime.json": [
|
||||
"read",
|
||||
"list"
|
||||
],
|
||||
"/var/run/banIP/banIP.search": [
|
||||
"read"
|
||||
],
|
||||
"/tmp/run/banIP/banIP.search": [
|
||||
"read"
|
||||
],
|
||||
"/var/run/banIP/banIP.report": [
|
||||
"read"
|
||||
],
|
||||
"/tmp/run/banIP/banIP.report": [
|
||||
"read"
|
||||
],
|
||||
"/usr/sbin/nft -tj list sets": [
|
||||
"exec"
|
||||
],
|
||||
"/etc/init.d/banip stop": [
|
||||
"exec"
|
||||
],
|
||||
"/etc/init.d/banip reload": [
|
||||
"exec"
|
||||
],
|
||||
"/etc/init.d/banip restart": [
|
||||
"exec"
|
||||
],
|
||||
"/etc/init.d/banip actual": [
|
||||
"exec"
|
||||
],
|
||||
"/etc/init.d/banip report json": [
|
||||
"exec"
|
||||
],
|
||||
"/etc/init.d/banip report gen": [
|
||||
"exec"
|
||||
],
|
||||
"/etc/init.d/banip search *": [
|
||||
"exec"
|
||||
],
|
||||
"/etc/init.d/banip content *": [
|
||||
"exec"
|
||||
]
|
||||
},
|
||||
"ubus": {
|
||||
"file": [
|
||||
"read",
|
||||
"stat"
|
||||
]
|
||||
},
|
||||
"uci": [
|
||||
"banip"
|
||||
],
|
||||
"log": [
|
||||
"read"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user