netfilter.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Florian Westphal <fw@strlen.de>
To: Dustin Lieu <whale_163@fastmail.com>
Cc: netfilter@vger.kernel.org
Subject: Re: Issue Setting meta broute
Date: Tue, 10 Sep 2024 15:30:51 +0200	[thread overview]
Message-ID: <20240910133051.GA17818@breakpoint.cc> (raw)
In-Reply-To: <31a149f7-3775-46c3-80ae-5a11a389976b@app.fastmail.com>

Dustin Lieu <whale_163@fastmail.com> wrote:
> Hello,
> 
> When I try adding a rule to set meta broute, I get an error that says it's not supported. I'm running nftables version v1.0.9, which should support broute. Does anyone know what the issue could be?
> 
> $ nft --version
> nftables v1.0.9 (Old Doc Yak #3)
> 
> $ nft add table bridge bridge_rules
> $ nft add chain bridge bridge_rules prerouting "{ type filter hook prerouting priority 0; policy accept; }"
> $ nft add rule bridge bridge_rules prerouting meta broute set 1

Worksforme on 6.10:

table bridge bridge_rules {
        chain prerouting {
                type filter hook prerouting priority 0; policy accept;
                meta broute set 1
        }
}

> Error: Could not process rule: Not supported
> add rule bridge bridge_rules prerouting meta broute set 1
>                                         ^^^^^^^^^^^^^^^^^

Kernel lacks support, this needs 6.4 or later and
CONFIG_NFT_BRIDGE_META=y or =m in kernel config.

'modinfo nft-meta-bridge' would tell if module is present or not.

      reply	other threads:[~2024-09-10 13:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-09 21:20 Issue Setting meta broute Dustin Lieu
2024-09-10 13:30 ` Florian Westphal [this message]

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=20240910133051.GA17818@breakpoint.cc \
    --to=fw@strlen.de \
    --cc=netfilter@vger.kernel.org \
    --cc=whale_163@fastmail.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 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 NNTP newsgroup(s).