netfilter.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sixene <notsixene@gmail.com>
To: netfilter@vger.kernel.org
Subject: Optimize fails on a large ruleset
Date: Fri, 17 Nov 2023 15:40:09 +0100	[thread overview]
Message-ID: <CABGCCVc7Qb5U131xUL3mwGtok61=2mwMUOqpe7B_8D+S0VNngA@mail.gmail.com> (raw)

Hi,
I hope this is the right channel to reach out for support, the wiki
mentioned this mailing list.
I'm having trouble optimizing my large ruleset of 26000+ lines.
When I run 'nft -c -o -f ruleset.nft', after the while processes, I
get the following error:
nft: optimize.c:423: merge_verdict_stmts: Assertion `0' failed.
Aborted (core dumped)

My ruleset mostly consists of just 'ip saddr x.x.x.x/xx counter
packets 0 bytes 0 drop'
Hope you can help, as I'm facing very bad performance with this list,
however I have no choice because I need to block all of these
addresses.
Thanks!

(i could not attach the file due to your service's policies, however i
am using x4bnet's lists_vpn on github)

             reply	other threads:[~2023-11-17 14:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-17 14:40 Sixene [this message]
2023-11-17 15:54 ` Optimize fails on a large ruleset Pablo Neira Ayuso
     [not found]   ` <CABGCCVeMFcQvetiSLUhjOudvz3mLeo7quPLtHDkVQQobLHwfAA@mail.gmail.com>
2023-11-18 18:35     ` Pablo Neira Ayuso
2023-11-17 16:44 ` A L
  -- strict thread matches above, loose matches on Subject: below --
2023-11-17 14:35 sixene

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='CABGCCVc7Qb5U131xUL3mwGtok61=2mwMUOqpe7B_8D+S0VNngA@mail.gmail.com' \
    --to=notsixene@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 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).