All of lore.kernel.org
 help / color / mirror / Atom feed
* pptp-conntrack-nat will not apply to 2.4.29 - Workaround
@ 2005-01-22  7:45 Stephen Jones
  2005-02-01 13:20 ` Harald Welte
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Jones @ 2005-01-22  7:45 UTC (permalink / raw)
  To: netfilter-devel

Hello devel-list!

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 
/usr/src/linux-2.4.29/net/ipv4/netfilter/Config.in"

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 
/linux-2.4.29-clean/net/ipv4/netfilter/Config.in
69d68
<       bool '    NAT of local connections (READ HELP)' 
CONFIG_IP_NF_NAT_LOCAL


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:

/patch-o-matic-ng-XXXX/pptp-conntrack-nat/linux/net/ipv4/netfilter/Config.in.ladd_2

file is looking for:

       bool '    NAT of local connections (READ HELP)' 
CONFIG_IP_NF_NAT_LOCAL


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 
two? :)

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: pptp-conntrack-nat will not apply to 2.4.29 - Workaround
  2005-01-22  7:45 pptp-conntrack-nat will not apply to 2.4.29 - Workaround Stephen Jones
@ 2005-02-01 13:20 ` Harald Welte
  0 siblings, 0 replies; 2+ messages in thread
From: Harald Welte @ 2005-02-01 13:20 UTC (permalink / raw)
  To: Stephen Jones; +Cc: netfilter-devel

[-- Attachment #1: Type: text/plain, Size: 833 bytes --]

On Sat, Jan 22, 2005 at 01:45:06AM -0600, Stephen Jones wrote:
> I don't know enough about the structure of the Config.in files to 
> suggest an appropriate, permanent solution :(

fixed in svn now.

> 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 
> two? :)

committed to svn (Reviion 3628)

-- 
- Harald Welte <laforge@netfilter.org>             http://www.netfilter.org/
============================================================================
  "Fragmentation is like classful addressing -- an interesting early
   architectural error that shows how much experimentation was going
   on while IP was being designed."                    -- Paul Vixie

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-02-01 13:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-22  7:45 pptp-conntrack-nat will not apply to 2.4.29 - Workaround Stephen Jones
2005-02-01 13:20 ` Harald Welte

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.