Revert "ruleset: dispatch ct states using verdict map"
[project/firewall4.git] / tests / 02_zones / 08_log_limit
index b5613bc96e9c494d58ca7aec76fb1ad788c2ca35..35e510851a519f9f7be6af10ac76d06952350f3c 100644 (file)
@@ -240,7 +240,7 @@ table inet fw4 {
 
                iifname "lo" accept comment "!fw4: Accept traffic from loopback"
 
-               ct state vmap { established : accept, related : accept } comment "!fw4: Handle inbound flows"
+               ct state established,related accept comment "!fw4: Allow inbound established and related flows"
                tcp dport 1007 counter log prefix "@rule[6]: " comment "!fw4: @rule[6]"
                tcp dport 1008 counter comment "!fw4: @rule[7]"
                tcp dport 1009 limit rate 5/minute log prefix "@rule[12]: "
@@ -254,7 +254,7 @@ table inet fw4 {
        chain forward {
                type filter hook forward priority filter; policy drop;
 
-               ct state vmap { established : accept, related : accept } comment "!fw4: Handle forwarded flows"
+               ct state established,related accept comment "!fw4: Allow forwarded established and related flows"
                tcp dport 1005 limit name "lan.log_limit" log prefix "@rule[4]: "
                tcp dport 1005 counter comment "!fw4: @rule[4]"
                tcp dport 1006 counter comment "!fw4: @rule[5]"
@@ -269,7 +269,7 @@ table inet fw4 {
 
                oifname "lo" accept comment "!fw4: Accept traffic towards loopback"
 
-               ct state vmap { established : accept, related : accept } comment "!fw4: Handle outbound flows"
+               ct state established,related accept comment "!fw4: Allow outbound established and related flows"
                oifname "br-lan" jump output_lan comment "!fw4: Handle lan IPv4/IPv6 output traffic"
                meta nfproto ipv4 oifname "pppoe-wan" jump output_wan comment "!fw4: Handle wan IPv4 output traffic"
                oifname "br-guest" jump output_guest comment "!fw4: Handle guest IPv4/IPv6 output traffic"