Skip to content

netfilter fixes for 3.8-rc1

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12netfilter: ip[6]t_REJECT: fix wrong transport header pointer in TCP resetnet/ipv4/netfilter/ipt_REJECT.c net/ipv6/netfilter/ip6t_REJECT.c+2 -00 replies
2/12netfilter: nf_nat: Also handle non-ESTABLISHED routing changes in MASQUERADEnet/ipv4/netfilter/iptable_nat.c net/ipv6/netfilter/ip6table_nat.c+20 -100 replies
3/12netfilter: nf_conntrack_ipv6: fix comment for packets without datanet/ipv6/netfilter/nf_conntrack_l3proto_ipv6.c+2 -20 replies
4/12netfilter: nf_ct_reasm: fix conntrack reassembly expire codenet/ipv6/netfilter/nf_conntrack_reasm.c+4 -10 replies
5/12netfilter: nfnetlink_log: fix mac address for 6in4 tunnelsnet/netfilter/nfnetlink_log.c+12 -30 replies
6/12netfilter: xt_CT: fix crash while destroy ct templatesinclude/net/netns/conntrack.h net/netfilter/nf_conntrack_core.c net/netfilter/xt_CT.c+11 -00 replies
7/12netfilter: nfnetlink_log: fix possible compilation issue due to missing includenet/netfilter/nfnetlink_log.c+1 -00 replies
8/12netfilter: xt_CT: recover NOTRACK target supportinclude/net/netns/x_tables.h net/netfilter/Kconfig net/netfilter/xt_CT.c+54 -10 replies
9/12netfilter: xt_hashlimit: fix race that results in duplicated entriesnet/netfilter/xt_hashlimit.c+21 -40 replies
10/12netfilter: xt_recent: fix namespace destroy pathnet/netfilter/xt_recent.c+16 -40 replies
11/12netfilter: xt_hashlimit: fix namespace destroy pathnet/netfilter/xt_hashlimit.c+25 -40 replies
12/12netfilter: ctnetlink: fix leak in error path of ctnetlink_create_expectnet/netfilter/nf_conntrack_netlink.c+1 -10 replies

Reviews trailers per patch

2 of 12 patches have a Reviewed-by or Acked-by.

PatchJozsef KadlecsikRick Jones
1/12
2/12A-b
3/12A-b
4/12
5/12
6/12
7/12
8/12
9/12
10/12
11/12
12/12

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/12] netfilter fixes for 3.8-rc1

From: Pablo Neira Ayuso <[email protected]>

Hi David,

The following batch contains Netfilter fixes for 3.8-rc1. They are a mixture of old bugs that have passed unnoticed (I'll pass these to stable) and more fresh ones from the previous merge window, they are:

* Fix for MAC address in 6in4 tunnels via NFLOG that results in ulogd showing up wrong address, from Bob Hockney.

* Fix a comment in nf_conntrack_ipv6, from Florent Fourcot.

* Fix a leak an error path in ctnetlink while creating an expectation, from Jesper Juhl.

* Fix missing ICMP time exceeded in the IPv6 defragmentation code, from Haibo Xi.

* Fix inconsistent handling of routing changes in MASQUERADE for the new connections case, from Andrew Collins.

* Fix a missing skb_reset_transport in ip[6]t_REJECT that leads to crashes in the ixgbe driver (since it seems to access the transport header with TSO enabled), from Mukund Jampala.

* Recover obsoleted NOTRACK target by including it into the CT and spot a warning via printk about being obsoleted. Many people don't check the scheduled to be removal file under Documentation, so we follow some less agressive approach to kill this in a year or so. Spotted by Florian Westphal, patch from myself.

* Fix race condition in xt_hashlimit that allows to create two or more entries, from myself.

* Fix crash if the CT is used due to the recently added facilities to consult the dying and unconfirmed conntrack lists, from myself.

That's basically it, you can pull these changes from:

git://1984.lsi.us.es/nf master

Have a nice entrance for the new year. Thanks.

Andrew Collins (1):
netfilter: nf_nat: Also handle non-ESTABLISHED routing changes in MASQUERADE

Bob Hockney (1):
netfilter: nfnetlink_log: fix mac address for 6in4 tunnels

Florent Fourcot (1):
netfilter: nf_conntrack_ipv6: fix comment for packets without data

Haibo Xi (1):
netfilter: nf_ct_reasm: fix conntrack reassembly expire code

Jesper Juhl (1):
netfilter: ctnetlink: fix leak in error path of ctnetlink_create_expect

Mukund Jampala (1):
netfilter: ip[6]t_REJECT: fix wrong transport header pointer in TCP reset

Pablo Neira Ayuso (4):
netfilter: xt_CT: fix crash while destroy ct templates
netfilter: nfnetlink_log: fix possible compilation issue due to missing include
netfilter: xt_CT: recover NOTRACK target support
netfilter: xt_hashlimit: fix race that results in duplicated entries

Vitaly E. Lavrov (2):
netfilter: xt_recent: fix namespace destroy path
netfilter: xt_hashlimit: fix namespace destroy path

 include/net/netns/conntrack.h                  |    1 +
 include/net/netns/x_tables.h                   |    1 +
 net/ipv4/netfilter/ipt_REJECT.c                |    1 +
 net/ipv4/netfilter/iptable_nat.c               |   15 ++++--
 net/ipv6/netfilter/ip6t_REJECT.c               |    1 +
 net/ipv6/netfilter/ip6table_nat.c              |   15 ++++--
 net/ipv6/netfilter/nf_conntrack_l3proto_ipv6.c |    4 +-
 net/ipv6/netfilter/nf_conntrack_reasm.c        |    5 +-
 net/netfilter/Kconfig                          |    4 ++
 net/netfilter/nf_conntrack_core.c              |    2 +
 net/netfilter/nf_conntrack_netlink.c           |    2 +-
 net/netfilter/nfnetlink_log.c                  |   16 +++++--
 net/netfilter/xt_CT.c                          |   58 +++++++++++++++++++++++-
 net/netfilter/xt_hashlimit.c                   |   54 ++++++++++++++++++----
 net/netfilter/xt_recent.c                      |   20 ++++++--
 15 files changed, 169 insertions(+), 30 deletions(-)
Signature · 1 line
1.7.10.4