Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Florian Westphal <fw@strlen.de>
To: Slavko <linux@slavino.sk>
Cc: netfilter ML <netfilter@vger.kernel.org>
Subject: Re: nftables RP filter and loopback
Date: Tue, 22 Apr 2025 13:43:52 +0200	[thread overview]
Message-ID: <20250422114352.GA2092@breakpoint.cc> (raw)
In-Reply-To: <905173BB-6745-4B59-8795-F9AC1E063A38@slavino.sk>

Slavko <linux@slavino.sk> wrote:
> Hi all,
> 
> i encounter strange problem with reverse path filter in nftables,
> which i don't understand, thus i ask for help.
> 
> Some background -- for long time i have on my desktop (with
> some bridges/veths for LXC, VirtualBox ifaces, and one dummy
> iface) this prerouting chain (to shorten it i removed counter and
> log parts):
> 
>     chain r_prerouting {
>         type filter hook input priority raw; policy accept;
                           ~~~~~

This is an input chain.  The loopback bypass is restricted
to PRE_ROUTING before v6.15-rc1.

(This is an oversight, originally fib was rejected in input chain, and
when that restriction got lifted the lo bypass check wasn't adjusted).

  reply	other threads:[~2025-04-22 11:43 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-22  8:49 nftables RP filter and loopback Slavko
2025-04-22 11:43 ` Florian Westphal [this message]
2025-04-22 12:32   ` Slavko
2025-04-22 12:53     ` Florian Westphal
2025-04-22 13:15       ` Slavko
2025-04-22 14:15       ` Pablo Neira Ayuso
2025-04-23  9:10         ` Florian Westphal
2025-04-23 11:51           ` Pablo Neira Ayuso
2025-04-23 12:06             ` Florian Westphal
2025-04-23 20:56               ` Pablo Neira Ayuso
2025-04-23 20:58                 ` Pablo Neira Ayuso
2025-04-26  8:39   ` Slavko
2025-04-26  9:24     ` Florian Westphal
2025-04-26  9:40       ` Slavko

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=20250422114352.GA2092@breakpoint.cc \
    --to=fw@strlen.de \
    --cc=linux@slavino.sk \
    --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