[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 to - without luck, so i 
> need to know which kernel the nat-t-patch was tested against.


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


More information about the Users mailing list