Skip to content

Commit

Permalink
luci-app-banip: sync with forthcoming banIP 1.0
Browse files Browse the repository at this point in the history
Signed-off-by: Dirk Brenken <[email protected]>
  • Loading branch information
dibdot committed Jun 7, 2024
1 parent 5292eff commit 2331147
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ return view.extend({
o.optional = true;
o.rmempty = true;

o = s.taboption('adv_chain', form.ListValue, 'ban_icmplimit', _('ICMP-Threshold'), _('ICMP-Threshold in packets per second to prevent WAN-DDoS attacks. To disable this safeguard set it to \'0\'.'));
o = s.taboption('adv_chain', form.ListValue, 'ban_icmplimit', _('ICMP-Threshold'), _('ICMP-Threshold in packets per second to prevent WAN-DoS attacks. To disable this safeguard set it to \'0\'.'));
o.value('0');
o.value('10');
o.value('50');
Expand All @@ -452,7 +452,7 @@ return view.extend({
o.optional = true;
o.rmempty = true;

o = s.taboption('adv_chain', form.ListValue, 'ban_synlimit', _('SYN-Threshold'), _('SYN-Threshold in packets per second to prevent WAN-DDoS attacks. To disable this safeguard set it to \'0\'.'));
o = s.taboption('adv_chain', form.ListValue, 'ban_synlimit', _('SYN-Threshold'), _('SYN-Threshold in packets per second to prevent WAN-DoS attacks. To disable this safeguard set it to \'0\'.'));
o.value('0');
o.value('10');
o.value('50');
Expand All @@ -466,7 +466,7 @@ return view.extend({
o.optional = true;
o.rmempty = true;

o = s.taboption('adv_chain', form.ListValue, 'ban_udplimit', _('UDP-Threshold'), _('UDP-Threshold in packets per second to prevent WAN-DDoS attacks. To disable this safeguard set it to \'0\'.'));
o = s.taboption('adv_chain', form.ListValue, 'ban_udplimit', _('UDP-Threshold'), _('UDP-Threshold in packets per second to prevent WAN-DoS attacks. To disable this safeguard set it to \'0\'.'));
o.value('0');
o.value('100');
o.value('250');
Expand Down
6 changes: 3 additions & 3 deletions applications/luci-app-banip/po/templates/banip.pot
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ msgstr ""

#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/overview.js:441
msgid ""
"ICMP-Threshold in packets per second to prevent WAN-DDoS attacks. To disable "
"ICMP-Threshold in packets per second to prevent WAN-DoS attacks. To disable "
"this safeguard set it to '0'."
msgstr ""

Expand Down Expand Up @@ -736,7 +736,7 @@ msgstr ""

#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/overview.js:455
msgid ""
"SYN-Threshold in packets per second to prevent WAN-DDoS attacks. To disable "
"SYN-Threshold in packets per second to prevent WAN-DoS attacks. To disable "
"this safeguard set it to '0'."
msgstr ""

Expand Down Expand Up @@ -923,7 +923,7 @@ msgstr ""

#: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/overview.js:469
msgid ""
"UDP-Threshold in packets per second to prevent WAN-DDoS attacks. To disable "
"UDP-Threshold in packets per second to prevent WAN-DoS attacks. To disable "
"this safeguard set it to '0'."
msgstr ""

Expand Down

0 comments on commit 2331147

Please sign in to comment.