Skip to content

Netfilter fixes for net

Pablo Neira Ayuso netfilter-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9netfilter: nf_ct_h323: do not re-activate already expired timernet/netfilter/nf_conntrack_h323_main.c+2 -10 replies
2/9netfilter: nf_tables: s/MFT_REG32_01/NFT_REG32_01include/uapi/linux/netfilter/nf_tables.h+1 -10 replies
3/9netfilter: nft_rbtree: ignore inactive matching element with no descendantsnet/netfilter/nft_rbtree.c+6 -40 replies
4/9netfilter: nf_conntrack_sip: CSeq 0 is a valid CSeqnet/netfilter/nf_conntrack_sip.c+2 -20 replies
5/9netfilter: nf_ct_expect: remove the redundant slash when policy name is emptynet/netfilter/nf_conntrack_expect.c+1 -10 replies
6/9netfilter: nfnetlink_queue: fix memory leak when attach expectation successfullynet/netfilter/nf_conntrack_netlink.c+2 -60 replies
7/9netfilter: nfnetlink_queue: reject verdict request from different portidnet/netfilter/nfnetlink_queue.c+2 -40 replies
8/9netfilter: ctnetlink: reject new conntrack request with different l4protonet/netfilter/nf_conntrack_netlink.c+2 -00 replies
9/9netfilter: nft_exthdr: Add size check on u8 nft_exthdr attributesnet/netfilter/nft_exthdr.c+9 -20 replies

Reviews trailers per patch

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

PatchFlorian WestphalAnders K. Pedersen
1/9
2/9
3/9T-b
4/9
5/9
6/9
7/9R-b
8/9
9/9

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 0/9] Netfilter fixes for net

Hi David,

The following patchset contains Netfilter fixes for your net tree, they are:

1) Use mod_timer_pending() to avoid reactivating a dead expectation in the h323 conntrack helper, from Liping Zhang.

2) Oneliner to fix a type in the register name defined in the nf_tables header.

3) Don't try to look further when we find an inactive elements with no descendants in the rbtree set implementation, otherwise we crash.

4) Handle valid zero CSeq in the SIP conntrack helper, from Christophe Leroy.

5) Don't display a trailing slash in conntrack helper with no classes via /proc/net/nf_conntrack_expect, from Liping Zhang.

6) Fix an expectation leak during creation from the nfqueue path, again from Liping Zhang.

7) Validate netlink port ID in verdict message from nfqueue, otherwise an injection can be possible. Again from Zhang.

8) Reject conntrack tuples with different transport protocol on original and reply tuples, also from Zhang.

9) Validate offset and length in nft_exthdr, make sure they are under sizeof(u8), from Laura Garcia Liebana.

You can pull these changes from:

git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf.git

Thanks!

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

The following changes since commit c518189567eaf42b2ec50a4d982484c8e38799f8:

net: macb: Correct CAPS mask (2016-08-06 20:53:06 -0400)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf.git HEAD

for you to fetch changes up to 4da449ae1df9cfeb167e78f250b250eff64bc65e:

netfilter: nft_exthdr: Add size check on u8 nft_exthdr attributes (2016-08-10 13:10:13 +0200)

----------------------------------------------------------------
Christophe Leroy (1):
netfilter: nf_conntrack_sip: CSeq 0 is a valid CSeq

Laura Garcia Liebana (1):
netfilter: nft_exthdr: Add size check on u8 nft_exthdr attributes

Liping Zhang (5):
netfilter: nf_ct_h323: do not re-activate already expired timer
netfilter: nf_ct_expect: remove the redundant slash when policy name is empty
netfilter: nfnetlink_queue: fix memory leak when attach expectation successfully
netfilter: nfnetlink_queue: reject verdict request from different portid
netfilter: ctnetlink: reject new conntrack request with different l4proto

Pablo Neira Ayuso (2):
netfilter: nf_tables: s/MFT_REG32_01/NFT_REG32_01
netfilter: nft_rbtree: ignore inactive matching element with no descendants

 include/uapi/linux/netfilter/nf_tables.h |  2 +-
 net/netfilter/nf_conntrack_expect.c      |  2 +-
 net/netfilter/nf_conntrack_h323_main.c   |  3 ++-
 net/netfilter/nf_conntrack_netlink.c     | 10 ++++------
 net/netfilter/nf_conntrack_sip.c         |  4 ++--
 net/netfilter/nfnetlink_queue.c          |  6 ++----
 net/netfilter/nft_exthdr.c               | 11 +++++++++--
 net/netfilter/nft_rbtree.c               | 10 ++++++----
 8 files changed, 27 insertions(+), 21 deletions(-)