: Netfilter 2.6.23 update
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest50 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/50 | : nf_conntrack_h323: check range first in sequence extensionnet/ | +9 | 0 replies | |
| 2/50 | : ip6_tables: fix explanation of valid upper protocol numberinclude/ | +8 | 0 replies | |
| 3/50 | : x_tables: switch hotdrop to boolinclude/ net/ net/ +43 more | +92 | 0 replies | |
| 4/50 | : x_tables: switch xt_match->match to boolinclude/ net/ net/ +42 more | +320 | 0 replies | |
| 5/50 | : x_tables: switch xt_match->checkentry to boolinclude/ net/ net/ +30 more | +148 | 0 replies | |
| 6/50 | : x_tables: switch xt_target->checkentry to boolinclude/ net/ net/ +21 more | +174 | 0 replies | |
| 7/50 | : add some consts, remove some castsnet/ net/ net/ +33 more | +136 | 0 replies | |
| 8/50 | : Remove incorrect inline markersnet/ net/ | +2 | 0 replies | |
| 9/50 | : Remove redundant parentheses/bracesnet/ net/ net/ +25 more | +90 | 0 replies | |
| 10/50 | : nf_nat_sip: only perform RTP DNAT if SIP session was SNATednet/ | +5 | 0 replies | |
| 11/50 | : Add u32 matchinclude/ net/ net/ +1 more | +189 | 0 replies | |
| 12/50 | : x_tables: add TRACE targetinclude/ net/ net/ +6 more | +314 | 0 replies | |
| 13/50 | : x_tables: mark matches and targets __read_mostlynet/ net/ net/ +70 more | +79 | 2 replies | |
| 14/50 | : nf_nat: move NAT declarations from nf_conntrack_ipv4.h to nf_nat.hinclude/ include/ include/ +1 more | +21 | 0 replies | |
| 15/50 | : nf_conntrack: introduce extension infrastructureinclude/ include/ net/ +2 more | +283 | 0 replies | |
| 16/50 | : nf_conntrack: use extension infrastructure for helperinclude/ include/ include/ +5 more | +99 | 0 replies | |
| 17/50 | : nf_nat: add reference to conntrack from entry of bysource listinclude/ net/ | +6 | 0 replies | |
| 18/50 | : nf_nat: use extension infrastructureinclude/ include/ include/ +3 more | +73 | 0 replies | |
| 19/50 | : nf_nat: remove unused nf_nat_module_is_loadedinclude/ net/ net/ | +0 | 0 replies | |
| 20/50 | : nf_conntrack: remove old memory allocator of conntrackinclude/ include/ net/ +3 more | +15 | 0 replies | |
| 21/50 | : nf_nat: kill global 'destroy' operationinclude/ net/ net/ | +22 | 0 replies | |
| 22/50 | : nf_nat: merge nf_conn and nf_nat_infoinclude/ net/ net/ | +23 | 0 replies | |
| 23/50 | : nf_conntrack_extend: use __read_mostly for struct nf_ct_ext_typenet/ net/ | +2 | 0 replies | |
| 24/50 | : nf_conntrack: round up hashsize to next multiple of PAGE_SIZEnet/ | +12 | 0 replies | |
| 25/50 | : nf_conntrack: use hlists for conntrack hashinclude/ include/ net/ +4 more | +83 | 0 replies | |
| 26/50 | : nf_conntrack: remove 'ignore_conntrack' argument from nf_conntrack_find_getinclude/ net/ net/ +4 more | +12 | 0 replies | |
| 27/50 | : nf_conntrack: export hash allocation/destruction functionsinclude/ net/ | +16 | 0 replies | |
| 28/50 | : nf_nat: use hlists for bysource hashinclude/ net/ | +12 | 0 replies | |
| 29/50 | : nf_conntrack_expect: function naming unificationinclude/ include/ include/ +22 more | +251 | 0 replies | |
| 30/50 | : nf_conntrack_ftp: use nf_ct_expect_initnet/ | +6 | 0 replies | |
| 31/50 | : nf_conntrack: reduce masks to a subset of tuplesinclude/ include/ include/ +13 more | +71 | 0 replies | |
| 32/50 | : nf_conntrack_expect: avoid useless list walkingnet/ | +3 | 0 replies | |
| 33/50 | : nf_conntrack_netlink: sync expectation dumping with conntrack table dumpingnet/ | +25 | 0 replies | |
| 34/50 | : nf_conntrack: move expectaton related init code to nf_conntrack_expect.cinclude/ net/ net/ +1 more | +59 | 0 replies | |
| 35/50 | : nf_conntrack: use hashtable for expectationsinclude/ include/ net/ | +71 | 0 replies | |
| 36/50 | : nf_conntrack_expect: convert proc functions to hashnet/ net/ | +121 | 0 replies | |
| 37/50 | : nf_conntrack_helper/nf_conntrack_netlink: convert to expectation hashnet/ net/ | +58 | 0 replies | |
| 38/50 | : nf_conntrack_expect: maintain per conntrack expectation listinclude/ include/ include/ +4 more | +45 | 0 replies | |
| 39/50 | : nf_conntrack_expect: introduce nf_conntrack_expect_max sysctinclude/ net/ net/ | +19 | 0 replies | |
| 40/50 | : nf_conntrack_helper: use hashtable for conntrack helpersinclude/ net/ | +59 | 0 replies | |
| 41/50 | : nf_conntrack: mark helpers __read_mostlynet/ net/ | +4 | 0 replies | |
| 42/50 | : nf_conntrack: early_drop improvementnet/ | +15 | 0 replies | |
| 43/50 | : ipt_SAME: add to feature-removal-scheduleDocumentation/ net/ | +9 | 0 replies | |
| 44/50 | : ipt_CLUSTERIP: add compat codeinclude/ net/ | +22 | 0 replies | |
| 45/50 | : nf_conntrack_h323: turn some printks into DEBUGPsnet/ | +10 | 0 replies | |
| 46/50 | : xt_helper: use RCUnet/ | +8 | 0 replies | |
| 47/50 | : Convert DEBUGP to pr_debuginclude/ include/ net/ +45 more | +662 | 0 replies | |
| 48/50 | : nfnetlink_queue: don't unregister handler of other subsysteminclude/ net/ net/ | +9 | 0 replies | |
| 49/50 | : nf_queue: Use RCU and mutex for queue handlersnet/ | +29 | 0 replies | |
| 50/50 | : x_tables: add more detail to error message about match/target mask mismatchnet/ | +5 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [NETFILTER 00/50]: Netfilter 2.6.23 update
Hi Dave,
following is a large netfilter update for 2.6.23, featuring
- rework of the conntrack allocator by Yasuyuki. We're now using dynamically sized extension areas for things like helper data, expectations, NAT. This fixes a number of problems resulting from the old allocator scheme, most importantly we don't need to search the helper and expectation lists twice anymore.
- conversion of the conntrack and NAT hash tables to hlists
- patches to reduce the ability to mask tuples in expectations and helpers, which allows to keep them in a hash table. This fixes an easy DoS against conntrack and should also improve performance.
- improvement of conntrack eviction under pressure
- new xt_TRACE target that allows to trace packets through the netfilter hooks (unfortunately needs 1 bit in the skb)
- new xt_u32 match, which is the iptables equivalent to cls_u32
- some cleanup work by Jan Engelhardt to use bools where possible
- lots of minor cleanups: conversion from self-made debugging macros to pr_debug, __read_mostly annotations, ...
Please apply, thanks.
Documentation/feature-removal-schedule.txt | 8 + include/linux/netfilter.h | 3 +- include/linux/netfilter/nf_conntrack_pptp.h | 2 + include/linux/netfilter/x_tables.h | 36 +- include/linux/netfilter/xt_u32.h | 40 ++ include/linux/netfilter_ipv4/ipt_CLUSTERIP.h | 4 +- include/linux/netfilter_ipv6/ip6_tables.h | 10 +- include/linux/skbuff.h | 4 +- include/net/netfilter/ipv4/nf_conntrack_ipv4.h | 23 +- include/net/netfilter/nf_conntrack.h | 66 +--- include/net/netfilter/nf_conntrack_core.h | 11 +- include/net/netfilter/nf_conntrack_ecache.h | 17 +- include/net/netfilter/nf_conntrack_expect.h | 42 +- include/net/netfilter/nf_conntrack_extend.h | 85 ++++ include/net/netfilter/nf_conntrack_helper.h | 16 +- include/net/netfilter/nf_conntrack_l3proto.h | 2 - include/net/netfilter/nf_conntrack_tuple.h | 78 ++-- include/net/netfilter/nf_nat.h | 28 +- include/net/netfilter/nf_nat_core.h | 1 + net/core/skbuff.c | 8 + net/ipv4/ip_output.c | 4 + net/ipv4/netfilter/Kconfig | 2 +- net/ipv4/netfilter/arp_tables.c | 6 +- net/ipv4/netfilter/arpt_mangle.c | 10 +- net/ipv4/netfilter/ip_tables.c | 175 ++++++-- net/ipv4/netfilter/ipt_CLUSTERIP.c | 116 ++--- net/ipv4/netfilter/ipt_ECN.c | 36 +- net/ipv4/netfilter/ipt_LOG.c | 56 ++- net/ipv4/netfilter/ipt_MASQUERADE.c | 30 +- net/ipv4/netfilter/ipt_NETMAP.c | 23 +- net/ipv4/netfilter/ipt_REDIRECT.c | 20 +- net/ipv4/netfilter/ipt_REJECT.c | 30 +- net/ipv4/netfilter/ipt_SAME.c | 69 ++-- net/ipv4/netfilter/ipt_TOS.c | 8 +- net/ipv4/netfilter/ipt_TTL.c | 14 +- net/ipv4/netfilter/ipt_ULOG.c | 68 ++-- net/ipv4/netfilter/ipt_addrtype.c | 14 +- net/ipv4/netfilter/ipt_ah.c | 25 +- net/ipv4/netfilter/ipt_ecn.c | 59 ++-- net/ipv4/netfilter/ipt_iprange.c | 50 +-- net/ipv4/netfilter/ipt_owner.c | 20 +- net/ipv4/netfilter/ipt_recent.c | 43 +- net/ipv4/netfilter/ipt_tos.c | 6 +- net/ipv4/netfilter/ipt_ttl.c | 26 +- net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c | 36 +- .../netfilter/nf_conntrack_l3proto_ipv4_compat.c | 106 +++-- net/ipv4/netfilter/nf_conntrack_proto_icmp.c | 26 +- net/ipv4/netfilter/nf_nat_amanda.c | 4 +- net/ipv4/netfilter/nf_nat_core.c | 127 ++++-- net/ipv4/netfilter/nf_nat_ftp.c | 18 +- net/ipv4/netfilter/nf_nat_h323.c | 121 +++--- net/ipv4/netfilter/nf_nat_helper.c | 55 +-- net/ipv4/netfilter/nf_nat_irc.c | 17 +- net/ipv4/netfilter/nf_nat_pptp.c | 43 +- net/ipv4/netfilter/nf_nat_proto_gre.c | 17 +- net/ipv4/netfilter/nf_nat_rule.c | 48 +- net/ipv4/netfilter/nf_nat_sip.c | 18 +- net/ipv4/netfilter/nf_nat_snmp_basic.c | 6 - net/ipv4/netfilter/nf_nat_standalone.c | 47 +-- net/ipv4/netfilter/nf_nat_tftp.c | 2 +- net/ipv6/ip6_output.c | 4 + net/ipv6/netfilter/ip6_tables.c | 200 ++++++-- net/ipv6/netfilter/ip6t_HL.c | 14 +- net/ipv6/netfilter/ip6t_LOG.c | 57 ++- net/ipv6/netfilter/ip6t_REJECT.c | 45 +- net/ipv6/netfilter/ip6t_ah.c | 82 ++-- net/ipv6/netfilter/ip6t_eui64.c | 20 +- net/ipv6/netfilter/ip6t_frag.c | 111 ++--- net/ipv6/netfilter/ip6t_hbh.c | 88 ++-- net/ipv6/netfilter/ip6t_hl.c | 22 +- net/ipv6/netfilter/ip6t_ipv6header.c | 22 +- net/ipv6/netfilter/ip6t_mh.c | 30 +- net/ipv6/netfilter/ip6t_owner.c | 26 +- net/ipv6/netfilter/ip6t_rt.c | 134 +++--- net/ipv6/netfilter/ip6table_mangle.c | 6 - net/ipv6/netfilter/ip6table_raw.c | 6 - net/ipv6/netfilter/nf_conntrack_l3proto_ipv6.c | 16 +- net/ipv6/netfilter/nf_conntrack_proto_icmpv6.c | 26 +- net/ipv6/netfilter/nf_conntrack_reasm.c | 52 +-- net/netfilter/Kconfig | 25 + net/netfilter/Makefile | 4 +- net/netfilter/core.c | 6 +- net/netfilter/nf_conntrack_amanda.c | 17 +- net/netfilter/nf_conntrack_core.c | 513 +++++++------------- net/netfilter/nf_conntrack_ecache.c | 16 +- net/netfilter/nf_conntrack_expect.c | 365 +++++++++----- net/netfilter/nf_conntrack_extend.c | 195 ++++++++ net/netfilter/nf_conntrack_ftp.c | 143 +++---- net/netfilter/nf_conntrack_h323_asn1.c | 18 +- net/netfilter/nf_conntrack_h323_main.c | 307 ++++++------- net/netfilter/nf_conntrack_helper.c | 131 ++++-- net/netfilter/nf_conntrack_irc.c | 39 +- net/netfilter/nf_conntrack_l3proto_generic.c | 13 - net/netfilter/nf_conntrack_netbios_ns.c | 12 +- net/netfilter/nf_conntrack_netlink.c | 182 +++++--- net/netfilter/nf_conntrack_pptp.c | 120 +++--- net/netfilter/nf_conntrack_proto_gre.c | 28 +- net/netfilter/nf_conntrack_proto_sctp.c | 92 ++--- net/netfilter/nf_conntrack_proto_tcp.c | 129 +++--- net/netfilter/nf_conntrack_sane.c | 45 +-- net/netfilter/nf_conntrack_sip.c | 37 +- net/netfilter/nf_conntrack_standalone.c | 43 +- net/netfilter/nf_conntrack_tftp.c | 32 +- net/netfilter/nf_queue.c | 57 ++- net/netfilter/nfnetlink_queue.c | 4 +- net/netfilter/x_tables.c | 9 +- net/netfilter/xt_CLASSIFY.c | 2 +- net/netfilter/xt_CONNMARK.c | 18 +- net/netfilter/xt_CONNSECMARK.c | 18 +- net/netfilter/xt_DSCP.c | 18 +- net/netfilter/xt_MARK.c | 24 +- net/netfilter/xt_NFLOG.c | 12 +- net/netfilter/xt_NFQUEUE.c | 2 +- net/netfilter/xt_NOTRACK.c | 2 +- net/netfilter/xt_SECMARK.c | 26 +- net/netfilter/xt_TCPMSS.c | 28 +- net/netfilter/xt_TRACE.c | 53 ++ net/netfilter/xt_comment.c | 8 +- net/netfilter/xt_connbytes.c | 32 +- net/netfilter/xt_connmark.c | 26 +- net/netfilter/xt_conntrack.c | 42 +- net/netfilter/xt_dccp.c | 50 +- net/netfilter/xt_dscp.c | 48 +- net/netfilter/xt_esp.c | 24 +- net/netfilter/xt_hashlimit.c | 63 ++-- net/netfilter/xt_helper.c | 61 +-- net/netfilter/xt_length.c | 14 +- net/netfilter/xt_limit.c | 23 +- net/netfilter/xt_mac.c | 16 +- net/netfilter/xt_mark.c | 16 +- net/netfilter/xt_multiport.c | 54 +- net/netfilter/xt_physdev.c | 48 +- net/netfilter/xt_pkttype.c | 10 +- net/netfilter/xt_policy.c | 50 +- net/netfilter/xt_quota.c | 21 +- net/netfilter/xt_realm.c | 8 +- net/netfilter/xt_sctp.c | 61 ++-- net/netfilter/xt_state.c | 20 +- net/netfilter/xt_statistic.c | 20 +- net/netfilter/xt_string.c | 38 +- net/netfilter/xt_tcpmss.c | 10 +- net/netfilter/xt_tcpudp.c | 63 ++-- net/netfilter/xt_u32.c | 135 +++++ 143 files changed, 3636 insertions(+), 3156 deletions(-) create mode 100644 include/linux/netfilter/xt_u32.h create mode 100644 include/net/netfilter/nf_conntrack_extend.h create mode 100644 net/netfilter/nf_conntrack_extend.c create mode 100644 net/netfilter/xt_TRACE.c create mode 100644 net/netfilter/xt_u32.c
Balazs Scheidler (1):
[NETFILTER]: x_tables: add more detail to error message about match/target mask mismatch
Jan Engelhardt (8):
[NETFILTER]: x_tables: switch hotdrop to bool [NETFILTER]: x_tables: switch xt_match->match to bool [NETFILTER]: x_tables: switch xt_match->checkentry to bool [NETFILTER]: x_tables: switch xt_target->checkentry to bool [NETFILTER]: add some consts, remove some casts [NETFILTER]: Remove incorrect inline markers [NETFILTER]: Remove redundant parentheses/braces [NETFILTER]: Add u32 match
Jerome Borsboom (1):
[NETFILTER]: nf_nat_sip: only perform RTP DNAT if SIP session was SNATed
Jing Min Zhao (1):
[NETFILTER]: nf_conntrack_h323: check range first in sequence extension
Jozsef Kadlecsik (1):
[NETFILTER]: x_tables: add TRACE target
Patrick McHardy (26):
[NETFILTER]: x_tables: mark matches and targets __read_mostly [NETFILTER]: nf_conntrack_extend: use __read_mostly for struct nf_ct_ext_type [NETFILTER]: nf_conntrack: round up hashsize to next multiple of PAGE_SIZE [NETFILTER]: nf_conntrack: use hlists for conntrack hash
[NETFILTER]: nf_conntrack: remove 'ignore_conntrack' argument from nf_conntrack_find_get [NETFILTER]: nf_conntrack: export hash allocation/destruction functions [NETFILTER]: nf_nat: use hlists for bysource hash
[NETFILTER]: nf_conntrack_expect: function naming unification [NETFILTER]: nf_conntrack_ftp: use nf_ct_expect_init
[NETFILTER]: nf_conntrack: reduce masks to a subset of tuples [NETFILTER]: nf_conntrack_expect: avoid useless list walking
[NETFILTER]: nf_conntrack_netlink: sync expectation dumping with conntrack table dumping [NETFILTER]: nf_conntrack: move expectaton related init code to nf_conntrack_expect.c [NETFILTER]: nf_conntrack: use hashtable for expectations
[NETFILTER]: nf_conntrack_expect: convert proc functions to hash [NETFILTER]: nf_conntrack_helper/nf_conntrack_netlink: convert to expectation hash [NETFILTER]: nf_conntrack_expect: maintain per conntrack expectation list [NETFILTER]: nf_conntrack_expect: introduce nf_conntrack_expect_max sysct [NETFILTER]: nf_conntrack_helper: use hashtable for conntrack helpers [NETFILTER]: nf_conntrack: mark helpers __read_mostly
[NETFILTER]: nf_conntrack: early_drop improvement
[NETFILTER]: ipt_SAME: add to feature-removal-schedule
[NETFILTER]: ipt_CLUSTERIP: add compat code
[NETFILTER]: nf_conntrack_h323: turn some printks into DEBUGPs [NETFILTER]: xt_helper: use RCU
[NETFILTER]: Convert DEBUGP to pr_debug
Yasuyuki Kozakai (12):
[NETFILTER]: ip6_tables: fix explanation of valid upper protocol number [NETFILTER]: nf_nat: move NAT declarations from nf_conntrack_ipv4.h to nf_nat.h [NETFILTER]: nf_conntrack: introduce extension infrastructure [NETFILTER]: nf_conntrack: use extension infrastructure for helper [NETFILTER]: nf_nat: add reference to conntrack from entry of bysource list [NETFILTER]: nf_nat: use extension infrastructure
[NETFILTER]: nf_nat: remove unused nf_nat_module_is_loaded [NETFILTER]: nf_conntrack: remove old memory allocator of conntrack [NETFILTER]: nf_nat: kill global 'destroy' operation
[NETFILTER]: nf_nat: merge nf_conn and nf_nat_info
[NETFILTER]: nfnetlink_queue: don't unregister handler of other subsystem [NETFILTER]: nf_queue: Use RCU and mutex for queue handlers