Skip to content

Updated IPSEC NAT patches for 2.6.11

Christophe Saout netfilter-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 of 4 patches 2 repliesIn review

3 of 4 patches are in this archive. The cover letter announces 4.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
2/4IPSEC input hooksinclude/linux/netfilter_ipv4.h include/net/protocol.h include/net/xfrm.h +8 more+107 -50 replies
3/4IPSEC policy lookupsnet/core/netfilter.c net/ipv4/netfilter/ip_conntrack_standalone.c net/ipv4/netfilter/ip_nat_standalone.c+90 -90 replies
4/4IPSEC policy checksinclude/linux/netfilter.h include/net/xfrm.h net/core/netfilter.c +5 more+75 -120 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/4] Updated IPSEC NAT patches for 2.6.11

Hi,

I've forward-ported Patrick McHardy's patches that make the kernel IPSEC work with NAT.

Since there probably won't be any more big changes between 2.6.11-rc4 and the final 2.6.11 I'm posting them now.

The biggest change is in the last patch (ipsec-04-policy-checks.diff). I needed to rewrite nf_nat_decode_session4 due to the big NAT changes. I hope I got everything right. I couldn't find a situation where it failed.
I also added a missing return in nat_route_key_compare that made the kernel fail with certain compiler flags.