[Openswan Users] Patch 2.6.37 for use with NAT-T (stack klips)

Diogo V. kersting k at brlix.com
Wed Mar 23 15:19:15 EDT 2011


I want to use NAT-T with the stack klips. I am already able to connect
directly using openswan and klips, but still no success in NAT-T.
I read on README that I have to patch the kernel, but it fails. (the patch
is incompatible with this kernel? Is it too hard to fix the patch? What is
the latest kernel which is compatible with this patch?)

# export KERNELSRC=/usr/src/linux-2.6.37/
# make nattpatch > /usr/src/openswan-ipsec-natt.patch
# cd /usr/src/
# cd linux-2.6.37/
# patch -p1 < ../openswan-ipsec-natt.patch

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 FAILED at 1641.

I tried google but did not find anyone with similar problems using 2.6.37
and openswan-2.6.33

Any suggestions?

-- 
--
Diogo V. Kersting
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openswan.org/pipermail/users/attachments/20110323/4babd9c9/attachment.html 


More information about the Users mailing list