summaryrefslogtreecommitdiff
path: root/docs/configuration
diff options
context:
space:
mode:
authorRobert Göhler <github@ghlr.de>2022-07-11 20:24:41 +0200
committerGitHub <noreply@github.com>2022-07-11 20:24:41 +0200
commitfe15b1b31b312fdd123792f9bedada856ad42390 (patch)
tree2beeaaf689fb44d3445f693199a38cad024d10a1 /docs/configuration
parent6b6f117cfa145ccf8ece9dd2c87fe9521ef2f5a2 (diff)
parentdb58a8d8f3c8e6f6036307573416108018a8e95a (diff)
downloadvyos-documentation-fe15b1b31b312fdd123792f9bedada856ad42390.tar.gz
vyos-documentation-fe15b1b31b312fdd123792f9bedada856ad42390.zip
Merge pull request #811 from Diekos/equuleus-firewall-matchingcriteria-recent
Firewall: Added 'recent' matching criteria
Diffstat (limited to 'docs/configuration')
-rw-r--r--docs/configuration/firewall/index.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/configuration/firewall/index.rst b/docs/configuration/firewall/index.rst
index 92f2da8d..a9fb3c93 100644
--- a/docs/configuration/firewall/index.rst
+++ b/docs/configuration/firewall/index.rst
@@ -417,6 +417,15 @@ There are a lot of matching criteria against which the package can be tested.
Match against the state of a packet.
+.. cfgcmd:: set firewall name <name> rule <1-999999> recent count <1-255>
+.. cfgcmd:: set firewall ipv6-name <name> rule <1-999999> recent count <1-255>
+.. cfgcmd:: set firewall name <name> rule <1-999999> recent time <second |
+ minute | hour>
+.. cfgcmd:: set firewall ipv6-name <name> rule <1-999999> recent time <second |
+ minute | hour>
+
+ Match when 'count' amount of connections are seen within 'time'. These
+ matching criteria can be used to block brute-force attempts.
***********************************
Applying a Rule-Set to an Interface