public inbox for netfilter@vger.kernel.org
 help / color / mirror / Atom feed
* Replace flow offload by flow add in wiki
@ 2025-04-04 15:12 Anthony Ruhier
  2025-04-18  0:54 ` Pablo Neira Ayuso
  0 siblings, 1 reply; 2+ messages in thread
From: Anthony Ruhier @ 2025-04-04 15:12 UTC (permalink / raw)
  To: netfilter

Hi,
I was setting up flowtables offloading in my nftables rules, and I got confused
by the wiki page.

In https://wiki.nftables.org/wiki-nftables/index.php/Flowtables, the example
given to offload a flow is using the `flow offload` rule.

If I understood correctly, `flow offload` has been deprecated in favor of `flow
add`. Is it possible to replace any occurrence of `offload` with `add` please?

Also in this example, I got confused with the presence of the conntrack state
rule:

> tcp dport { 80, 443 } ct state established flow offload @f counter

From
https://thermalcircle.de/doku.php?id=blog:linux:flowtables_1_a_netfilter_nftables_fastpath,
checking that the state is established seems unnecessary, as `flow add` will
match only if the conntrack state is "confirmed". If it's correct, could it be
removed for clarity? And even better, add an explanation over when the rule
would be matched.

Thanks,
--
Anthony Ruhier

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-04-18  0:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-04 15:12 Replace flow offload by flow add in wiki Anthony Ruhier
2025-04-18  0:54 ` Pablo Neira Ayuso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox