Hello friends,<br>
<br>
By following your steps i am getting following output ::<br>
<br>
debian:/home/software/openswan/openswan-2.4.6# make nattpatch > /usr/src/kernel-source-2.6.8/natt.patch<br>
debian:/home/software/openswan/openswan-2.4.6# cd /usr/src/kernel-source-2.6.8<br>
debian:/usr/src/kernel-source-2.6.8# patch -p1 -s < natt.patch<br>
<span style="background-color: rgb(255, 255, 204);">2 out of 9 hunks FAILED -- saving rejects to file net/ipv4/udp.c.rej</span><br>
<br>
Now as you have suggested i have also tried old version natt patches
but still in vain.. some of the failed outputs are as bellow.<br>
<br>
still waiting for your kind suggestions.. thank you.<br>
<br>
Ankur.<br>
<br>
Output of natt patch using 2.4.4 version :::<br>
<br>patch -Np1 -i /home/winner/openswan-2.4.4.kernel-2.6-natt.patch<br>
The next patch would create the file include/net/xfrmudp.h,<br>
which already exists! Skipping patch.<br>
1 out of 1 hunk ignored -- saving rejects to file include/net/xfrmudp.h.rej<br>
patching file net/ipv4/Kconfig<br>
Hunk #1 succeeded at 351 with fuzz 1.<br>
patching file net/ipv4/udp.c<br>
Hunk #3 succeeded at 930 (offset 33 lines).<br>
Hunk #4 succeeded at 973 with fuzz 1 (offset 33 lines).<br>
Hunk #5 FAILED at 987.<br>
Hunk #6 FAILED at 991.<br>
Hunk #7 FAILED at 1006.<br>
Hunk #8 FAILED at 1019.<br>
Hunk #9 succeeded at 1028 (offset 33 lines).<br>
Hunk #10 FAILED at 1093.<br>
Hunk #11 succeeded at 1651 with fuzz 1 (offset 32 lines).<br>
5 out of 11 hunks FAILED -- saving rejects to file net/ipv4/udp.c.rej<br>
<br><div><span class="gmail_quote">On 10/20/06, <b class="gmail_sendername">Paul Wouters</b> <<a href="mailto:paul@xelerance.com">paul@xelerance.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Fri, 20 Oct 2006, conn intel wrote:<br><br>> While applying the patch for NAT-T i found the following output. I want to<br>> know is there any problem with the failed hunk please ? or what should i<br>> have to do to apply patch successfully.
<br><br>failed hunks are bad.<br><br>try this:<br><br>export KERNELSRC=/usr/src/kernel-source-2.6.8<br>cd /home/software/openswan/openswan-2.4.6<br>make natt-patch > /usr/src/kernel-source-2.6.8/natt.patch<br>cd /usr/src/kernel-
source-2.6.8<br>patch -p1 -s < natt.patch<br><br>If that fails, try an older nat-t patch<br><br>Paul<br>--<br>Building and integrating Virtual Private Networks with Openswan:<br><a href="http://www.amazon.com/gp/product/1904811256/104-3099591-2946327?n=283155">
http://www.amazon.com/gp/product/1904811256/104-3099591-2946327?n=283155</a><br></blockquote></div><br>