Ho'ala Greevy wrote:
hey folks,


It's been a few years since i did this, so any help you can provide is
greatly appreciated.

I need to patch a kernel from 2.4.9-31 to 2.4.12 and then apply another
patch to enable PPTP masquerading -
http://www.impsec.org/linux/masquerade/netfilter_pptp_2_4_12.patch.gz

PPTP patch is now in the patch-o-matic. You should be able to use any recent kernel (I reccomend 2.4.19-rc as .19 has lots of netfilter fixes), though 2.4.12 might be a bit old (and wasn't a very good kernel anyway IIRC). You will probably also have to patch with newnat (which you want anyway, trust me).

Also, you don't patch kernel binaries; you patch the kernel source trees. In this case, none of the vanilla patches would work anyway since 2.4.9-31 is an extremely modified redhat series.


It's my understanding that kernel patches must be made incrementally i.e.,
apply 2.4.10 before applying 2.4.11, but on the kernel.org site
(http://www.kernel.org/pub/linux/kernel/v2.4/), the 2.4.11 patch series is
labeled as "patch-2.4.11-dontuse.gz"
hmmmm....


Yes they do have to be done incrementally. 2.4.11 is labeled dontuse because it had a severe filesystem corruption bug. The dontuse is there to tell people to NOT run that kernel. The patch is provided for patching up to a later kernel and historical purposes only.


Aloha,
Ho'ala

--MonMotha

Reply via email to