summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-banip/htdocs/luci-static/resources/view/banip
diff options
context:
space:
mode:
authorDirk Brenken <dev@brenken.org>2023-06-05 17:43:59 +0200
committerDirk Brenken <dev@brenken.org>2023-06-05 17:43:59 +0200
commite245c9c280ad53f0b796614a0b259c9551a620b3 (patch)
tree3f2d5fe5c902477091c1496678aace6b0e50f3f3 /applications/luci-app-banip/htdocs/luci-static/resources/view/banip
parent55e89d2d7ecf2e729e4a01e11eedbb2c37db39e0 (diff)
luci-app-banip: sync with banIP 0.8.7-1
* make new option 'ban_autoblocksubnet' available * sync translations Signed-off-by: Dirk Brenken <dev@brenken.org>
Diffstat (limited to 'applications/luci-app-banip/htdocs/luci-static/resources/view/banip')
-rw-r--r--applications/luci-app-banip/htdocs/luci-static/resources/view/banip/overview.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/applications/luci-app-banip/htdocs/luci-static/resources/view/banip/overview.js b/applications/luci-app-banip/htdocs/luci-static/resources/view/banip/overview.js
index 7e1c9aa6f1..bbcb27cfd3 100644
--- a/applications/luci-app-banip/htdocs/luci-static/resources/view/banip/overview.js
+++ b/applications/luci-app-banip/htdocs/luci-static/resources/view/banip/overview.js
@@ -363,7 +363,7 @@ return view.extend({
o.optional = true;
o.rmempty = true;
- o = s.taboption('advanced', form.ListValue, 'ban_splitsize', _('Set Split Size'), _('Split external set loading after every n members to save RAM.'));
+ o = s.taboption('advanced', form.ListValue, 'ban_splitsize', _('Set Split Size'), _('Split external Set loading after every n members to save RAM.'));
o.value('256');
o.value('512');
o.value('1024');
@@ -609,6 +609,11 @@ return view.extend({
o.default = 1
o.rmempty = false;
+ o = s.taboption('feeds', form.Flag, 'ban_autoblocksubnet', _('Auto Block Subnet'), _('Automatically add entire subnets to the blocklist Set based on an additional RDAP request with the suspicious IP.'));
+ o.default = 0
+ o.optional = true;
+ o.rmempty = true;
+
o = s.taboption('feeds', form.ListValue, 'ban_nftexpiry', _('Blocklist Set Expiry'), _('Expiry time for auto added blocklist Set members.'));
o.value('10s');
o.value('1m');