From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Martin Gignac <martin.gignac@gmail.com>
Cc: netfilter@vger.kernel.org
Subject: Re: Getting error "Error: missing hook and priority in flowtable declaration" in nftables 1.0.9
Date: Wed, 22 Nov 2023 10:25:58 +0100 [thread overview]
Message-ID: <ZV3JJtLjIdLY54PD@calendula> (raw)
In-Reply-To: <CANf9dFNCeUf20yza=ika3YYGH1RjUwagWOkoCCg8=aGnNCQs3Q@mail.gmail.com>
On Sun, Nov 19, 2023 at 04:36:53PM -0500, Martin Gignac wrote:
> (resending because not sure the first time went through)
>
> Hi,
>
> I'm seeing a difference in behavior between nftables 1.0.7 and 1.0.9
> with regards to flowtables:
>
> # nft -v
> nftables v1.0.7 (Old Doc Yak)
> # ip link add dummy1 type dummy
> # ip link set dummy1 up
> # nft 'create flowtable inet filter f1 { hook ingress priority 0; counter }'
> # nft 'add flowtable inet filter f1 { devices = { dummy1 } ; }'
> (no output)
>
>
> # nft -v
> nftables v1.0.9 (Old Doc Yak #3)
> # ip link add dummy1 type dummy
> # ip link set dummy1 up
> # nft 'create flowtable inet filter f1 { hook ingress priority 0; counter }'
> # nft 'add flowtable inet filter f1 { devices = { dummy1 } ; }'
> Error: missing hook and priority in flowtable declaration
> add flowtable inet filter f1 { devices = { dummy1 } ; }
> ^^^^^^^^^^^^^^^^^^^^^^^^
>
> I don't understand the error: "Error: missing hook and priority in
> flowtable declaration" since I HAVE indicated a hook and priority with
> the command "nft 'create flowtable inet filter f1 { hook ingress
> priority 0; counter }'", which worked before, but now doesn't.
>
> What am I missing?
This is bug of mine, apologies.
https://patchwork.ozlabs.org/project/netfilter-devel/patch/20231122085912.3098-1-pablo@netfilter.org/
next prev parent reply other threads:[~2023-11-22 9:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-19 21:36 Getting error "Error: missing hook and priority in flowtable declaration" in nftables 1.0.9 Martin Gignac
2023-11-22 9:25 ` Pablo Neira Ayuso [this message]
2023-11-22 12:37 ` Pablo Neira Ayuso
2023-11-22 15:18 ` Martin Gignac
-- strict thread matches above, loose matches on Subject: below --
2023-11-19 14:40 Martin Gignac
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=ZV3JJtLjIdLY54PD@calendula \
--to=pablo@netfilter.org \
--cc=martin.gignac@gmail.com \
--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.