summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-07-21 21:13:06 +0200
committerChristian Poessinger <christian@poessinger.com>2022-07-21 21:13:06 +0200
commitdfd0e56fab14321a55224fc11f4549e781bdf771 (patch)
tree1e0d8794ab168e14e765d65b2dec6b8fe59bccbf
parentf4b07b25614fcc9d6e999878368a46bbfbffc2fa (diff)
downloadvyos-1x-dfd0e56fab14321a55224fc11f4549e781bdf771.tar.gz
vyos-1x-dfd0e56fab14321a55224fc11f4549e781bdf771.zip
fastnetmon: T4553: reduce ban-time lower limit to 1 second
-rw-r--r--interface-definitions/service-ids-ddos-protection.xml.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/interface-definitions/service-ids-ddos-protection.xml.in b/interface-definitions/service-ids-ddos-protection.xml.in
index 0a0d78948..a176d6fff 100644
--- a/interface-definitions/service-ids-ddos-protection.xml.in
+++ b/interface-definitions/service-ids-ddos-protection.xml.in
@@ -22,11 +22,11 @@
<properties>
<help>How long we should keep an IP in blocked state</help>
<valueHelp>
- <format>u32:60-4294967294</format>
+ <format>u32:1-4294967294</format>
<description>Time in seconds</description>
</valueHelp>
<constraint>
- <validator name="numeric" argument="--range 60-4294967294"/>
+ <validator name="numeric" argument="--range 1-4294967294"/>
</constraint>
</properties>
<defaultValue>1900</defaultValue>