Skip to content

RFC ctnetlink updates for net-next

[email protected] netfilter-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest6 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6netfilter: ctnetlink: allow to set helper for new expectationsnet/netfilter/nf_conntrack_netlink.c+24 -10 replies
2/6netfilter: ctnetlink: allow to set expectation classinclude/linux/netfilter/nfnetlink_conntrack.h net/netfilter/nf_conntrack_netlink.c+10 -10 replies
3/6netfilter: ctnetlink: add NAT support for expectationsinclude/linux/netfilter/nfnetlink_conntrack.h net/netfilter/nf_conntrack_netlink.c+75 -20 replies
4/6netfilter: ctnetlink: allow to set expectfn for expectationsinclude/linux/netfilter/nfnetlink_conntrack.h include/net/netfilter/nf_conntrack_helper.h net/ipv4/netfilter/nf_nat_core.c +4 more+115 -10 replies
5/6netlink: netlink_dump_start may take data pointer for callbackscrypto/crypto_user.c drivers/infiniband/core/netlink.c include/linux/netlink.h +9 more+16 -120 replies
6/6netfilter: ctnetlink: support kernel-space dump filteringsinclude/linux/netfilter/nfnetlink_conntrack.h net/netfilter/nf_conntrack_netlink.c+34 -20 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/6] [RFC] ctnetlink updates for net-next

From: Pablo Neira Ayuso <[email protected]>

Hi,

The following are six patches for ctnetlink, four of them to finish the expectation support (this is required by conntrackd, next version will support expectation synchronization).

Two of them allows you to filter dumpings by mark. So we save cycles on building and parsing messages. One for netlink itself, to allow passing the filtering data (or whatever any other data you want to pass to the ->dump and ->done callbacks).

Let me know if you have any comment. I'll push the to my tree if nobody complains in the following days.

Thank you!

Pablo Neira Ayuso (6):
netfilter: ctnetlink: allow to set helper for new expectations
netfilter: ctnetlink: allow to set expectation class
netfilter: ctnetlink: add NAT support for expectations
netfilter: ctnetlink: allow to set expectfn for expectations
netlink: netlink_dump_start may take data pointer for callbacks
netfilter: ctnetlink: support kernel-space dump filterings

 crypto/crypto_user.c                          |    2 +-
 drivers/infiniband/core/netlink.c             |    2 +-
 include/linux/netfilter/nfnetlink_conntrack.h |   12 ++
 include/linux/netlink.h                       |    2 +
 include/net/netfilter/nf_conntrack_helper.h   |   13 ++
 net/core/rtnetlink.c                          |    2 +-
 net/ipv4/inet_diag.c                          |    4 +-
 net/ipv4/netfilter/nf_nat_core.c              |    8 ++
 net/ipv4/netfilter/nf_nat_h323.c              |   14 +++
 net/ipv4/netfilter/nf_nat_sip.c               |    7 +
 net/netfilter/ipset/ip_set_core.c             |    2 +-
 net/netfilter/nf_conntrack_helper.c           |   54 +++++++++
 net/netfilter/nf_conntrack_netlink.c          |  157 +++++++++++++++++++++++-
 net/netfilter/nfnetlink_acct.c                |    2 +-
 net/netlink/af_netlink.c                      |    2 +
 net/netlink/genetlink.c                       |    2 +-
 net/unix/diag.c                               |    2 +-
 net/xfrm/xfrm_user.c                          |    2 +-
 18 files changed, 272 insertions(+), 17 deletions(-)
Signature · 1 line
1.7.7.3