Skip to content

Netfilter/IPVS updates for net-next

Pablo Neira Ayuso netdev netfilter-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest19 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/19netfilter: xt_addrtype: fix trivial typonet/netfilter/xt_addrtype.c+1 -10 replies
2/19netfilter: nf_conntrack: remove net_ratelimit() for LOG_INVALID()include/net/netfilter/nf_conntrack_l4proto.h+0 -70 replies
3/19netfilter: nf_conntrack: constify sk_buff argument to nf_ct_attach()include/linux/netfilter.h net/netfilter/core.c net/netfilter/nf_conntrack_core.c+7 -60 replies
4/19netfilter: connlabels: remove unneeded includesnet/netfilter/nf_conntrack_labels.c+0 -40 replies
5/19netfilter: nf_queue: relax NFQA_CT attribute checknet/netfilter/nfnetlink_queue_core.c+1 -30 replies
6/19netfilter: tproxy: remove nf_tproxy_core, keep tw sk assigned to skbDocumentation/networking/tproxy.txt include/net/netfilter/nf_tproxy_core.h net/netfilter/Kconfig +3 more+16 -890 replies
7/19netfilter: tproxy: remove nf_tproxy_core.hinclude/net/netfilter/nf_tproxy_core.h net/netfilter/xt_TPROXY.c net/netfilter/xt_socket.c+220 -2120 replies
8/19netfilter: nf_conntrack: remove duplicate code in ctnetlinkinclude/net/netfilter/nf_conntrack.h net/netfilter/nf_conntrack_core.c net/netfilter/nf_conntrack_netlink.c+20 -300 replies
9/19netfilter: nf_nat: fix locking in nf_nat_seq_adjust()net/netfilter/nf_nat_helper.c+6 -10 replies
10/19netfilter: nf_nat: change sequence number adjustments to 32 bitsinclude/linux/netfilter.h include/net/netfilter/nf_conntrack.h include/net/netfilter/nf_nat.h +4 more+13 -130 replies
11/19netfilter: nf_nat: use per-conntrack locking for sequence number adjustmentsnet/netfilter/nf_nat_helper.c+6 -130 replies
12/19netfilter: tproxy: fix build with IP6_NF_IPTABLES=nnet/netfilter/xt_TPROXY.c+1 -10 replies
13/19ipvs: fixed spacing at for statementsnet/netfilter/ipvs/ip_vs_lblcr.c+4 -40 replies
14/19ipvs: ip_vs_sh: ip_vs_sh_get_port: check skb_header_pointer for NULLnet/netfilter/ipvs/ip_vs_sh.c+6 -00 replies
15/19netfilter: nf_conntrack: don't send destroy events from iteratorinclude/net/netfilter/nf_conntrack.h net/ipv4/netfilter/ipt_MASQUERADE.c net/ipv6/netfilter/ip6t_MASQUERADE.c +3 more+14 -400 replies
16/19netfilter: ctnetlink: refactor ctnetlink_create_expectnet/netfilter/nf_conntrack_netlink.c+87 -690 replies
17/19netfilter: nfnetlink_queue: allow to attach expectations to conntracksinclude/linux/netfilter.h include/net/netfilter/nfnetlink_queue.h include/uapi/linux/netfilter/nfnetlink_queue.h +3 more+114 -160 replies
18/19netfilter: export xt_rpfilter.h to userlandinclude/uapi/linux/netfilter/Kbuild include/uapi/linux/netfilter/xt_rpfilter.h+1 -00 replies
19/19netfilter: export xt_HMARK.h to userlandinclude/uapi/linux/netfilter/Kbuild include/uapi/linux/netfilter/xt_HMARK.h+1 -00 replies

Reviews trailers per patch

1 of 19 patches has a Reviewed-by or Acked-by.

PatchJulian Anastasov
1/19
2/19
3/19
4/19
5/19
6/19
7/19
8/19
9/19
10/19
11/19
12/19
13/19
14/19A-b
15/19
16/19
17/19
18/19
19/19

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/19] Netfilter/IPVS updates for net-next

Hi David,

The following batch contains Netfilter/IPVS updates for your net-next tree. More specifically, they are:

* Trivial typo fix in xt_addrtype, from Phil Oester.

* Remove net_ratelimit in the conntrack logging for consistency with other logging subsystem, from Patrick McHardy.

* Remove unneeded includes from the recently added xt_connlabel support, from Florian Westphal.

* Allow to update conntracks via nfqueue, don't need NFQA_CFG_F_CONNTRACK for this, from Florian Westphal.

* Remove tproxy core, now that we have socket early demux, from Florian Westphal.

* A couple of patches to refactor conntrack event reporting to save a good bunch of lines, from Florian Westphal.

* Fix missing locking in NAT sequence adjustment, it did not manifested in any known bug so far, from Patrick McHardy.

* Change sequence number adjustment variable to 32 bits, to delay the possible early overflow in long standing connections, also from Patrick.

* Comestic cleanups for IPVS, from Dragos Foianu.

