[Openswan Users] Is OpenSwan 2.6.33 supporting kernel 2.4?

Paul Wouters paul at xelerance.com
Tue Feb 22 14:04:30 EST 2011


On Tue, 22 Feb 2011, Yannick Koehler wrote:

>   I'd like to apologize in advance for my "newbie" type of question.  My goal is to upgrade a package that today uses FreeS/WAN 1.9.x on the kernel2.4
> to both kernel 2.4 and 2.6 as well as to IPv6.

Yes, openswan 2.6.33 should work fine on 2.4.x kernels.

>   I tried to compiled openswan 2.6.33 with kernel 2.4.37.9 and got an error related to missing linux/pfkeyv2.h this seems to indicate a lack of kernel
> 2.4 support.  I would like to know if someone had worked out a kernel 2.4.x patch for openswan since the 2.6.33 release?

There have been some confusions about pfkeyv2.h because some kernels included it while others did not. And
its support has been incomplete at times too.

Try changing it to include <openswan/pfkeyv2.h>

Paul


More information about the Users mailing list