From: Lukas Wunner <lukas@wunner.de>
To: "Pablo Neira Ayuso" <pablo@netfilter.org>,
Jozsef Kadlecsik <kadlec@netfilter.org>,
Florian Westphal <fw@strlen.de>
Cc: netfilter-devel@vger.kernel.org, coreteam@netfilter.org,
netdev@vger.kernel.org, Daniel Borkmann <daniel@iogearbox.net>,
Alexei Starovoitov <ast@kernel.org>,
Eric Dumazet <edumazet@google.com>, Thomas Graf <tgraf@suug.ch>,
"Laura Garcia Liebana" <nevola@gmail.com>,
John Fastabend <john.fastabend@gmail.com>,
"Willem de Bruijn" <willemb@google.com>,
"David S. Miller" <davem@davemloft.net>,
Jakub Kicinski <kuba@kernel.org>
Subject: [PATCH nf-next v6 0/4] Netfilter egress hook
Date: Fri, 8 Oct 2021 22:06:00 +0200 [thread overview]
Message-ID: <cover.1633693519.git.lukas@wunner.de> (raw)
Netfilter egress hook, 6th iteration
Changes:
* Perform netfilter egress classifying before tc egress classifying
to achieve reverse order vis-a-vis ingress datapath.
* Avoid layering violations by way of new skb->nf_skip_egress flag.
* Add egress support to new nfnetlink_hook.c.
Link to previous version v5 (posted by Pablo):
https://lore.kernel.org/netdev/20210928095538.114207-1-pablo@netfilter.org/
Link to previous version v4:
https://lore.kernel.org/netdev/cover.1611304190.git.lukas@wunner.de/
Lukas Wunner (3):
netfilter: Rename ingress hook include file
netfilter: Generalize ingress hook include file
netfilter: Introduce egress hook
Pablo Neira Ayuso (1):
af_packet: Introduce egress hook
drivers/net/ifb.c | 3 +
include/linux/netdevice.h | 4 +
include/linux/netfilter_ingress.h | 58 ------------
include/linux/netfilter_netdev.h | 146 ++++++++++++++++++++++++++++++
include/linux/skbuff.h | 4 +
include/uapi/linux/netfilter.h | 1 +
net/core/dev.c | 19 +++-
net/netfilter/Kconfig | 11 +++
net/netfilter/core.c | 34 ++++++-
net/netfilter/nfnetlink_hook.c | 16 +++-
net/netfilter/nft_chain_filter.c | 4 +-
net/packet/af_packet.c | 35 +++++++
12 files changed, 265 insertions(+), 70 deletions(-)
delete mode 100644 include/linux/netfilter_ingress.h
create mode 100644 include/linux/netfilter_netdev.h
--
2.31.1
next reply other threads:[~2021-10-08 20:15 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-08 20:06 Lukas Wunner [this message]
2021-10-08 20:06 ` [PATCH nf-next v6 1/4] netfilter: Rename ingress hook include file Lukas Wunner
2021-10-08 20:06 ` [PATCH nf-next v6 2/4] netfilter: Generalize " Lukas Wunner
2021-10-08 20:06 ` [PATCH nf-next v6 3/4] netfilter: Introduce egress hook Lukas Wunner
2021-10-08 20:06 ` [PATCH nf-next v6 4/4] af_packet: " Lukas Wunner
2021-10-14 21:01 ` [PATCH nf-next v6 0/4] Netfilter " Pablo Neira Ayuso
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=cover.1633693519.git.lukas@wunner.de \
--to=lukas@wunner.de \
--cc=ast@kernel.org \
--cc=coreteam@netfilter.org \
--cc=daniel@iogearbox.net \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=fw@strlen.de \
--cc=john.fastabend@gmail.com \
--cc=kadlec@netfilter.org \
--cc=kuba@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=netfilter-devel@vger.kernel.org \
--cc=nevola@gmail.com \
--cc=pablo@netfilter.org \
--cc=tgraf@suug.ch \
--cc=willemb@google.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).