summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/sets/0058_setupdate_timeout_0
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shell/testcases/sets/0058_setupdate_timeout_0')
-rwxr-xr-xtests/shell/testcases/sets/0058_setupdate_timeout_017
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/shell/testcases/sets/0058_setupdate_timeout_0 b/tests/shell/testcases/sets/0058_setupdate_timeout_0
new file mode 100755
index 00000000..52a658e1
--- /dev/null
+++ b/tests/shell/testcases/sets/0058_setupdate_timeout_0
@@ -0,0 +1,17 @@
+#!/bin/bash
+
+RULESET="table inet filter {
+ set ssh_meter {
+ type ipv4_addr
+ size 65535
+ flags dynamic,timeout
+ timeout 30d
+ }
+
+ chain test {
+ add @ssh_meter { ip saddr timeout 30d }
+ }
+}"
+
+set -e
+$NFT -f - <<< $RULESET