[Openswan Users] Failed Hunk NAT-T patch

conn intel connintel at gmail.com
Fri Oct 20 10:48:10 EDT 2006


Hello friends,

By following your steps i am getting following output ::

debian:/home/software/openswan/openswan-2.4.6# make nattpatch >
/usr/src/kernel-source-2.6.8/natt.patch
debian:/home/software/openswan/openswan-2.4.6# cd /usr/src/kernel-
source-2.6.8
debian:/usr/src/kernel-source-2.6.8# patch -p1 -s < natt.patch
2 out of 9 hunks FAILED -- saving rejects to file net/ipv4/udp.c.rej

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.

still waiting for your kind suggestions.. thank you.

Ankur.

Output of natt patch using 2.4.4 version :::

patch -Np1 -i /home/winner/openswan-2.4.4.kernel-2.6-natt.patch
The next patch would create the file include/net/xfrmudp.h,
which already exists!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file include/net/xfrmudp.h.rej
patching file net/ipv4/Kconfig
Hunk #1 succeeded at 351 with fuzz 1.
patching file net/ipv4/udp.c
Hunk #3 succeeded at 930 (offset 33 lines).
Hunk #4 succeeded at 973 with fuzz 1 (offset 33 lines).
Hunk #5 FAILED at 987.
Hunk #6 FAILED at 991.
Hunk #7 FAILED at 1006.
Hunk #8 FAILED at 1019.
Hunk #9 succeeded at 1028 (offset 33 lines).
Hunk #10 FAILED at 1093.
Hunk #11 succeeded at 1651 with fuzz 1 (offset 32 lines).
5 out of 11 hunks FAILED -- saving rejects to file net/ipv4/udp.c.rej

On 10/20/06, Paul Wouters <paul at xelerance.com> wrote:
>
> On Fri, 20 Oct 2006, conn intel wrote:
>
> > While applying the patch for NAT-T i found the following output. I want
> to
> > know is there any problem with the failed hunk please ? or what should i
> > have to do to apply patch successfully.
>
> failed hunks are bad.
>
> try this:
>
> export KERNELSRC=/usr/src/kernel-source-2.6.8
> cd /home/software/openswan/openswan-2.4.6
> make natt-patch > /usr/src/kernel-source-2.6.8/natt.patch
> cd /usr/src/kernel-source-2.6.8
> patch -p1 -s < natt.patch
>
> If that fails, try an older nat-t patch
>
> Paul
> --
> Building and integrating Virtual Private Networks with Openswan:
> http://www.amazon.com/gp/product/1904811256/104-3099591-2946327?n=283155
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openswan.org/pipermail/users/attachments/20061020/8116f8f0/attachment.html 


More information about the Users mailing list