From: Florian Westphal <fw@strlen.de>
To: Pablo Neira Ayuso <pablo@netfilter.org>
Cc: Florian Westphal <fw@strlen.de>, netfilter-devel@vger.kernel.org
Subject: Re: [RFC] nftables: reverse path filtering for nft
Date: Mon, 12 Sep 2016 21:00:25 +0200 [thread overview]
Message-ID: <20160912190025.GB11685@breakpoint.cc> (raw)
In-Reply-To: <20160912185228.GA10862@salvia>
Pablo Neira Ayuso <pablo@netfilter.org> wrote:
> fib lookup ip daddr . oif
>
> As you are basically looking for the route based on IPv4 address and
> the output interface, so this boils down to:
>
> fib lookup $expr $flags
How would the kernel disentangle the register data?
(i.e., how do i know where in the sreg e.g. the daddr is
that i need to stuff in the flowi struct?)
next prev parent reply other threads:[~2016-09-12 19:00 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-10 20:01 [RFC] nftables: reverse path filtering for nft Florian Westphal
2016-09-12 12:04 ` Pablo Neira Ayuso
2016-09-12 12:21 ` Florian Westphal
2016-09-12 18:52 ` Pablo Neira Ayuso
2016-09-12 19:00 ` Florian Westphal [this message]
2016-09-12 19:14 ` Pablo Neira Ayuso
2016-09-12 19:19 ` Florian Westphal
2016-09-12 22:46 ` Florian Westphal
2016-09-14 17:45 ` Florian Westphal
2016-09-14 18:23 ` Arturo Borrero Gonzalez
2016-09-14 21:13 ` Florian Westphal
2016-09-14 22:00 ` Florian Westphal
2016-09-15 8:24 ` Arturo Borrero Gonzalez
2016-09-15 8:27 ` Arturo Borrero Gonzalez
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=20160912190025.GB11685@breakpoint.cc \
--to=fw@strlen.de \
--cc=netfilter-devel@vger.kernel.org \
--cc=pablo@netfilter.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 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.