Skip to content

Netfilter egress hook

Lukas Wunner netdev netfilter-devel 4 versions – Applied

Status from this message: Applied to nf-next, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest4 patches 1 replyApplied
  2. v45 patches 15 repliesSuperseded
  3. v33 patches 36 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v13 patches13 repliesSuperseded

Changes from the cover letter

* 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.

Patches in v6 Applied

#Subject and filesSizeRepliesApplied
1/4netfilter: Rename ingress hook include fileinclude/linux/netfilter_netdev.h net/core/dev.c+1 -10 replies
2/4netfilter: Generalize ingress hook include fileinclude/linux/netfilter_netdev.h net/core/dev.c+12 -100 replies
3/4netfilter: Introduce egress hookdrivers/net/ifb.c include/linux/netdevice.h include/linux/netfilter_netdev.h +7 more+168 -100 replies
4/4af_packet: Introduce egress hooknet/packet/af_packet.c+35 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v6 yet.

Read the v6 thread

Cover letter [PATCH nf-next v6 0/4] Netfilter egress hook

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/[email protected]/

Link to previous version v4:
https://lore.kernel.org/netdev/[email protected]/

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
Signature · 1 line
2.31.1