<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
Paul Wouters wrote:<br><br>> <br>> Indeed. The patch is garbled and missing the most part. please try:<br>> <br>> export KERNELSRC=/your/linux/tree<br>> make kpatch<br>> <br>> then apply the resulting patch.<br>> <br>> Paul<br><br>Thanks - this also answered my earlier posting concerning the KLIPS patch in 2.4.10.<br><br>In my case, I found that after applying the patch, but before recompiling my kernel, I had to patch the patch as follows.<br>Based on comments I read in the source prologues, I think that the various blocks of<br>#ifdef CONFIG_KLIPS_ALG<br>,,,<br>#endif<br>in several c fies in /net/ipsec<br>should all be unconditionalised, i.e. remove those macro lines, but I found it easier simply to turn the macro on always.<br><br>John<br><br>*** /usr/src/linux-2.6.23.1-PIII/include/openswan/ipsec_param.h.orig Sat Dec 1 12:57:01 2007<br>--- /usr/src/linux-2.6.23.1-PIII/include/openswan/ipsec_param.h Sat Dec 1 19:42:50 2007<br>***************<br>*** 30,35 ****<br>--- 30,40 ----<br> #ifndef _IPSEC_PARAM_H_<br> <br> #ifdef __KERNEL__<br>+ <br>+ #ifndef CONFIG_KLIPS_ALG /* jel I think this should be unconditional */<br>+ #define CONFIG_KLIPS_ALG /* jel I think this should be unconditional */<br>+ #endif /* jel I think this should be unconditional */<br>+ <br> #include "ipsec_kversion.h"<br> <br> /* Set number of ipsecX virtual devices here. */<br><br> <br><br><br /><hr />HO HO HO, if you've been naughty this year, email Santa! <a href='http://asksanta.ca/?icid=SANTAENCA005' target='_new'>Visit asksanta.ca to learn more!</a></body>
</html>