diff options
author | Dirk Brenken <dev@brenken.org> | 2023-11-05 09:47:57 +0100 |
---|---|---|
committer | Dirk Brenken <dev@brenken.org> | 2023-11-05 09:47:57 +0100 |
commit | b23b00e47800a261e7b6ff32ff66a0618a5aaadf (patch) | |
tree | 9be229e7e727c41b737d8a67b6e0dd8bd4d4c8a4 /applications/luci-app-banip/htdocs/luci-static/resources/view/banip/overview.js | |
parent | 574caf9039f6762e23687fb0bab7c3e0f72f7fa8 (diff) |
luci-app-banip: sync with banIP 0.9.2-1
* add the new logfile location option
* sync translations
Signed-off-by: Dirk Brenken <dev@brenken.org>
Diffstat (limited to 'applications/luci-app-banip/htdocs/luci-static/resources/view/banip/overview.js')
-rw-r--r-- | applications/luci-app-banip/htdocs/luci-static/resources/view/banip/overview.js | 10 |
1 files changed, 7 insertions, 3 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 785289e2db..adefc3b18d 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 @@ -269,14 +269,14 @@ return view.extend({ o.optional = true; o.retain = true; - o = s.taboption('general', widgets.NetworkSelect, 'ban_ifv4', _('Network Interfaces'), _('Select the logical WAN IPv4 network interface(s).')); + o = s.taboption('general', widgets.NetworkSelect, 'ban_ifv4', _('IPv4 Network Interfaces'), _('Select the logical WAN IPv4 network interface(s).')); o.depends('ban_autodetect', '0'); o.multiple = true; o.nocreate = true; o.optional = true; o.retain = true; - o = s.taboption('general', widgets.NetworkSelect, 'ban_ifv6', _('Network Interfaces'), _('Select the logical WAN IPv6 network interface(s).')); + o = s.taboption('general', widgets.NetworkSelect, 'ban_ifv6', _('IPv6 Network Interfaces'), _('Select the logical WAN IPv6 network interface(s).')); o.depends('ban_autodetect', '0'); o.multiple = true; o.nocreate = true; @@ -473,7 +473,7 @@ return view.extend({ o.rawhtml = true; o.default = '<em><b>' + _('Changes on this tab needs a banIP service restart to take effect.') + '</b></em>'; - o = s.taboption('adv_log', form.ListValue, 'ban_nftloglevel', _('Log Level'), _('Set the syslog level for NFT logging.')); + o = s.taboption('adv_log', form.ListValue, 'ban_nftloglevel', _('NFT Log Level'), _('Set the syslog level for NFT logging.')); o.value('emerg', _('emerg')); o.value('alert', _('alert')); o.value('crit', _('crit')); @@ -496,6 +496,10 @@ return view.extend({ o = s.taboption('adv_log', form.Flag, 'ban_logforwardlan', _('Log LAN-Forward'), _('Log suspicious forwarded LAN packets (rejected).')); o.rmempty = false; + o = s.taboption('adv_log', form.Value, 'ban_logreadfile', _('Logfile Location'), _('Location for parsing the log file, e.g. via syslog-ng, to deactivate the standard parsing via logread.')); + o.placeholder = '/var/log/messages'; + o.rmempty = true; + o = s.taboption('adv_log', form.ListValue, 'ban_loglimit', _('Log Limit'), _('Parse only the last stated number of log entries for suspicious events. To disable the log monitor at all set it to \'0\'.')); o.value('0', _('0 (disable)')); o.value('50', _('50')); |