summaryrefslogtreecommitdiff
path: root/interface-definitions/service-ids-ddos-protection.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-07-21 19:19:14 +0200
committerChristian Poessinger <christian@poessinger.com>2022-07-21 19:19:14 +0200
commita06a2b58cac1559a35d60916628a234359d213d9 (patch)
treefeb883f09406fef1f658dd25e2eb1f750c6cfcf0 /interface-definitions/service-ids-ddos-protection.xml.in
parent5e510e45f6f9b9fecdbdf105bbd03171ce43679e (diff)
downloadvyos-1x-a06a2b58cac1559a35d60916628a234359d213d9.tar.gz
vyos-1x-a06a2b58cac1559a35d60916628a234359d213d9.zip
fastnetmon: T4553: band-time - zero value is prohibited
Diffstat (limited to 'interface-definitions/service-ids-ddos-protection.xml.in')
-rw-r--r--interface-definitions/service-ids-ddos-protection.xml.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/interface-definitions/service-ids-ddos-protection.xml.in b/interface-definitions/service-ids-ddos-protection.xml.in
index 135fa2ffa..fe22994b5 100644
--- a/interface-definitions/service-ids-ddos-protection.xml.in
+++ b/interface-definitions/service-ids-ddos-protection.xml.in
@@ -20,13 +20,13 @@
</leafNode>
<leafNode name="ban-time">
<properties>
- <help>Time to ban (in seconds) an ip</help>
+ <help>How long we should keep an IP in blocked state</help>
<valueHelp>
- <format>u32:0-4294967294</format>
- <description>Time to ban (in seconds) an ip</description>
+ <format>u32:60-4294967294</format>
+ <description>Time in seconds</description>
</valueHelp>
<constraint>
- <validator name="numeric" argument="--range 0-4294967294"/>
+ <validator name="numeric" argument="--range 60-4294967294"/>
</constraint>
</properties>
<defaultValue>1900</defaultValue>