projects
/
project
/
firewall4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ecfadd
)
fw4: enable flowtable counters
author
Felix Fietkau
<nbd@nbd.name>
Thu, 23 Mar 2023 21:01:12 +0000
(22:01 +0100)
committer
Felix Fietkau
<nbd@nbd.name>
Thu, 23 Mar 2023 21:01:13 +0000
(22:01 +0100)
This ensures that conntrack stats are updated for offloaded flows
Signed-off-by: Felix Fietkau <nbd@nbd.name>
root/usr/share/firewall4/templates/ruleset.uc
patch
|
blob
|
history
diff --git
a/root/usr/share/firewall4/templates/ruleset.uc
b/root/usr/share/firewall4/templates/ruleset.uc
index 9537ba2879603c5a52a2d23d79f667759a03fdb7..7bd930937600f67488c4543cd1bfb6493e23b018 100644
(file)
--- a/
root/usr/share/firewall4/templates/ruleset.uc
+++ b/
root/usr/share/firewall4/templates/ruleset.uc
@@
-20,6
+20,7
@@
table inet fw4 {
flowtable ft {
hook ingress priority 0;
devices = {{ fw4.set(flowtable_devices, true) }};
+ counter;
{% if (fw4.default_option("flow_offloading_hw")): %}
flags offload;
{% endif %}