pptp-conntrack-nat will not apply to 2.4.29 - Workaround
hivemynd at hivemynd.net
Sat Jan 22 08:45:06 CET 2005
I was attempting to bake a 2.4.29 kernel this weekend and ran into a
problem with applying the pptp-conntrack-nat patch from
patch-o-matic-ng-20040621 and as well from the svn version 3605.
The iptables source is for 1.2.11
The error from patch-o-matic ./runme is:
"unable to find ladd slot in src
I compared the Config.in files from a clean 2.4.28 to the one from
2.4.29, and the only difference:
# Output of:
diff --normal /linux-2.4.28-clean/net/ipv4/netfilter/Config.in
< bool ' NAT of local connections (READ HELP)'
I got the pptp-conntrack-nat patch to apply by simply adding that line
back to the /net/ipv4/netfilter/Config.in that is included with the
2.4.29 sources. The problem is the match line in the:
file is looking for:
bool ' NAT of local connections (READ HELP)'
in the /net/ipv4/netfilter/Config.in file, and it is no longer there.
I don't know enough about the structure of the Config.in files to
suggest an appropriate, permanent solution :(
I then remove the unneeded line before compiling the kernel sources.
PS: The nat-reservations patch is incompatible with the
pptp-conntrack-nat patch, perhaps a check in the pom-ng could prevent
people from accidentally "shooting themselves in the foot" with these
More information about the netfilter-devel