Skip to content

netfilter updates for net-next (upcoming 3.5), batch 2

[email protected] netdev netfilter-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5netfilter: ip6_tables: add flags parameter to ipv6_find_hdr()include/linux/netfilter_ipv6/ip6_tables.h net/ipv6/netfilter/ip6_tables.c net/ipv6/netfilter/ip6t_ah.c +5 more+49 -180 replies
2/5netfilter: add xt_hmark target for hash-based skb markinginclude/linux/netfilter/xt_HMARK.h net/netfilter/Kconfig net/netfilter/Makefile +1 more+423 -00 replies
3/5netfilter: limit, hashlimit: avoid duplicated inlinenet/netfilter/xt_hashlimit.c net/netfilter/xt_limit.c+5 -80 replies
4/5netfilter: hashlimit: move rateinfo initialization to helpernet/netfilter/xt_hashlimit.c+10 -50 replies
5/5netfilter: hashlimit: byte-based limit modeinclude/linux/netfilter/xt_hashlimit.h net/netfilter/xt_hashlimit.c+106 -200 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/5] netfilter updates for net-next (upcoming 3.5), batch 2

From: Pablo Neira Ayuso <[email protected]>

Hi David,

This is a second batch of netfilter updates for net-next, they contain:

* The new HMARK target from Hans Schillstrom. It took lots of spins to get this into shape. This target provides a hash-based packet / flow pre-classifier for iptables that can be used to distribute packets / flows between uplinks and backend servers. It provides to modes, one that relies on conntrack, and one that is stateless per-packet.

* Byte-based cost calculation for the hashlimit match, to detect when a host consumes more bandwidth than expected. This patch from Florian Westphal.

You can pull these changes from:

git://1984.lsi.us.es/net-next

Thanks!

Florian Westphal (3):
netfilter: limit, hashlimit: avoid duplicated inline
netfilter: hashlimit: move rateinfo initialization to helper
netfilter: hashlimit: byte-based limit mode

Hans Schillstrom (2):
netfilter: ip6_tables: add flags parameter to ipv6_find_hdr()
netfilter: add xt_hmark target for hash-based skb marking

 include/linux/netfilter/xt_HMARK.h        |   45 ++++
 include/linux/netfilter/xt_hashlimit.h    |   10 +-
 include/linux/netfilter_ipv6/ip6_tables.h |    7 +-
 net/ipv6/netfilter/ip6_tables.c           |   36 ++-
 net/ipv6/netfilter/ip6t_ah.c              |    4 +-
 net/ipv6/netfilter/ip6t_frag.c            |    4 +-
 net/ipv6/netfilter/ip6t_hbh.c             |    4 +-
 net/ipv6/netfilter/ip6t_rt.c              |    4 +-
 net/netfilter/Kconfig                     |   15 ++
 net/netfilter/Makefile                    |    1 +
 net/netfilter/xt_HMARK.c                  |  362 +++++++++++++++++++++++++++++
 net/netfilter/xt_TPROXY.c                 |    4 +-
 net/netfilter/xt_hashlimit.c              |  129 ++++++++--
 net/netfilter/xt_limit.c                  |    5 +-
 net/netfilter/xt_socket.c                 |    4 +-
 15 files changed, 588 insertions(+), 46 deletions(-)
 create mode 100644 include/linux/netfilter/xt_HMARK.h
 create mode 100644 net/netfilter/xt_HMARK.c
Signature · 1 line
1.7.9.5