summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-banip/htdocs/luci-static/resources/view/banip
diff options
context:
space:
mode:
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.js16
1 files changed, 16 insertions, 0 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 60e5025c11..87c232c580 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
@@ -676,9 +676,25 @@ return view.extend({
o.value('dropbear');
o.value('sshd');
o.value('luci');
+ o.value('nginx');
o.optional = true;
o.rmempty = true;
+ o = s.taboption('adv_log', form.Value, 'ban_ssh_logcount', _('SSH Log Count'), _('Number of the failed ssh login repetitions of the same ip in the log before banning.'));
+ o.placeholder = '3';
+ o.datatype = 'range(1,10)';
+ o.rmempty = true;
+
+ o = s.taboption('adv_log', form.Value, 'ban_luci_logcount', _('LuCI Log Count'), _('Number of the failed LuCI login repetitions of the same ip in the log before banning.'));
+ o.placeholder = '3';
+ o.datatype = 'range(1,10)';
+ o.rmempty = true;
+
+ o = s.taboption('adv_log', form.Value, 'ban_nginx_logcount', _('NGINX Log Count'), _('Number of the failed nginx requests of the same ip in the log before banning.'));
+ o.placeholder = '5';
+ o.datatype = 'range(1,20)';
+ o.rmempty = true;
+
o = s.taboption('adv_log', form.Value, 'ban_logopts_src', _('SRC Log Options'), _('Set special SRC log options, e.g. to set a limit rate.'));
o.nocreate = false;
o.unspecified = true;