netfilter.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Serg <seentr@at.encryp.ch>
To: netfilter@vger.kernel.org
Subject: nftables: Internal error when checking rules
Date: Sun, 26 Mar 2023 12:46:56 +0300	[thread overview]
Message-ID: <9a42b3af-8451-8fc2-2565-a60b1c846358@at.encryp.ch> (raw)

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).

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
$ nft -V
nftables v1.0.6 (Lester Gooch #5)
   cli:		readline
   json:		no
   minigmp:	no
   libxtables:	no

Any suggestions are appreciated.

             reply	other threads:[~2023-03-26  9:46 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-26  9:46 Serg [this message]
2023-03-26 15:18 ` nftables: Internal error when checking rules Eric
2023-03-26 16:17   ` Serg
2023-03-26 20:45     ` Pablo Neira Ayuso
2023-03-26 20:48 ` Pablo Neira Ayuso
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=9a42b3af-8451-8fc2-2565-a60b1c846358@at.encryp.ch \
    --to=seentr@at.encryp.ch \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).