[Openswan Users] Which 2.6 kernel can the nat-t-patch from the 2.4.16 release be used with?

Paul Wouters paul at xelerance.com
Fri Jun 13 15:05:51 EDT 2008



> ipsec: Unknown symbol ipsec_nat_encap
> 
> The ipsec_net_encap is a rutine applied to the kernel when patching it 
> with the nat-t-patch, but get's a lot of faults:

> Hunk #1 FAILED at 108.
> Hunk #2 FAILED at 882.
> Hunk #3 FAILED at 914.
> Hunk #4 FAILED at 1044.
> Hunk #5 FAILED at 1153.
> Hunk #6 succeeded at 1690 (offset 49 lines).

You cannot ignore those! of course it wont work if the patch does not apply.

> Tried several kernels, from 2.6.25.2 to 2.6.25.6 - without luck, so i 
> need to know which kernel the nat-t-patch was tested against.

2.6.23?

It is not that difficult a patch. Check the .rej file and try to apply
it manually using an editor?

Paul


More information about the Users mailing list