Skip to content

Netfilter updates for stable 3.0 onwards

[email protected] netfilter-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3netfilter: Mark SYN/ACK packets as invalid from original directionnet/netfilter/nf_conntrack_proto_tcp.c+8 -110 replies
2/3netfilter: Validate the sequence number of dataless ACK packets as wellnet/netfilter/nf_conntrack_proto_tcp.c+2 -80 replies
3/3netfilter: nf_nat: don't check for port change on ICMP tuplesnet/ipv4/netfilter/nf_nat_standalone.c+4 -20 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/3] [-stable] Netfilter updates for stable 3.0 onwards

From: Pablo Neira Ayuso <[email protected]>

Hi!

Please, consider the following Netfilter patches for stable 3.0 and onwards inclusion.

The selected three patches are:

4a70bbf netfilter: Validate the sequence number of dataless ACK packets as well 64f509c netfilter: Mark SYN/ACK packets as invalid from original direction [BACKPORT] 38fe36a netfilter: nf_nat: don't check for port change on ICMP tuples

The first two patches can be considered security fixes in the TCP connection tracking to make harder off-path attacks. For more information you can read:
"Reflection scan: an Off-Path Attack on TCP" by Jan Wrobel.

The latter fixes the re-routing of every ICMP packet going through NAT even if it is not required, which is an expensive operation. That one has been backported to 3.0.

Please, cherry-pick them. Thanks!

Jozsef Kadlecsik (2):
netfilter: Mark SYN/ACK packets as invalid from original direction
netfilter: Validate the sequence number of dataless ACK packets as well

Ulrich Weber (1):
netfilter: nf_nat: don't check for port change on ICMP tuples

 net/ipv4/netfilter/nf_nat_standalone.c |    6 ++++--
 net/netfilter/nf_conntrack_proto_tcp.c |   29 ++++++++++-------------------
 2 files changed, 14 insertions(+), 21 deletions(-)

--
1.7.10.4