ruleset: dispatch ct states using verdict map
[project/firewall4.git] / tests / 03_rules / 11_log
index ecbabe566157602cdb12fdd65452cd05aae42eef..6404a58b9bf3e2016e6fc8c7a8271d9f2035b63d 100644 (file)
@@ -114,13 +114,13 @@ table inet fw4 {
 
                iifname "lo" accept comment "!fw4: Accept traffic from loopback"
 
-               ct state established,related accept comment "!fw4: Allow inbound established and related flows"
+               ct state vmap { established : accept, related : accept } comment "!fw4: Handle inbound flows"
        }
 
        chain forward {
                type filter hook forward priority filter; policy drop;
 
-               ct state established,related accept comment "!fw4: Allow forwarded established and related flows"
+               ct state vmap { established : accept, related : accept } comment "!fw4: Handle forwarded flows"
        }
 
        chain output {
@@ -128,7 +128,7 @@ table inet fw4 {
 
                oifname "lo" accept comment "!fw4: Accept traffic towards loopback"
 
-               ct state established,related accept comment "!fw4: Allow outbound established and related flows"
+               ct state vmap { established : accept, related : accept } comment "!fw4: Handle outbound flows"
                counter log prefix "@rule[0]: " comment "!fw4: @rule[0]"
                counter log prefix "Explicit rule name: " comment "!fw4: Explicit rule name"
                counter log prefix "Explicit prefix: " comment "!fw4: @rule[2]"