All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Sixene <notsixene@gmail.com>
Cc: netfilter@vger.kernel.org
Subject: Re: Optimize fails on a large ruleset
Date: Fri, 17 Nov 2023 16:54:45 +0100	[thread overview]
Message-ID: <ZVeMxYsNEgr7ZblO@calendula> (raw)
In-Reply-To: <CABGCCVc7Qb5U131xUL3mwGtok61=2mwMUOqpe7B_8D+S0VNngA@mail.gmail.com>

Hi,

On Fri, Nov 17, 2023 at 03:40:09PM +0100, Sixene wrote:
> 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)

Please, make sure you you run on latest nftables version.

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

Please, send a simple reproducer.

Thanks.

  reply	other threads:[~2023-11-17 15:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-17 14:40 Optimize fails on a large ruleset Sixene
2023-11-17 15:54 ` Pablo Neira Ayuso [this message]
     [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=ZVeMxYsNEgr7ZblO@calendula \
    --to=pablo@netfilter.org \
    --cc=netfilter@vger.kernel.org \
    --cc=notsixene@gmail.com \
    /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.