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

Michael L. openswan at cosis.dk
Fri Jun 13 14:56:16 EDT 2008


Paul Wouters wrote:
>   
>>  I'm trying to apply the nat-t-patch from the Openswan-2.4.16 release, 
>> to my kernel (2.6.25.4), but it fails, which subsequently makes the 
>> Ipsec.ko module fail.
>>     
>
> Use the latest one on the ftp/web site, which is probably the 2.6.23 nat-t
> patch.
>
> Paul
>   
Tried that, same result - it fails with this:

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:

[root at Boomer linux# patch -p1<../nat-t-patch-2.6.diff
patching file include/net/xfrmudp.h
patching file net/ipv4/Kconfig
Hunk #1 succeeded at 351 with fuzz 1.
patching file net/ipv4/udp.c
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).
5 out of 6 hunks FAILED -- saving rejects to file net/ipv4/udp.c.rej
[root at Boomer linux#

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.

Best Regards
Michael L.


More information about the Users mailing list