From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Anthony Ruhier <aruhier@mailbox.org>
Cc: netfilter@vger.kernel.org
Subject: Re: Replace flow offload by flow add in wiki
Date: Fri, 18 Apr 2025 02:54:52 +0200 [thread overview]
Message-ID: <aAGi3BJ_tZudukGi@calendula> (raw)
In-Reply-To: <yw2rcklool64bepdn3kue7yj7xryymdmhjoe72hqujj4xaads4@yzo7qkb452oc>
On Fri, Apr 04, 2025 at 05:12:03PM +0200, Anthony Ruhier wrote:
> 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.
For the record, I have updated this.
Thanks.
prev parent reply other threads:[~2025-04-18 0:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-04 15:12 Replace flow offload by flow add in wiki Anthony Ruhier
2025-04-18 0:54 ` Pablo Neira Ayuso [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aAGi3BJ_tZudukGi@calendula \
--to=pablo@netfilter.org \
--cc=aruhier@mailbox.org \
--cc=netfilter@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.