From: Florian Westphal <fw@strlen.de>
To: Pablo Neira Ayuso <pablo@netfilter.org>
Cc: Florian Westphal <fw@strlen.de>, Phil Sutter <phil@nwl.cc>,
netfilter-devel@vger.kernel.org
Subject: Re: Use of oifname in input chains
Date: Wed, 26 Jun 2019 12:58:12 +0200 [thread overview]
Message-ID: <20190626105812.kkq6bfdcoihmphrd@breakpoint.cc> (raw)
In-Reply-To: <20190626104740.vw7xzrkoqd2lwzqh@salvia>
Pablo Neira Ayuso <pablo@netfilter.org> wrote:
> > delete jump from output # disallow?
> >
> > This seems rather suicidal to me.
>
> OK, you think there may be people using oifname from the C chain, but
> how so? To skip rules that are specific to the output path?
Maybe, or just to consolidate rules, e.g.
chain C {
[ some common rules ]
meta oifname bla ...
[ other common rules ]
}
After the proposed change, kernel refuses ruleset as soon as C is
or becomes reachable from a prerouting/input basechain.
(Alternatively, we could reject if not reachable from output/forward,
but that seems even more crazy because we'd have to refuse ruleset
that has unreachable chain with 'oifname' in it ...).
next prev parent reply other threads:[~2019-06-26 10:58 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20190625122954.GC9218@orbyte.nwl.cc>
2019-06-25 19:43 ` Use of oifname in input chains Pablo Neira Ayuso
2019-06-26 10:32 ` Florian Westphal
2019-06-26 10:37 ` Pablo Neira Ayuso
2019-06-26 10:42 ` Florian Westphal
2019-06-26 10:47 ` Pablo Neira Ayuso
2019-06-26 10:58 ` Florian Westphal [this message]
2019-06-26 12:50 ` Pablo Neira Ayuso
2019-06-26 12:56 ` Pablo Neira Ayuso
2019-06-26 12:27 ` Phil Sutter
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=20190626105812.kkq6bfdcoihmphrd@breakpoint.cc \
--to=fw@strlen.de \
--cc=netfilter-devel@vger.kernel.org \
--cc=pablo@netfilter.org \
--cc=phil@nwl.cc \
/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).