<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=Windows-1252">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.0.6603.0">
<TITLE>Trouble getting NAT-T patch to work</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>I am using Slackware 12.1 for my servers which runs Kernel 2.6.24.5.&nbsp; I have had no luck with the patch working, just get 6 hunk failures on udp.c.&nbsp; So i've downloaded kernels directly from kernel.org.&nbsp; the one i've had the most luck with is 2.6.19.&nbsp; I am also using openswan 2.6.19.&nbsp; Patch works fine.&nbsp; Recompile the kernel, no problem.&nbsp; go to make module in the openswan dir and i have problems.&nbsp; Maybe there is a recommended kernel to use?&nbsp; Below is the compile issues i had with make module.<BR>
<BR>
ln -s -f /usr/src/openswan-2.6.19/linux/net/ipsec/ipsec_xmit.c /usr/src/openswan-2.6.19/modobj26/ipsec_xmit.c<BR>
<BR>
&nbsp; CC [M]&nbsp; /usr/src/openswan-2.6.19/modobj26/ipsec_xmit.o<BR>
<BR>
/usr/src/openswan-2.6.19/modobj26/ipsec_xmit.c: In function 'ipsec_xmit_esp':<BR>
<BR>
/usr/src/openswan-2.6.19/modobj26/ipsec_xmit.c:729: warning: implicit declaration of function 'skb_set_transport_header'<BR>
<BR>
/usr/src/openswan-2.6.19/modobj26/ipsec_xmit.c: In function 'ipsec_xmit_cont':<BR>
<BR>
/usr/src/openswan-2.6.19/modobj26/ipsec_xmit.c:1072: warning: implicit declaration of function 'skb_set_network_header'<BR>
<BR>
/usr/src/openswan-2.6.19/modobj26/ipsec_xmit.c: In function 'ipsec_xmit_send':<BR>
<BR>
/usr/src/openswan-2.6.19/modobj26/ipsec_xmit.c:2006: warning: passing argument 2 of 'ip_route_output_key' from incompatible pointer type<BR>
<BR>
/usr/src/openswan-2.6.19/modobj26/ipsec_xmit.c:2046: warning: implicit declaration of function 'skb_network_header'<BR>
<BR>
/usr/src/openswan-2.6.19/modobj26/ipsec_xmit.c:2046: error: invalid operands to binary -<BR>
<BR>
/usr/src/openswan-2.6.19/modobj26/ipsec_xmit.c:2053: error: invalid operands to binary -<BR>
<BR>
/usr/src/openswan-2.6.19/modobj26/ipsec_xmit.c:2057: error: invalid operands to binary -<BR>
<BR>
make[3]: *** [/usr/src/openswan-2.6.19/modobj26/ipsec_xmit.o] Error 1<BR>
<BR>
make[2]: *** [_module_/usr/src/openswan-2.6.19/modobj26] Error 2<BR>
<BR>
make[2]: Leaving directory `/usr/src/linux-2.6.19'<BR>
<BR>
make[1]: *** [module26] Error 2<BR>
<BR>
make[1]: Leaving directory `/usr/src/openswan-2.6.19'<BR>
<BR>
make: *** [module] Error 2<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>