* Fix possible null dereference in IPVS in the SH scheduler, from Daniel Borkmann.

* Allow to attach conntrack expectations via nfqueue. Before this patch, you had to use ctnetlink instead, thus, we save the conntrack lookup.

* Export xt_rpfilter and xt_HMARK header files, from Nicolas Dichtel.

You can pull these changes from:

git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next.git master

Thanks!

----------------------------------------------------------------

The following changes since commit 9025c8e253369d324111c041032018955b80dd55:

drivers/net/ethernet/stmicro/stmmac: don't check resource with devm_ioremap_resource (2013-07-24 23:59:33 -0700)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next.git master

for you to fetch changes up to 38c67328ac79cb9eaf61b5d4750fe3b9cff0dd15:

netfilter: export xt_HMARK.h to userland (2013-08-14 10:48:05 +0200)

----------------------------------------------------------------
Daniel Borkmann (1):
ipvs: ip_vs_sh: ip_vs_sh_get_port: check skb_header_pointer for NULL

Dragos Foianu (1):
ipvs: fixed spacing at for statements

Florian Westphal (7):
netfilter: connlabels: remove unneeded includes
netfilter: nf_queue: relax NFQA_CT attribute check
netfilter: tproxy: remove nf_tproxy_core, keep tw sk assigned to skb
netfilter: tproxy: remove nf_tproxy_core.h
netfilter: nf_conntrack: remove duplicate code in ctnetlink
netfilter: tproxy: fix build with IP6_NF_IPTABLES=n
netfilter: nf_conntrack: don't send destroy events from iterator

Nicolas Dichtel (2):
netfilter: export xt_rpfilter.h to userland
netfilter: export xt_HMARK.h to userland

Pablo Neira Ayuso (2):
netfilter: ctnetlink: refactor ctnetlink_create_expect
netfilter: nfnetlink_queue: allow to attach expectations to conntracks

Patrick McHardy (5):
netfilter: nf_conntrack: remove net_ratelimit() for LOG_INVALID()
netfilter: nf_conntrack: constify sk_buff argument to nf_ct_attach()
netfilter: nf_nat: fix locking in nf_nat_seq_adjust()
netfilter: nf_nat: change sequence number adjustments to 32 bits
netfilter: nf_nat: use per-conntrack locking for sequence number adjustments

Phil Oester (1):
netfilter: xt_addrtype: fix trivial typo

 Documentation/networking/tproxy.txt              |    5 +-
 include/linux/netfilter.h                        |    8 +-
 include/net/netfilter/nf_conntrack.h             |    9 +-
 include/net/netfilter/nf_conntrack_l4proto.h     |    7 -
 include/net/netfilter/nf_nat.h                   |    2 +-
 include/net/netfilter/nf_nat_helper.h            |    6 +-
 include/net/netfilter/nf_tproxy_core.h           |  210 -----------------
 include/net/netfilter/nfnetlink_queue.h          |    8 +
 include/uapi/linux/netfilter/Kbuild              |    2 +
 include/uapi/linux/netfilter/nfnetlink_queue.h   |    1 +
 include/{ => uapi}/linux/netfilter/xt_HMARK.h    |    0
 include/{ => uapi}/linux/netfilter/xt_rpfilter.h |    0
 net/ipv4/netfilter/ipt_MASQUERADE.c              |    2 +-
 net/ipv6/netfilter/ip6t_MASQUERADE.c             |    2 +-
 net/netfilter/Kconfig                            |   22 +-
 net/netfilter/Makefile                           |    3 -
 net/netfilter/core.c                             |    7 +-
 net/netfilter/ipvs/ip_vs_lblcr.c                 |    8 +-
 net/netfilter/ipvs/ip_vs_sh.c                    |    6 +
 net/netfilter/nf_conntrack_core.c                |   69 ++----
 net/netfilter/nf_conntrack_labels.c              |    4 -
 net/netfilter/nf_conntrack_netlink.c             |  269 ++++++++++++++--------
 net/netfilter/nf_conntrack_proto.c               |    4 +-
 net/netfilter/nf_conntrack_proto_tcp.c           |    4 +-
 net/netfilter/nf_nat_core.c                      |    6 +-
 net/netfilter/nf_nat_helper.c                    |   28 ++-
 net/netfilter/nf_tproxy_core.c                   |   62 -----
 net/netfilter/nfnetlink_queue_core.c             |   11 +-
 net/netfilter/nfnetlink_queue_ct.c               |   15 ++
 net/netfilter/xt_TPROXY.c                        |  169 +++++++++++++-
 net/netfilter/xt_addrtype.c                      |    2 +-
 net/netfilter/xt_socket.c                        |   66 +++++-
 32 files changed, 513 insertions(+), 504 deletions(-)
 delete mode 100644 include/net/netfilter/nf_tproxy_core.h
 rename include/{ => uapi}/linux/netfilter/xt_HMARK.h (100%)
 rename include/{ => uapi}/linux/netfilter/xt_rpfilter.h (100%)
 delete mode 100644 net/netfilter/nf_tproxy_core.c