From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Serg <seentr@at.encryp.ch>
Cc: netfilter@vger.kernel.org
Subject: Re: nftables: Internal error when checking rules
Date: Sun, 26 Mar 2023 22:48:15 +0200 [thread overview]
Message-ID: <ZCCvj7XxHDFr7QXf@salvia> (raw)
In-Reply-To: <9a42b3af-8451-8fc2-2565-a60b1c846358@at.encryp.ch>
On Sun, Mar 26, 2023 at 12:46:56PM +0300, Serg wrote:
> Hello, netfilter community!
>
> Today I have encountered strange behaviour of the `nft -cf` - I receive an
> error message with an exit code 1. The error message is "internal:0:0-0:
> Error: Could not process rule: File exists".
>
> My configuration consist of several files and I have found one that causing
> this error - it is set with a list of networks in CIDR format. The file is
> pretty big - it takes 15K on its own (it does not contains any rules at all,
> just a single set).
15K set element entry is rather small.
> A bit of information regarding my envirovment:
> $ uname -sorv
> Linux 6.1.19 #1 SMP PREEMPT_DYNAMIC Tue Mar 21 10:36:11 EET 2023 GNU/Linux
Also when testing, make sure your -stable kernel contains these fixes:
5d235d6ce75c ("netfilter: nft_set_rbtree: skip elements in transaction from garbage collection")
c9e6978e2725 ("netfilter: nft_set_rbtree: Switch to node list walk for overlap detection")
next prev parent reply other threads:[~2023-03-26 20:48 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-26 9:46 nftables: Internal error when checking rules Serg
2023-03-26 15:18 ` Eric
2023-03-26 16:17 ` Serg
2023-03-26 20:45 ` Pablo Neira Ayuso
2023-03-26 20:48 ` Pablo Neira Ayuso [this message]
2023-03-27 9:10 ` Serg
2023-03-27 15:05 ` Pablo Neira Ayuso
2023-03-27 15:33 ` Serg
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=ZCCvj7XxHDFr7QXf@salvia \
--to=pablo@netfilter.org \
--cc=netfilter@vger.kernel.org \
--cc=seentr@at.encryp.ch \
/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.