From: Florian Westphal <fw@strlen.de>
To: "Thomas Köller" <thomas@koeller.dyndns.org>
Cc: netfilter@vger.kernel.org
Subject: Re: rule insertion
Date: Fri, 15 Nov 2024 14:55:19 +0100 [thread overview]
Message-ID: <20241115135519.GA29648@breakpoint.cc> (raw)
In-Reply-To: <74938b68-c482-4e54-a158-e3f379ba20c6@koeller.dyndns.org>
Thomas Köller <thomas@koeller.dyndns.org> wrote:
> When adding a rule to a chain, I can specify the handle of an existing rule.
> The new rule is then inserted after that one. So how do I insert a new rule
> at the very top of a chain, right before the first rule? I tried using the
> handle of the chain itself, but that didn't work.
nft insert rule ip filter FOO meta iifname bar
next prev parent reply other threads:[~2024-11-15 13:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-15 13:30 rule insertion Thomas Köller
2024-11-15 13:55 ` Florian Westphal [this message]
2024-11-15 14:02 ` Pablo Neira Ayuso
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=20241115135519.GA29648@breakpoint.cc \
--to=fw@strlen.de \
--cc=netfilter@vger.kernel.org \
--cc=thomas@koeller.dyndns.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox