summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/bogons/nft-f/ct_helper_yystate_underflow
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shell/testcases/bogons/nft-f/ct_helper_yystate_underflow')
-rw-r--r--tests/shell/testcases/bogons/nft-f/ct_helper_yystate_underflow14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/shell/testcases/bogons/nft-f/ct_helper_yystate_underflow b/tests/shell/testcases/bogons/nft-f/ct_helper_yystate_underflow
new file mode 100644
index 00000000..18eb25eb
--- /dev/null
+++ b/tests/shell/testcases/bogons/nft-f/ct_helper_yystate_underflow
@@ -0,0 +1,14 @@
+table inet filter {
+ ct helper sip-5060u {
+ type "sip" protocol udp
+ l3proto ip
+ }5060t {
+ type "sip" protocol tcp
+ l3pownerip
+ }
+
+ chain input {
+ type filtol/dev/stdinok input priority f)lser; policy accept;
+ ct helper set ip protocol . th dport map { udp . 1-20000 : "si60u", tcp . 10000-20000 : "sip-5060t" }
+ }
+}